llvmpipe: fixup refactor copypasta
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 3 May 2023 16:31:38 +0000 (18:31 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 4 May 2023 06:47:03 +0000 (06:47 +0000)
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 <michael.blumenkrantz@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22832>

src/gallium/drivers/llvmpipe/lp_setup.c

index b909add..0dec767 100644 (file)
@@ -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;
 }