From: Dave Airlie Date: Thu, 8 Nov 2018 00:38:48 +0000 (+1000) Subject: iris: setup gen8 caps X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8806b29e1607a718429976b2f62172ff54c49e1c;p=mesa.git iris: setup gen8 caps --- diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c index 3b390e65173..1976f6e949e 100644 --- a/src/gallium/drivers/iris/iris_screen.c +++ b/src/gallium/drivers/iris/iris_screen.c @@ -157,12 +157,10 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_TEXTURE_FLOAT_LINEAR: case PIPE_CAP_TEXTURE_HALF_FLOAT_LINEAR: case PIPE_CAP_POLYGON_OFFSET_CLAMP: - case PIPE_CAP_POST_DEPTH_COVERAGE: case PIPE_CAP_QUERY_SO_OVERFLOW: case PIPE_CAP_QUERY_BUFFER_OBJECT: case PIPE_CAP_TGSI_TEX_TXF_LZ: case PIPE_CAP_TGSI_TXQS: - case PIPE_CAP_TGSI_FS_FBFETCH: case PIPE_CAP_TGSI_CLOCK: case PIPE_CAP_TGSI_BALLOT: case PIPE_CAP_MULTISAMPLE_Z_RESOLVE: @@ -172,10 +170,12 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_TEXTURE_GATHER_SM5: case PIPE_CAP_TGSI_ARRAY_COMPONENTS: case PIPE_CAP_GLSL_TESS_LEVELS_AS_INPUTS: - case PIPE_CAP_SHADER_STENCIL_EXPORT: case PIPE_CAP_LOAD_CONSTBUF: return true; - + case PIPE_CAP_TGSI_FS_FBFETCH: + case PIPE_CAP_POST_DEPTH_COVERAGE: + case PIPE_CAP_SHADER_STENCIL_EXPORT: + return devinfo->gen >= 9; case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS: return 1; case PIPE_CAP_MAX_RENDER_TARGETS: