From: Kenneth Graunke Date: Wed, 20 Jun 2018 04:46:56 +0000 (-0700) Subject: iris: fix caps so tests run again X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a7770501a76680143713b3e123a181936956603a;p=mesa.git iris: fix caps so tests run again --- diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c index 9a1ad684fbf..f954b9191fb 100644 --- a/src/gallium/drivers/iris/iris_screen.c +++ b/src/gallium/drivers/iris/iris_screen.c @@ -163,6 +163,7 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_CONSERVATIVE_RASTER_PRE_SNAP_POINTS_LINES: case PIPE_CAP_MAX_CONSERVATIVE_RASTER_SUBPIXEL_PRECISION_BIAS: case PIPE_CAP_CONSERVATIVE_RASTER_POST_DEPTH_COVERAGE: + case PIPE_CAP_PROGRAMMABLE_SAMPLE_LOCATIONS: return false; case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS: @@ -188,6 +189,8 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return BRW_MAX_SOL_BINDINGS; case PIPE_CAP_GLSL_FEATURE_LEVEL: return 460; + case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY: + return 140; case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT: /* 3DSTATE_CONSTANT_XS requires the start of UBOs to be 32B aligned */ return 32;