[Mesa-dev] [PATCH 17/18] i965: enable AtomicStorage capability for gen7+
Timothy Arceri
tarceri at itsqueeze.com
Sat Jun 30 07:02:48 UTC 2018
Reviewed-by: Timothy Arceri <tarceri at 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
>
More information about the mesa-dev
mailing list