iris: Enable fragment shader interlock on Gen9+.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 11 May 2019 01:34:25 +0000 (18:34 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 15 May 2019 02:34:33 +0000 (19:34 -0700)
There's some debate about whether we should support this on older
hardware as well.  Currently i965 turns it off on Gen8- though, so
we follow suit.  If this changes, we can update this as well.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/iris/iris_screen.c

index e01fd1b74aac32ebba707ce6cb1e9ecba9632a79..f77b30e7789621144489889aa5e21c5cb12ddc49 100644 (file)
@@ -197,6 +197,7 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
    case PIPE_CAP_POST_DEPTH_COVERAGE:
    case PIPE_CAP_SHADER_STENCIL_EXPORT:
    case PIPE_CAP_DEPTH_CLIP_DISABLE_SEPARATE:
+   case PIPE_CAP_FRAGMENT_SHADER_INTERLOCK:
       return devinfo->gen >= 9;
    case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS:
       return 1;