summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_shader_gen.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* PICA: Properly emulate 1-stage delay in the combiner bufferYuri Kunde Schlesner2015-12-011-7/+11
| | | | | | | | | 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.
* renderer_opengl: Fix uniform issues introduced with kemenaran/avoid-explicit-uniform-location.bunnei2015-11-261-2/+2
|
* Use regular uniform locationPierre de La Morinerie2015-11-251-5/+1
| | | | | | 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).
* FragShader: Use an UBO instead of several individual uniformsSubv2015-11-191-3/+7
|
* gl_shader_gen: Use explicit locations for vertex shader attributes.bunnei2015-10-221-9/+9
|
* gl_shader_gen: Optimize code for AppendAlphaTestCondition.bunnei2015-10-221-16/+11
| | | | - Also add a comment to AppendColorCombiner.
* gl_shader_gen: Various cleanups to shader generation.bunnei2015-10-221-44/+48
|
* gl_rasterizer: Use MMH3 hash for shader cache hey.bunnei2015-10-221-2/+2
| | | | - Includes a check to confirm no hash collisions.
* gl_shader_gen: Require explicit uniform locations.bunnei2015-10-221-11/+12
| | | | - Fixes uniform issue on AMD.
* gl_shader_gen: Rename 'o' to 'attr' in vertex/fragment shaders.bunnei2015-10-221-11/+11
|
* gl_shader_gen: AppendAlphaModifier default should be 0.0, not vec4(0.0).bunnei2015-10-221-1/+1
|
* gl_shader_gen: Fix bug where TEV stage outputs should be clamped.bunnei2015-10-221-3/+3
|
* gl_shader_gen: Add additional function documentation.bunnei2015-10-221-0/+8
|
* gl_shader_gen: Various cleanups + moved TEV stage generation to its own function.bunnei2015-10-221-161/+170
|
* renderer_opengl: Refactor shader generation/caching to be more organized + various cleanups.bunnei2015-10-221-0/+371