mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 22:20:27 +01:00
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:
parent
1b6da4ed52
commit
11faa02ec4
2 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue