r600: print texture resource index mode separately

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25159>
This commit is contained in:
Gert Wollny 2023-09-11 16:25:58 +02:00 committed by Marge Bot
parent 3a307e2248
commit f16582b654

View file

@ -2508,12 +2508,17 @@ void r600_bytecode_disasm(struct r600_bytecode *bc)
o += print_swizzle(tex->src_sel_z);
o += print_swizzle(tex->src_sel_w);
o += fprintf(stderr, ", RID:%d", tex->resource_id);
o += fprintf(stderr, ", RID:%d ", tex->resource_id);
if (tex->resource_index_mode)
fprintf(stderr, "RQ_%s", index_mode[tex->resource_index_mode]);
o += fprintf(stderr, ", SID:%d ", tex->sampler_id);
if (tex->sampler_index_mode)
fprintf(stderr, "SQ_%s ", index_mode[tex->sampler_index_mode]);
if (tex->lod_bias)
fprintf(stderr, "LB:%d ", tex->lod_bias);