mesa/glspirv: lower workgroup access to offsets
authorAntia Puentes <apuentes@igalia.com>
Wed, 14 Feb 2018 11:58:33 +0000 (12:58 +0100)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 3 Jul 2018 10:41:46 +0000 (12:41 +0200)
This will perform the CS shared lowering. See 8761a04d0d93

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/main/glspirv.c

index c585bc51bbf7afa7ee7139a07aa5bb9f174814ff..8ad6c3739148b3e24ae921400af1007e098dc405 100644 (file)
@@ -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
    };