From e51680f0dc8abf7c9b00dcd23e8e8fee65141fcf Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Tue, 3 Aug 2021 16:58:57 +0200 Subject: [PATCH] shader: LOD for TXQ is in the x component Closes: #238 Signed-off-by: Gert Wollny Reviewed-by: Emma Anholt --- src/vrend_shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vrend_shader.c b/src/vrend_shader.c index 19089c2..142e1f8 100644 --- a/src/vrend_shader.c +++ b/src/vrend_shader.c @@ -2348,7 +2348,7 @@ static void emit_txq(struct dump_ctx *ctx, case TGSI_TEXTURE_2D_ARRAY_MSAA: break; default: - snprintf(bias, 128, ", int(%s.w)", srcs[0]); + snprintf(bias, 128, ", int(%s.x)", srcs[0]); } /* need to emit a textureQueryLevels */