Dragios
1108438607
Revert "New GS refactor ( #8 )"
...
This reverts commit 10272dd54108852f535ebe00d55db96402e12d27.
2016-04-16 01:32:33 +08:00
Dragios
10272dd541
New GS refactor ( #8 )
...
* Turn ShaderSetup into a class
* Cleanup ShaderSetup
* Replace logic in shader.cpp with loop
* Rename 'VertexLoaded' breakpoint to 'Vertex shader invocation'
* Prepare Pica regs for GS
* Make shader code less VS-specific
* Only check for enabled JIT in Setup() to avoid race conditions
* Write shader registers in functions
* Write GS registers
* Implement EMIT and SETEMIT
* Implement 4 shader units and geometry shaders
2016-04-16 01:17:59 +08:00
bunnei
ffcf7ecee9
shader: Remove unused 'state' argument from 'Setup' function.
2016-04-13 23:04:48 -04:00
Lioncash
88d604383e
Common: Get rid of alignment macros
...
The gl rasterizer already uses alignas,
so we may as well move everything over.
2016-03-09 01:31:14 -05:00
Dwayne Slater
6b775034dd
Add immediate mode vertex submission
2016-03-02 22:16:38 -05:00
bunnei
b003075570
pica: Implement decoding of basic fragment lighting components.
...
- Diffuse
- Distance attenuation
- float16/float20 types
- Vertex Shader 'view' output
2016-02-05 17:17:28 -05:00
aroulin
87e3b9ffc0
Shader: Fix size_t to int casts of register offsets
2015-09-07 16:50:28 +02:00
Tony Wasserka
96820ae42a
Build fix for Debug configurations.
2015-08-16 15:14:54 +02:00
Tony Wasserka
33ba604fd9
Introduce a shader tracer to allow inspection of input/output values for each processed instruction.
2015-08-16 14:12:11 +02:00
bunnei
db97090cad
Shader: Use a POD struct for registers.
2015-08-15 18:03:27 -04:00
bunnei
094ae6fadb
Shader: Initial implementation of x86_x64 JIT compiler for Pica vertex shaders.
...
- Config: Add an option for selecting to use shader JIT or interpreter.
- Qt: Add a menu option for enabling/disabling the shader JIT.
2015-08-15 18:01:07 -04:00
bunnei
3f69c2039d
Shader: Define a common interface for running vertex shader programs.
2015-08-15 17:33:44 -04:00