diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-03-23 10:28:03 -0700 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-06-19 22:07:57 -0700 |
commit | 9b0720c436b208b410a42f0026a5b3f90af7cfad (patch) | |
tree | 19f541b51b0d2aba859a753cbea62c0bd394d9f6 | |
parent | 12131096fa421952fd198b1edb5bf5865803b8eb (diff) |
glspirv: Call pass to lower frexp instructions
These were previously handled by the spirv_to_nir, but that changed to
be an explict pass in 23d30f4099f "spirv,nir: lower
frexp_exp/frexp_sig inside a new NIR pass"
Reviewed-by: Jason Ekstrand <[email protected]>
-rw-r--r-- | src/mesa/main/glspirv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/glspirv.c b/src/mesa/main/glspirv.c index bb5a3f7452b..9faaad33628 100644 --- a/src/mesa/main/glspirv.c +++ b/src/mesa/main/glspirv.c @@ -262,6 +262,8 @@ _mesa_spirv_to_nir(struct gl_context *ctx, if (nir->info.stage == MESA_SHADER_VERTEX) nir_remap_dual_slot_attributes(nir, &linked_shader->Program->DualSlotInputs); + NIR_PASS_V(nir, nir_lower_frexp); + return nir; } |