aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno
diff options
context:
space:
mode:
authorKristian H. Kristensen <[email protected]>2020-04-23 11:34:31 -0700
committerMarge Bot <[email protected]>2020-04-25 00:03:43 +0000
commitbf542484ea87290f57e67558bd6ace165d8eb4a2 (patch)
tree59f5642b07e99a4935cbc73cf7be2d0f024e252d /src/freedreno
parentc801228f0d0567842d20da655e252c1e617b963a (diff)
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>
Diffstat (limited to 'src/freedreno')
-rw-r--r--src/freedreno/ir3/ir3_shader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freedreno/ir3/ir3_shader.c b/src/freedreno/ir3/ir3_shader.c
index 80a56a53aa9..1624b889ae0 100644
--- a/src/freedreno/ir3/ir3_shader.c
+++ b/src/freedreno/ir3/ir3_shader.c
@@ -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,