From c13f8ea8ac5fcf774fa90c79ca0145730c098109 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alejandro=20Pi=C3=B1eiro?= Date: Sat, 28 Oct 2017 11:27:17 +0200 Subject: [PATCH] i965: enable AtomicStorage capability for gen7+ That is the same gen requirement for ARB_shader_atomic_counters. Reviewed-by: Timothy Arceri --- 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 -- 2.30.2