mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 18:08:40 +02:00
nir: fix nir_is_io_compact for mesh shaders
cc: mesa-stable
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
(cherry picked from commit e604a8f617)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40488>
This commit is contained in:
parent
ac750a1e3c
commit
3dea1bd33d
2 changed files with 3 additions and 3 deletions
|
|
@ -1564,7 +1564,7 @@
|
|||
"description": "nir: fix nir_is_io_compact for mesh shaders",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -77,8 +77,8 @@ is_compact(nir_shader *nir, bool is_output, unsigned location)
|
|||
location == VARYING_SLOT_CLIP_DIST1 ||
|
||||
location == VARYING_SLOT_CULL_DIST0 ||
|
||||
location == VARYING_SLOT_CULL_DIST1 ||
|
||||
location == VARYING_SLOT_TESS_LEVEL_OUTER ||
|
||||
location == VARYING_SLOT_TESS_LEVEL_INNER);
|
||||
(nir->info.stage != MESA_SHADER_MESH && location == VARYING_SLOT_TESS_LEVEL_OUTER) ||
|
||||
(nir->info.stage != MESA_SHADER_MESH && location == VARYING_SLOT_TESS_LEVEL_INNER));
|
||||
}
|
||||
|
||||
/* Get information about the intrinsic. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue