mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
i915: Remove NIR_PASS_V and updated it to NIR_PASS
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35889>
This commit is contained in:
parent
debd903a00
commit
d455074cc8
2 changed files with 3 additions and 4 deletions
|
|
@ -193,8 +193,7 @@ i915_optimize_nir(struct nir_shader *s)
|
|||
do {
|
||||
progress = false;
|
||||
|
||||
NIR_PASS_V(s, nir_lower_vars_to_ssa);
|
||||
|
||||
NIR_PASS(progress, s, nir_lower_vars_to_ssa);
|
||||
NIR_PASS(progress, s, nir_copy_prop);
|
||||
NIR_PASS(progress, s, nir_opt_algebraic);
|
||||
NIR_PASS(progress, s, nir_opt_constant_folding);
|
||||
|
|
@ -233,7 +232,7 @@ i915_optimize_nir(struct nir_shader *s)
|
|||
/* Group texture loads together to try to avoid hitting the
|
||||
* texture indirection phase limit.
|
||||
*/
|
||||
NIR_PASS_V(s, nir_group_loads, nir_group_all, ~0);
|
||||
NIR_PASS(_, s, nir_group_loads, nir_group_all, ~0);
|
||||
}
|
||||
|
||||
static char *
|
||||
|
|
|
|||
|
|
@ -672,7 +672,7 @@ i915_create_vs_state(struct pipe_context *pipe,
|
|||
if (templ->type == PIPE_SHADER_IR_NIR) {
|
||||
nir_shader *s = templ->ir.nir;
|
||||
|
||||
NIR_PASS_V(s, nir_lower_point_size, 1.0, 255.0);
|
||||
NIR_PASS(_, s, nir_lower_point_size, 1.0, 255.0);
|
||||
|
||||
/* The gallivm draw path doesn't support non-native-integers NIR shaders,
|
||||
* st/mesa does native-integers for the screen as a whole rather than
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue