diff options
author | Kenneth Graunke <[email protected]> | 2018-06-23 17:30:18 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:07 -0800 |
commit | e67951227d5571e12e2f9ec80731a86a6719e8f7 (patch) | |
tree | 009a6cee0d89d2c69a829ec3e424935a7bfa4316 /src/gallium/drivers/iris/iris_screen.c | |
parent | 234cf647a45370fe495a24a7a16e5ee20c3735ef (diff) |
iris: Disable unsupported mirror clamp modes
Diffstat (limited to 'src/gallium/drivers/iris/iris_screen.c')
-rw-r--r-- | src/gallium/drivers/iris/iris_screen.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c index f954b9191fb..0e4ec8b1ddb 100644 --- a/src/gallium/drivers/iris/iris_screen.c +++ b/src/gallium/drivers/iris/iris_screen.c @@ -87,7 +87,7 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_OCCLUSION_QUERY: case PIPE_CAP_QUERY_TIME_ELAPSED: case PIPE_CAP_TEXTURE_SWIZZLE: - case PIPE_CAP_TEXTURE_MIRROR_CLAMP: + case PIPE_CAP_TEXTURE_MIRROR_CLAMP_TO_EDGE: case PIPE_CAP_BLEND_EQUATION_SEPARATE: case PIPE_CAP_SM3: case PIPE_CAP_PRIMITIVE_RESTART: @@ -166,6 +166,12 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_PROGRAMMABLE_SAMPLE_LOCATIONS: return false; + case PIPE_CAP_TEXTURE_MIRROR_CLAMP: + /* Intel GPUs don't support PIPE_TEX_WRAP_MIRROR_CLAMP or + * PIPE_TEX_WRAP_MIRROR_CLAMP_TO_BORDER. + */ + return false; + case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS: return 1; case PIPE_CAP_MAX_RENDER_TARGETS: |