mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 10:40:11 +01:00
st/mesa: call nir_opt_intrinsics for the GL_SELECT shader
radeonsi may assert that this pass makes no progress. This is one place that should call the pass. Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38598>
This commit is contained in:
parent
eea5959a22
commit
2ea30edc70
1 changed files with 2 additions and 1 deletions
|
|
@ -647,7 +647,8 @@ hw_select_create_gs(struct st_context *st, union state_key state)
|
|||
UNREACHABLE("unexpected primitive");
|
||||
}
|
||||
|
||||
nir_lower_returns(nir);
|
||||
NIR_PASS(_, nir, nir_lower_returns);
|
||||
NIR_PASS(_, nir, nir_opt_intrinsics);
|
||||
|
||||
return st_nir_finish_builtin_shader(st, nir);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue