From: Alejandro PiƱeiro Date: Sat, 28 Oct 2017 09:27:17 +0000 (+0200) Subject: i965: enable AtomicStorage capability for gen7+ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c13f8ea8ac5fcf774fa90c79ca0145730c098109;p=mesa.git i965: enable AtomicStorage capability for gen7+ That is the same gen requirement for ARB_shader_atomic_counters. Reviewed-by: Timothy Arceri --- 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