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

Alejandro PiƱeiro apinheiro at igalia.com
Mon Jul 2 14:58:43 UTC 2018


From: Antia Puentes <apuentes at igalia.com>

This will perform the CS shared lowering. See 8761a04d0d93

Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
---
 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