From 360feea99cc64a41bb4d2ac8d17e907cab7191e6 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Wed, 3 May 2023 18:31:38 +0200 Subject: [PATCH] llvmpipe: fixup refactor copypasta I accidentally set this state based on the wrong state when refactoring, whoops! Fixes: a1846e39269 ("llvmpipe: merge all rasterizer-bind functions") Reviewed-by: Mike Blumenkrantz Reviewed-by: Brian Paul Part-of: --- src/gallium/drivers/llvmpipe/lp_setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c index b909add2c3e..0dec767fe57 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup.c +++ b/src/gallium/drivers/llvmpipe/lp_setup.c @@ -599,7 +599,7 @@ lp_setup_bind_rasterizer(struct lp_setup_context *setup, setup->point_size = rast->point_size; setup->sprite_coord_enable = rast->sprite_coord_enable; setup->sprite_coord_origin = rast->sprite_coord_mode; - setup->point_tri_clip = rast->point_size_per_vertex; + setup->point_tri_clip = rast->point_tri_clip; setup->point_size_per_vertex = rast->point_size_per_vertex; setup->legacy_points = !rast->point_quad_rasterization && !setup->multisample; }