2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00
yuzu/src
Jannik Vogel 925724c990 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]).
2017-05-11 15:01:27 +02:00
..
audio_core Doxygen: Amend minor issues (#2593) 2017-02-26 17:58:51 -08:00
citra input_common/sdl: add support for binding button to axis 2017-04-17 14:14:35 +03:00
citra_qt Merge pull request #2682 from nicoboss/filter 2017-05-07 13:46:46 -07:00
common Merge pull request #2512 from SonofUgly/custom-layout 2017-03-21 22:57:31 -04:00
core Create a random console_unique_id (#2668) 2017-05-05 20:55:51 -04:00
input_common input_common/sdl: add support for binding button to axis 2017-04-17 14:14:35 +03:00
tests Common: add ParamPackage 2017-03-01 23:30:57 +02:00
video_core Pica: Set program code / swizzle data limit to 4096 2017-05-11 15:01:27 +02:00
.clang-format
CMakeLists.txt InputCommon: add Keyboard 2017-03-01 23:30:57 +02:00