Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com>

On 30/06/18 00:29, Alejandro Piñeiro wrote:
That is the same gen requirement for ARB_shader_atomic_counters.
---
  src/mesa/drivers/dri/i965/brw_context.c | 1 +
  1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/brw_context.c 
b/src/mesa/drivers/dri/i965/brw_context.c
index 9ced230ec14..e755de6241a 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -363,6 +363,7 @@ brw_initialize_spirv_supported_capabilities(struct 
brw_context *brw)
     ctx->Const.SpirVCapabilities.draw_parameters = true;
     ctx->Const.SpirVCapabilities.image_write_without_format = true;
     ctx->Const.SpirVCapabilities.variable_pointers = true;
+   ctx->Const.SpirVCapabilities.atomic_storage = devinfo->gen >= 7;
  }
static void

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to