summaryrefslogtreecommitdiff
path: root/src/citra_qt/debugger/disassembler.cpp
diff options
context:
space:
mode:
authorJannik Vogel <email@jannikvogel.de>2017-05-08 23:37:38 +0200
committerJannik Vogel <email@jannikvogel.de>2017-05-11 15:01:27 +0200
commit925724c9900e357e8621a7a592be189cb4141ed8 (patch)
tree3573cc8486e0768bbb5fda1bf5f933210c9a26e3 /src/citra_qt/debugger/disassembler.cpp
parente33558c6ce38dac56ec66d2d65e51d4dee0b9840 (diff)
Pica: Set program code / swizzle data limit to 4096
One of the later commits will enable writing to GS regs. It turns out that on startup, most games will write 4096 GS program words. The current limit of 1024 would hence result in 3072 (4096 - 1024) error messages: ``` HW.GPU <Error> video_core/shader/shader.cpp:WriteProgramCode:229: Invalid GS program offset 1024 ``` New constants have been introduced to represent these limits. The swizzle data size has also been raised. This matches the given field sizes of [GPUREG_SH_OPDESCS_INDEX](https://3dbrew.org/wiki/GPU/Internal_Registers#GPUREG_SH_OPDESCS_INDEX) and [GPUREG_SH_CODETRANSFER_INDEX](https://www.3dbrew.org/wiki/GPU/Internal_Registers#GPUREG_SH_CODETRANSFER_INDEX) (12 bit = [0; 4095]).
Diffstat (limited to 'src/citra_qt/debugger/disassembler.cpp')
0 files changed, 0 insertions, 0 deletions