From bf542484ea87290f57e67558bd6ace165d8eb4a2 Mon Sep 17 00:00:00 2001 From: "Kristian H. Kristensen" Date: Thu, 23 Apr 2020 11:34:31 -0700 Subject: [PATCH] freedreno/ir3: Print @tex write mask using 0x%x That way we can parse it again with the assembler. Part-of: --- src/freedreno/ir3/ir3_shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.30.2