yuzu/src/video_core
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_utils Doxygen: Amend minor issues (#2593) 2017-02-26 17:58:51 -08:00
renderer_opengl pica: shader_dirty if texture2 coord changed 2017-05-05 15:35:17 +03:00
shader Pica: Set program code / swizzle data limit to 4096 2017-05-11 15:01:27 +02:00
swrasterizer pica: shader_dirty if texture2 coord changed 2017-05-05 15:35:17 +03:00
texture video_core: remove #pragma once in cpp file (#2570) 2017-02-15 00:16:50 -08:00
CMakeLists.txt SWRasterizer: Move texturing functions to their own file 2017-02-12 18:12:37 -08:00
command_processor.cpp VideoCore: Split regs.h inclusions 2017-02-09 00:04:24 -08:00
command_processor.h Remove empty newlines in #include blocks. 2016-09-21 11:15:47 +09:00
gpu_debugger.h Add all services to the Service namespace 2016-12-11 00:07:27 +00:00
pica_state.h VideoCore: Move Regs to its own file 2017-02-04 13:59:12 -08:00
pica_types.h Remove empty newlines in #include blocks. 2016-09-21 11:15:47 +09:00
pica.cpp VideoCore: Split regs.h inclusions 2017-02-09 00:04:24 -08:00
pica.h VideoCore: Move Regs to its own file 2017-02-04 13:59:12 -08:00
primitive_assembly.cpp VideoCore: Split geometry pipeline regs from Regs struct 2017-02-04 13:59:11 -08:00
primitive_assembly.h VideoCore: Split geometry pipeline regs from Regs struct 2017-02-04 13:59:11 -08:00
rasterizer_interface.h rasterizer: separate TextureCopy from DisplayTransfer 2016-09-29 10:01:34 +08:00
regs_framebuffer.h Pica/Regs: Correct bit width for blend-equations 2017-04-08 18:33:17 +02:00
regs_lighting.h VideoCore: Force enum sizes to u32 in LightingRegs 2017-02-09 00:04:24 -08:00
regs_pipeline.h VideoCore: Split u64 Pica reg unions into 2 separate u32 unions 2017-02-09 00:04:25 -08:00
regs_rasterizer.h VideoCore: Split rasterizer regs from Regs struct 2017-02-04 13:08:47 -08:00
regs_shader.h VideoCore: Split shader regs from Regs struct 2017-02-04 13:59:11 -08:00
regs_texturing.h pica: shader_dirty if texture2 coord changed 2017-05-05 15:35:17 +03:00
regs.cpp Pica/Regs: Use binary search to look up reg names 2017-02-09 00:04:24 -08:00
regs.h pica: shader_dirty if texture2 coord changed 2017-05-05 15:35:17 +03:00
renderer_base.cpp VideoCore: Move software rasterizer files to sub-directory 2017-02-12 18:08:11 -08:00
renderer_base.h Remove empty newlines in #include blocks. 2016-09-21 11:15:47 +09:00
utils.h VideoCore: Run include-what-you-use and fix most includes. 2016-04-30 17:02:41 +01:00
vertex_loader.cpp VideoCore: Move Regs to its own file 2017-02-04 13:59:12 -08:00
vertex_loader.h VideoCore: Move Regs to its own file 2017-02-04 13:59:12 -08:00
video_core.cpp config: Add option for specifying screen resolution scale factor. 2017-01-07 03:23:22 -05:00
video_core.h config: Add option for specifying screen resolution scale factor. 2017-01-07 03:23:22 -05:00