From: Kristian H. Kristensen Date: Thu, 23 Apr 2020 18:34:31 +0000 (-0700) Subject: freedreno/ir3: Print @tex write mask using 0x%x X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf542484ea87290f57e67558bd6ace165d8eb4a2;p=mesa.git freedreno/ir3: Print @tex write mask using 0x%x That way we can parse it again with the assembler. Part-of: --- 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,