Subv
8548bcf697
PICA: Implement scissor test
2016-06-27 21:14:13 -07:00
scurest
081b3398ff
Remove superfluous std::move in return std::move(local_var)
2016-06-25 13:26:21 -05:00
Jannik Vogel
751dd9c634
OpenGL: Implement fog
2016-06-07 00:06:28 +02:00
Jannik Vogel
ab6e30ec88
Rasterizer: Implement fog
2016-06-07 00:06:28 +02:00
Jannik Vogel
2f8879bb36
Pica: Add fog state
2016-06-07 00:06:28 +02:00
Jannik Vogel
242225b131
OpenGL: Avoid undefined behaviour for UNIFORM_BLOCK_DATA_SIZE
2016-06-07 00:06:28 +02:00
mailwl
92246148fd
gsp::gpu: Reset g_thread_id in UnregisterInterruptRelayQueue
2016-06-01 09:40:15 +03:00
bunnei
55b10537f1
Merge pull request #1812 from JayFoxRox/refactor-shader
...
Retrieve shader result from new OutputRegisters-type
2016-05-31 18:12:56 -04:00
bunnei
d119ac38b1
Merge pull request #1846 from JayFoxRox/missing-dirty-lighting
...
OpenGL: Set shader_dirty on lighting changes
2016-05-26 17:35:12 -04:00
bunnei
4b2819da51
Merge pull request #1733 from lioncash/vert_loader
...
VertexLoader: Minor changes
2016-05-23 21:13:34 -04:00
Jannik Vogel
4a03500953
OpenGL: Set shader_dirty on lighting changes
2016-05-23 23:28:13 +02:00
Jannik Vogel
d9c01df8b5
Pica: Name LightSrc.config register
2016-05-23 23:28:13 +02:00
Jannik Vogel
b683275f46
Pica: Name lighting.config0 and .config1 registers
2016-05-23 23:28:13 +02:00
Jannik Vogel
e33e6ea181
OpenGL: Use uniforms for dist_atten_bias and dist_atten_scale
2016-05-23 23:28:13 +02:00
Jannik Vogel
af3b002c74
Refactor Tev stage dumper
2016-05-21 03:11:27 +02:00
Jannik Vogel
2e57c33dfa
Extend Tev stage dumper
2016-05-21 03:08:59 +02:00
bunnei
df5737d54f
Merge pull request #1786 from JayFoxRox/blend-equation
...
OpenGL: Support blend equation
2016-05-16 20:00:21 -04:00
Jannik Vogel
d66f7dda35
Retrieve shader result from new OutputRegisters-type
2016-05-16 18:55:51 +02:00
linkmauve
84e10edace
Merge pull request #1787 from JayFoxRox/refactor-jit
...
Refactor JIT
2016-05-16 17:54:45 +01:00
Jannik Vogel
e3e38a80cb
OpenGL: Only update depth uniforms if the depth changed
2016-05-14 10:31:18 +02:00
Jannik Vogel
994bc4d6f5
OpenGL: value-initialize variables which cause uninitialised access otherwise
2016-05-14 10:16:11 +02:00
Jannik Vogel
7c7f458460
Use new shader-jit signature for interpreter
2016-05-13 09:41:55 +02:00
Jannik Vogel
3efb30631f
Refactor access to state in shader-jit
2016-05-13 09:20:14 +02:00
Jannik Vogel
f80db5278e
OpenGL: Support blend equation
2016-05-12 22:57:40 +02:00
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
e07857080c
OpenGL: Implement texture type 3
2016-05-11 08:07:37 +02:00
Jannik Vogel
03dba17816
Rasterizer: Implement texture type 3
2016-05-11 08:07:36 +02:00
Jannik Vogel
1fe9ac4c45
Pica: Add tc0.w to OutputVertex
2016-05-11 08:07:36 +02:00
Jannik Vogel
22df1fdc1e
Pica: Add texture type to state
2016-05-11 08:07:36 +02:00
bunnei
88c2a427ac
Merge pull request #1621 from JayFoxRox/w-buffer
...
Implement W-buffer and fix depth-mapping
2016-05-10 23:00:40 -04:00
Lioncash
3e1e2007b9
gl_rasterizer: Fix compilation for debug builds
2016-05-10 09:22:02 -04:00
Jannik Vogel
9c80e7dc38
OpenGL: Implement W-Buffers and fix depth-mapping
2016-05-10 08:58:52 +02:00
Jannik Vogel
3126ec23d6
Pica: Implement W-Buffer in SW rasterizer
2016-05-10 08:58:52 +02:00
linkmauve
268315ea2b
Merge pull request #1704 from JayFoxRox/pod-config
...
Pica: PicaShaderConfig is TC and cleared before use
2016-05-10 01:16:53 +01:00
Lioncash
12d046e185
vertex_loader: Correct forward declaration of InputVertex
...
It's actually a struct, not a class.
2016-05-08 23:08:18 -04:00
Lioncash
2d9e082cca
vertex_loader: Provide an assertion for ensuring the loader has been setup
...
Also adds an assert to ensure that Setup is not called more than once
during a VertexLoader's lifetime.
2016-05-08 23:08:12 -04:00
Lioncash
14eab63906
vertex_loader: Add constructors to facilitate immediate and two-step initialization
2016-05-08 23:03:32 -04:00
Lioncash
7e5de3e7be
vertex_loader: initialize_num_total_attributes.
...
Keeps the public API sane.
2016-05-08 23:03:32 -04:00
Lioncash
9452d8f06e
vertex_loader: Use std::array instead of raw C arrays
2016-05-08 23:03:32 -04:00
Lioncash
5a389ce320
vertex_loader: Correct header ordering
2016-05-08 23:01:26 -04:00
Alexander Laties
68edf2783a
fixup simple type conversions where possible
2016-05-07 11:41:55 -04:00
Emmanuel Gil Peyrot
51cc7d6e19
Frontends, VideoCore: Move glad initialisation to the frontend
...
On SDL2 this allows it to use SDL_GL_GetProcAddress() instead of the
default function loader, and fixes a crash when using apitrace with an
EGL context.
On Qt we will need to migrate from QGLWidget to QOpenGLWidget and
QOpenGLContext before we can use gladLoadGLLoader() instead of
gladLoadGL(), since the former doesn’t expose a function loader.
2016-05-06 03:10:14 +01:00
Jannik Vogel
fe94aadb3a
Pica: Rename VertexLoaded breakpoint to VertexShaderInvocation
2016-05-04 10:21:51 +02:00
Jannik Vogel
42fa99e46b
Pica: Use a union for PicaShaderConfig
2016-05-03 15:06:49 +02:00
Jannik Vogel
a1c4eb326b
Pica: Add TevStageConfigRaw to PicaShaderConfig (MSVC workaround)
2016-05-03 15:06:46 +02:00
Jannik Vogel
c09f345474
Pica: Make PicaShaderConfig trivially_copyable and clear it before use
2016-05-03 14:10:11 +02:00
Jannik Vogel
d93f85cc7a
OpenGL: Don't copy const_color (Reverts #1745 )
2016-05-03 12:34:52 +02:00