diff options
author | Rob Clark <[email protected]> | 2018-04-06 15:06:36 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2018-04-09 15:36:21 -0400 |
commit | becf2d1faccf7dc78ea1d25e756d42e678a5b8ad (patch) | |
tree | 97480673bbe0c7e31ead6dfd49336c28ec6a6a1a /src/mesa | |
parent | c4457113e9327ce16e56fbf5a38a694e04849ab3 (diff) |
mesa/st/nir: fix naked lowering pass call
Not using the macro means no nir_validate in debug builds, resulting in
problems showing up only after later passes.
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_nir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_nir.cpp b/src/mesa/state_tracker/st_glsl_to_nir.cpp index f2d4b184d67..a5a284fb22a 100644 --- a/src/mesa/state_tracker/st_glsl_to_nir.cpp +++ b/src/mesa/state_tracker/st_glsl_to_nir.cpp @@ -645,7 +645,7 @@ st_link_nir(struct gl_context *ctx, mask = (nir_variable_mode)(mask | nir_var_shader_out); nir_shader *nir = shader->Program->nir; - nir_lower_io_to_scalar_early(nir, mask); + NIR_PASS_V(nir, nir_lower_io_to_scalar_early, mask); st_nir_opts(nir); } |