Lime3DS/src/video_core/shader
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
..
debug_data.h VideoCore/Shader: Extract DebugData out from UnitState 2016-12-16 00:16:25 -08:00
shader_interpreter.cpp Pica: Set program code / swizzle data limit to 4096 2017-05-11 15:01:27 +02:00
shader_interpreter.h Doxygen: Amend minor issues (#2593) 2017-02-26 17:58:51 -08:00
shader_jit_x64_compiler.cpp Pica: Set program code / swizzle data limit to 4096 2017-05-11 15:01:27 +02:00
shader_jit_x64_compiler.h Pica: Set program code / swizzle data limit to 4096 2017-05-11 15:01:27 +02:00
shader_jit_x64.cpp Pica: Set program code / swizzle data limit to 4096 2017-05-11 15:01:27 +02:00
shader_jit_x64.h VideoCore/Shader: Move entry_point to SetupBatch 2017-01-25 18:53:25 -08:00
shader.cpp Merge pull request #2550 from yuriks/pica-refactor2 2017-02-12 12:33:26 -08:00
shader.h Pica: Set program code / swizzle data limit to 4096 2017-05-11 15:01:27 +02:00