From 0477ee660f20964d5550dbcb147fc5899bef229f Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Mon, 24 Feb 2025 10:12:17 -0800 Subject: [PATCH] iris: Correctly set NOS for geometry shader state changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Tapani Pälli Backport-to: 25.0 Part-of: --- src/gallium/drivers/iris/iris_program.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gallium/drivers/iris/iris_program.c b/src/gallium/drivers/iris/iris_program.c index 078514075fb..2984d4ec386 100644 --- a/src/gallium/drivers/iris/iris_program.c +++ b/src/gallium/drivers/iris/iris_program.c @@ -3486,9 +3486,7 @@ iris_create_shader_state(struct pipe_context *ctx, break; case MESA_SHADER_GEOMETRY: - /* User clip planes */ - if (info->clip_distance_array_size == 0) - ish->nos |= (1ull << IRIS_NOS_RASTERIZER); + ish->nos |= (1ull << IRIS_NOS_RASTERIZER); key.gs = (struct iris_gs_prog_key) { KEY_INIT(vue.base) }; key_size = sizeof(key.gs);