From 5bd48ff252d5ca91dcf8e23bdbb620c319a9be54 Mon Sep 17 00:00:00 2001 From: Caio Marcelo de Oliveira Filho Date: Tue, 11 Jun 2019 20:07:32 -0700 Subject: [PATCH] iris: Enable INTEL_shader_atomic_float_minmax Supported only for gen >= 9. Reviewed-by: Kenneth Graunke Reviewed-by: Ian Romanick --- src/gallium/drivers/iris/iris_screen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c index d9d70fcc89b..705abe82645 100644 --- a/src/gallium/drivers/iris/iris_screen.c +++ b/src/gallium/drivers/iris/iris_screen.c @@ -203,6 +203,7 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_SHADER_STENCIL_EXPORT: case PIPE_CAP_DEPTH_CLIP_DISABLE_SEPARATE: case PIPE_CAP_FRAGMENT_SHADER_INTERLOCK: + case PIPE_CAP_ATOMIC_FLOAT_MINMAX: return devinfo->gen >= 9; case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS: return 1; -- 2.30.2