iris: Correctly set NOS for geometry shader state changes

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Backport-to: 25.0
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33658>
(cherry picked from commit 0477ee660f)
This commit is contained in:
Dylan Baker 2025-02-24 10:12:17 -08:00 committed by Eric Engestrom
parent 1b6da4ed52
commit 11faa02ec4
2 changed files with 2 additions and 4 deletions

View file

@ -1474,7 +1474,7 @@
"description": "iris: Correctly set NOS for geometry shader state changes",
"nominated": true,
"nomination_type": 4,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -3496,9 +3496,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);