summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Piñeiro <[email protected]>2017-10-28 11:27:17 +0200
committerAlejandro Piñeiro <[email protected]>2018-07-03 12:41:46 +0200
commitc13f8ea8ac5fcf774fa90c79ca0145730c098109 (patch)
tree05762e4fa87166a609dead16140dbf323396ba53
parent7600678216d16909ea4237e84f37a0e3713d790b (diff)
i965: enable AtomicStorage capability for gen7+
That is the same gen requirement for ARB_shader_atomic_counters. Reviewed-by: Timothy Arceri <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.c1
1 files changed, 1 insertions, 0 deletions
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