aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2015-11-30PICA: Properly emulate 1-stage delay in the combiner bufferYuri Kunde Schlesner
This was discovered and verified by @fincs. The tev combiner buffer actually lags behind by one stage, meaning stage 1 reads the initial color, stage 2 reads stage 0's output, and so on. Fixes character portraits in Fire Emblem: Awakening and world textures in Zelda: ALBW. Closes #1140.
2015-11-25renderer_opengl: Fix uniform issues introduced with ↵bunnei
kemenaran/avoid-explicit-uniform-location.
2015-11-25Use regular uniform locationPierre de La Morinerie
The support for GL_ARB_explicit_uniform_location is not that good (53% according to http://feedback.wildfiregames.com/report/opengl/feature/GL_ARB_explicit_uniform_location). This fix the shader compilation on Intel HD 4000 (#1222).
2015-11-18FragShader: Use an UBO instead of several individual uniformsSubv
2015-11-09GPU/Loaders: Log an error when a loader tries to load from a component ↵Subv
beyond the available ones (12). Related to #1170
2015-10-21gl_shader_gen: Use explicit locations for vertex shader attributes.bunnei
2015-10-21gl_shader_gen: Optimize code for AppendAlphaTestCondition.bunnei
- Also add a comment to AppendColorCombiner.
2015-10-21gl_rasterizer: Define enum types for each vertex texcoord attribute.bunnei
2015-10-21gl_shader_gen: Various cleanups to shader generation.bunnei
2015-10-21gl_rasterizer: Use MMH3 hash for shader cache hey.bunnei
- Includes a check to confirm no hash collisions.
2015-10-21gl_shader_gen: Require explicit uniform locations.bunnei
- Fixes uniform issue on AMD.
2015-10-21gl_shader_gen: Rename 'o' to 'attr' in vertex/fragment shaders.bunnei
2015-10-21gl_shader_gen: AppendAlphaModifier default should be 0.0, not vec4(0.0).bunnei
2015-10-21gl_shader_gen: Fix bug where TEV stage outputs should be clamped.bunnei
2015-10-21gl_rasterizer: Add documentation to ShaderCacheKey.bunnei
2015-10-21gl_shader_gen: Add additional function documentation.bunnei
2015-10-21gl_shader_util: Cleanup header file + add docstring.bunnei
2015-10-21gl_shader_gen: Various cleanups + moved TEV stage generation to its own ↵bunnei
function.
2015-10-21renderer_opengl: Refactor shader generation/caching to be more organized + ↵bunnei
various cleanups.
2015-10-21gl_rasterizer: Move logic for creating ShaderCacheKey to a static function.bunnei
2015-10-21gl_shader_util: Use vec3 constants for AppendColorCombiner.bunnei
2015-10-21gl_rasterizer: Fix typo in uploading TEV const color uniforms.bunnei
2015-10-21gl_shader_util: Fix precision bug with alpha testing.bunnei
- Alpha testing is not done with float32 precision, this makes the HW renderer match the SW renderer.
2015-10-21Initial implementation of fragment shader generation with caching.Subv
2015-10-09CitraQt, SkyEye, Loader, VideoCore: Remove newlines in LOG_* calls.Emmanuel Gil Peyrot
The LOG_* function itself already appends one.
2015-10-06Silence -Wsign-compare warnings.Rohit Nirmal
2015-09-29fix some xcode 7.0 warningsMartin Lindhe
2015-09-16general: Silence some warnings when using clangLioncash
2015-09-11video_core: Reorganize headersLioncash
2015-09-11video_core: Remove unnecessary includes from headersLioncash
2015-09-10Merge pull request #1133 from lioncash/emplace-backbunnei
gl_rasterizer: Replace push_back calls with emplace_back in AddTriangle
2015-09-10Merge pull request #1136 from lioncash/protobunnei
renderer_opengl: Remove unimplemented function declaration
2015-09-10renderer_opengl: Remove unimplemented function declarationLioncash
2015-09-10video_core: Remove unused variablesLioncash
2015-09-10gl_rasterizer: Replace push_back calls with emplace_back in AddTriangleLioncash
2015-09-07Shader JIT: Use SCALE constant from emitteraroulin
2015-09-07Shader: Fix size_t to int casts of register offsetsaroulin
2015-09-03OpenGL: Use Sampler Objects to decouple sampler config from texturesYuri Kunde Schlesner
Fixes #978
2015-09-03OpenGL: Remove ugly and endian-unsafe color pointer castsYuri Kunde Schlesner
2015-09-03OpenGL: Add support for Sampler Objects to state trackerYuri Kunde Schlesner
2015-09-03Merge pull request #1087 from yuriks/opengl-gladYuri Kunde Schlesner
Replace the previous OpenGL loader with a glad-generated 3.3 one
2015-09-02Merge pull request #1088 from aroulin/x64-emitter-abi-callbunnei
x64: Proper stack alignment in shader JIT function calls
2015-09-02video_core: Fix format specifiers warningsaroulin
2015-09-01x64: Proper stack alignment in shader JIT function callsaroulin
Import Dolphin stack handling and register saving routines Also removes the x86 parts from abi files
2015-08-31Merge pull request #1092 from Subv/vertex_offsetTony Wasserka
Pica: Add the vertex_offset register to the Pica registers map.
2015-08-31Pica: Added the primitive_restart register (0x25f) to the registers map.Subv
2015-08-31Pica: Add the vertex_offset register to the Pica registers map.Subv
2015-08-31Shader JIT: Fix SGE/SGEI NaN behavioraroulin
SGE was incorrectly emulated w.r.t. NaN behavior as the CMPSS SSE instruction was used with NLT
2015-08-30Merge pull request #1059 from Subv/vertex_offsetbunnei
GPU: Implemented register 0x22A PICA_REG_DRAW_VERTEX_OFFSET
2015-08-30GPU: Implemented register 0x22A.Subv
This is the equivalent of the "first" parameter in glDrawArrays, it tells the GPU the vertex index at which to start rendering. Register 0x22A doesn't affect indexed rendering.