From: Erik Faye-Lund Date: Thu, 31 Oct 2019 19:05:58 +0000 (+0100) Subject: zink: disable fragment-shader texture-lod X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b385ad0c75cf7288b278402d23e35267492e8dda;p=mesa.git 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") --- 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;