projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d7aa22
)
afuc: Fix writing $00
author
Connor Abbott
<cwabbott0@gmail.com>
Tue, 27 Jun 2023 14:22:01 +0000
(16:22 +0200)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 28 Jul 2023 18:41:58 +0000
(18:41 +0000)
This is valid and should do nothing. Don't make the PC overlap $00 in
the reg file, so that we can print out "writes" to $00 but they're still
discarded.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23949>
src/freedreno/afuc/emu.h
patch
|
blob
|
history
diff --git
a/src/freedreno/afuc/emu.h
b/src/freedreno/afuc/emu.h
index
1ff84c7
..
111b44b
100644
(file)
--- a/
src/freedreno/afuc/emu.h
+++ b/
src/freedreno/afuc/emu.h
@@
-35,10
+35,8
@@
struct emu_gpr_regs {
BITSET_DECLARE(written, EMU_NUM_GPR_REGS);
- union {
- uint32_t pc;
- uint32_t val[EMU_NUM_GPR_REGS];
- };
+ uint32_t pc;
+ uint32_t val[EMU_NUM_GPR_REGS];
};
#define EMU_NUM_CONTROL_REGS 0x1000