Commit Graph

17 Commits

Author SHA1 Message Date
Jannik Vogel ae5cec8040 Move program_counter and call_stack from UnitState to interpreter 2016-05-12 19:05:42 +02:00
Jannik Vogel 6db8a8fb39 Move default_attributes into Pica state 2016-05-12 19:05:41 +02:00
bunnei abad1b59c5 Merge pull request #1690 from JayFoxRox/tex-type-3
Pica: Implement texture type 3 (Projection2D)
2016-05-11 21:47:08 -04:00
Jannik Vogel 631bae020f Turn ShaderSetup into struct 2016-05-11 23:48:24 +02:00
Jannik Vogel 1fe9ac4c45 Pica: Add tc0.w to OutputVertex 2016-05-11 08:07:36 +02:00
Emmanuel Gil Peyrot d6164b8022 VideoCore: Run include-what-you-use and fix most includes. 2016-04-30 17:02:41 +01:00
Henrik Rydgard c1ee661492 Refactor: Extract VertexLoader from command_processor.cpp.
Preparation for a similar concept to Dolphin or PPSSPP. These can be JIT-ed and cached.
2016-04-28 19:05:55 +02:00
bunnei 110725828a shader: Remove unused 'state' argument from 'Setup' function. 2016-04-13 23:04:48 -04:00
Lioncash f932c2f4ac 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 141fe87a0f Add immediate mode vertex submission 2016-03-02 22:16:38 -05:00
bunnei 3c3e328340 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 f588077bbb Shader: Fix size_t to int casts of register offsets 2015-09-07 16:50:28 +02:00
Tony Wasserka ca1fea38dc Build fix for Debug configurations. 2015-08-16 15:14:54 +02:00
Tony Wasserka 1c1a9ab09b Introduce a shader tracer to allow inspection of input/output values for each processed instruction. 2015-08-16 14:12:11 +02:00
bunnei 5c7e9ffce7 Shader: Use a POD struct for registers. 2015-08-15 18:03:27 -04:00
bunnei c03924e60e 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 5794310781 Shader: Define a common interface for running vertex shader programs. 2015-08-15 17:33:44 -04:00