diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-08-08 10:55:50 -0700 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-08-10 22:15:35 -0700 |
commit | 925e9142bdd119bf371dbad2ec32e0c161e583e0 (patch) | |
tree | 24a94bb81d602a08d0a7c1731453c41048c9d210 /src/mesa/main | |
parent | 61d6be84f3e06fd8d0a4c958bb9c5a0f834313fa (diff) |
i965/spirv: Lower shared memory later
Instead of asking spirv_to_nir to lower the workgroup (shared memory)
to offsets, keep them as derefs longer, then lower it later on.
Because Workgroup memory doesn't have explicit offsets, we need to set
those using nir_lower_vars_to_explicit_types before calling the I/O
lowering pass.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/glspirv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/glspirv.c b/src/mesa/main/glspirv.c index 1e1540e570b..08886954d33 100644 --- a/src/mesa/main/glspirv.c +++ b/src/mesa/main/glspirv.c @@ -245,7 +245,6 @@ _mesa_spirv_to_nir(struct gl_context *ctx, const struct spirv_to_nir_options spirv_options = { .environment = NIR_SPIRV_OPENGL, - .lower_workgroup_access_to_offsets = true, .frag_coord_is_sysval = ctx->Const.GLSLFragCoordIsSysVal, .caps = ctx->Const.SpirVCapabilities, .ubo_addr_format = nir_address_format_32bit_index_offset, |