shader: LOD for TXQ is in the x component

Closes: #238
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
macos/master
Gert Wollny 3 years ago
parent 55de875721
commit e51680f0dc
  1. 2
      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 */

Loading…
Cancel
Save