[Mesa-dev] [PATCH 16/18] mesa/glspirv: lower workgroup access to offsets

Alejandro PiƱeiro apinheiro at igalia.com
Fri Jun 29 14:29:02 UTC 2018


From: Antia Puentes <apuentes at igalia.com>

This will perform the CS shared lowering. See 8761a04d0d93
---
 src/mesa/main/glspirv.c | 1 +
 1 file changed, 1 insertion(+)

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
    };
 
-- 
2.14.1



More information about the mesa-dev mailing list