From b385ad0c75cf7288b278402d23e35267492e8dda Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Thu, 31 Oct 2019 20:05:58 +0100 Subject: [PATCH] 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 Fixes: 8d46e35d16e ("zink: introduce opengl over vulkan") --- src/gallium/drivers/zink/zink_screen.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.30.2