summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/glspirv.c
diff options
context:
space:
mode:
authorAntia Puentes <[email protected]>2018-02-14 12:58:33 +0100
committerAlejandro PiƱeiro <[email protected]>2018-07-03 12:41:46 +0200
commit7600678216d16909ea4237e84f37a0e3713d790b (patch)
treec10817fdf2aba4d7be7cf56f44460b68010af1c5 /src/mesa/main/glspirv.c
parentfbcebfc5bf191f6018a8e17ca26e47cbfdf5e40c (diff)
mesa/glspirv: lower workgroup access to offsets
This will perform the CS shared lowering. See 8761a04d0d93 Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/glspirv.c')
-rw-r--r--src/mesa/main/glspirv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/glspirv.c b/src/mesa/main/glspirv.c
index c585bc51bbf..8ad6c373914 100644
--- a/src/mesa/main/glspirv.c
+++ b/src/mesa/main/glspirv.c
@@ -206,6 +206,7 @@ _mesa_spirv_to_nir(struct gl_context *ctx,
}
const struct spirv_to_nir_options spirv_options = {
+ .lower_workgroup_access_to_offsets = true,
.caps = ctx->Const.SpirVCapabilities
};