mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 16:50:10 +01:00
pan/bi: Print tex_compact coordinates
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4671>
This commit is contained in:
parent
902c8731f4
commit
6fe41a12e3
1 changed files with 7 additions and 0 deletions
|
|
@ -1395,6 +1395,13 @@ static void dump_add(FILE *fp, uint64_t word, struct bifrost_regs regs,
|
|||
int tex_index;
|
||||
int sampler_index;
|
||||
bool dualTex = false;
|
||||
|
||||
fprintf(fp, "coords <");
|
||||
dump_src(fp, ADD.src0, regs, consts, false);
|
||||
fprintf(fp, ", ");
|
||||
dump_src(fp, ADD.op & 0x7, regs, consts, false);
|
||||
fprintf(fp, ">, ");
|
||||
|
||||
if (info.src_type == ADD_TEX_COMPACT) {
|
||||
tex_index = (ADD.op >> 3) & 0x7;
|
||||
sampler_index = (ADD.op >> 7) & 0x7;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue