diff options
author | Kenneth Graunke <[email protected]> | 2019-04-29 13:25:12 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-04-29 13:25:12 -0700 |
commit | f3bdffc33db3b95b87d3f1c29bbf52439ef7d8c4 (patch) | |
tree | 5e174eac88ec3b97807f13da78c1f7e825d460df /src | |
parent | dcfca0af7c5c2938d01abd7374b57ab242715508 (diff) |
iris: Only enable GL_AMD_depth_clamp_separate on Gen9+
The hardware feature is new as of Gen9+. I accidentally enabled it on
Gen8.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/iris/iris_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c index 295974910b4..5b321a6f862 100644 --- a/src/gallium/drivers/iris/iris_screen.c +++ b/src/gallium/drivers/iris/iris_screen.c @@ -116,7 +116,6 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_TGSI_FS_COORD_ORIGIN_UPPER_LEFT: case PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER: case PIPE_CAP_DEPTH_CLIP_DISABLE: - case PIPE_CAP_DEPTH_CLIP_DISABLE_SEPARATE: case PIPE_CAP_TGSI_INSTANCEID: case PIPE_CAP_VERTEX_ELEMENT_INSTANCE_DIVISOR: case PIPE_CAP_MIXED_COLORBUFFER_FORMATS: @@ -185,6 +184,7 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_TGSI_FS_FBFETCH: case PIPE_CAP_POST_DEPTH_COVERAGE: case PIPE_CAP_SHADER_STENCIL_EXPORT: + case PIPE_CAP_DEPTH_CLIP_DISABLE_SEPARATE: return devinfo->gen >= 9; case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS: return 1; |