mesa/glspirv: lower workgroup access to offsets

This will perform the CS shared lowering. See 8761a04d0d

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
Antia Puentes 2018-02-14 12:58:33 +01:00 committed by Alejandro Piñeiro
parent fbcebfc5bf
commit 7600678216

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