mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
zink: use outputs_written mask to detect edge flag usage
fixes lowered io Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28466>
This commit is contained in:
parent
b8bf82133a
commit
23ce5696d6
1 changed files with 1 additions and 1 deletions
|
|
@ -5436,7 +5436,7 @@ zink_shader_create(struct zink_screen *screen, struct nir_shader *nir)
|
|||
bool have_psiz = false;
|
||||
|
||||
ret->has_edgeflags = nir->info.stage == MESA_SHADER_VERTEX &&
|
||||
nir_find_variable_with_location(nir, nir_var_shader_out, VARYING_SLOT_EDGE);
|
||||
nir->info.outputs_written & VARYING_BIT_EDGE;
|
||||
|
||||
ret->sinfo.have_vulkan_memory_model = screen->info.have_KHR_vulkan_memory_model;
|
||||
ret->sinfo.have_workgroup_memory_explicit_layout = screen->info.have_KHR_workgroup_memory_explicit_layout;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue