projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c801228
)
freedreno/ir3: Print @tex write mask using 0x%x
author
Kristian H. Kristensen
<hoegsberg@google.com>
Thu, 23 Apr 2020 18:34:31 +0000
(11:34 -0700)
committer
Marge Bot
<eric+marge@anholt.net>
Sat, 25 Apr 2020 00:03:43 +0000
(
00:03
+0000)
That way we can parse it again with the assembler.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4741>
src/freedreno/ir3/ir3_shader.c
patch
|
blob
|
history
diff --git
a/src/freedreno/ir3/ir3_shader.c
b/src/freedreno/ir3/ir3_shader.c
index 80a56a53aa9dad88e4b1cbd6c98ee4dfa16b9c6e..1624b889ae09ec24d34b5e164d7903c2c52c2ffa 100644
(file)
--- 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,