diff options
author | Erik Faye-Lund <[email protected]> | 2019-10-31 20:05:58 +0100 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2019-11-06 11:37:36 +0000 |
commit | b385ad0c75cf7288b278402d23e35267492e8dda (patch) | |
tree | c9e7146e2abea7eeb5ad45ac5854367730b173ff /src | |
parent | aa64b6dc7f67852bf2a197c00232a28d812d5563 (diff) |
zink: disable fragment-shader texture-lod
We don't support nir_texop_txd, which is required by this cap. So let's
disable it for now.
Signed-off-by: Erik Faye-Lund <[email protected]>
Fixes: 8d46e35d16e ("zink: introduce opengl over vulkan")
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/zink/zink_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c index 2cde08abd06..7addb9d9660 100644 --- a/src/gallium/drivers/zink/zink_screen.c +++ b/src/gallium/drivers/zink/zink_screen.c @@ -125,6 +125,8 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return 1; case PIPE_CAP_FRAGMENT_SHADER_TEXTURE_LOD: + return 0; /* TODO: re-enable after implementing nir_texop_txd */ + case PIPE_CAP_FRAGMENT_SHADER_DERIVATIVES: case PIPE_CAP_VERTEX_SHADER_SATURATE: return 1; |