freedreno/ir3: Print @tex write mask using 0x%x
That way we can parse it again with the assembler. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4741>
This commit is contained in:
committed by
Marge Bot
parent
c801228f0d
commit
bf542484ea
@@ -454,7 +454,7 @@ ir3_shader_disasm(struct ir3_shader_variant *so, uint32_t *bin, FILE *out)
|
||||
/* print pre-dispatch texture fetches: */
|
||||
for (i = 0; i < so->num_sampler_prefetch; i++) {
|
||||
const struct ir3_sampler_prefetch *fetch = &so->sampler_prefetch[i];
|
||||
fprintf(out, "@tex(%sr%d.%c)\tsrc=%u, samp=%u, tex=%u, wrmask=%x, cmd=%u\n",
|
||||
fprintf(out, "@tex(%sr%d.%c)\tsrc=%u, samp=%u, tex=%u, wrmask=0x%x, cmd=%u\n",
|
||||
fetch->half_precision ? "h" : "",
|
||||
fetch->dst >> 2, "xyzw"[fetch->dst & 0x3],
|
||||
fetch->src, fetch->samp_id, fetch->tex_id,
|
||||
|
||||
Reference in New Issue
Block a user