index
:
anonymous/yuzu
master
yuzu is the world's most popular, open-source, Nintendo Switch emulator — started by the creators of Citra. It is written in C++ with portability in mind,
mirror
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
src
/
video_core
/
renderer_opengl
/
gl_shader_gen.cpp
(
unfollow
)
Commit message (
Expand
)
Author
Files
Lines
2018-10-28
Refactor precise usage and add FMNMX, MUFU, FMUL32 and FADD332
FernandoS27
1
-6
/
+3
2018-10-28
Improved Shader accuracy on Vertex and Geometry Shaders with FFMA, FMUL and FADD
FernandoS27
1
-3
/
+6
2018-10-23
Implement PointSize
FernandoS27
1
-3
/
+0
2018-10-22
Use standard UBO and fix/stylize the code
FernandoS27
1
-1
/
+28
2018-10-20
gl_shader_decompiler: Move position varying declaration back to gl_shader_gen
ReinUsesLisp
1
-0
/
+7
2018-10-07
gl_shader_decompiler: Implement geometry shaders
ReinUsesLisp
1
-25
/
+59
2018-09-11
Fixed renderdoc input/output textures not working due to render targets
David Marcec
1
-1
/
+8
2018-09-06
gl_shader_gen: Initialize position.
Markus Wick
1
-0
/
+1
2018-08-28
renderer_opengl: Implement a new shader cache.
bunnei
1
-2
/
+2
2018-08-22
renderer_opengl: Namespace OpenGL code
Lioncash
1
-2
/
+2
2018-08-21
Shaders: Write all the enabled color outputs when a fragment shader exits.
Subv
1
-1
/
+1
2018-08-15
Rasterizer: Implemented instanced rendering.
Subv
1
-0
/
+2
2018-07-13
gl_shader_gen: Implement dual vertex shader mode.
bunnei
1
-9
/
+35
2018-06-16
gl_shader_gen: Set position.w to 1.
bunnei
1
-0
/
+4
2018-06-06
GPU: Implement sampling multiple textures in the generated glsl shaders.
Subv
1
-2
/
+0
2018-04-18
gl_shader_gen: Support vertical/horizontal viewport flipping. (#347)
bunnei
1
-0
/
+10
2018-04-17
gl_shader_decompiler: Allow vertex position to be used in fragment shader.
bunnei
1
-1
/
+5
2018-04-15
shaders: Expose hints about used const buffers.
bunnei
1
-6
/
+48
2018-04-14
gl_shader_gen: Add hashable setup/config structs.
bunnei
1
-2
/
+2
2018-03-27
renderer_opengl: Logging, etc. cleanup.
bunnei
1
-2
/
+2
2018-03-20
renderer_gl: Port over gl_shader_gen module from Citra.
bunnei
1
-0
/
+20
2018-01-13
Remove references to PICA and rasterizers in video_core
James Rowe
1
-1231
/
+0
2017-09-03
pica/lighting: only apply Fresnel factor for the last light
wwylele
1
-4
/
+5
2017-08-31
video_core: report telemetry for gas mode
wwylele
1
-0
/
+6
2017-08-25
gl_rasterizer: implement custom clip plane
wwylele
1
-33
/
+47
2017-08-22
gl_rasterizer/lighting: more accurate CP formula
wwylele
1
-2
/
+2
2017-08-21
gl_shader_gen: simplify and clarify the depth transformation between vertex shader and fragment shader
wwylele
1
-2
/
+5
2017-08-21
gl_rasterizer: add clipping plane z<=0 defined in PICA
wwylele
1
-0
/
+2
2017-08-11
gl_shader_gen: don't call SampleTexture when bump map is not used
wwylele
1
-4
/
+5
2017-07-01
gl_rasterizer: use texture buffer for proctex LUT
wwylele
1
-10
/
+10
2017-06-22
gl_rasterizer: use texture buffer for fog LUT
wwylele
1
-7
/
+3
2017-06-21
gl_rasterizer/lighting: fix LUT interpolation
wwylele
1
-51
/
+59
2017-06-18
gl_rasterizer/lighting: use the formula from the paper for germetic factor
wwylele
1
-8
/
+8
2017-06-15
gl_rasterizer/lighting: implement geometric factor
wwylele
1
-1
/
+16
2017-06-11
gl_rasterizer/lighting: Implement tangent mapping
wwylele
1
-7
/
+12
2017-06-11
gl_rasterizer/lighting: implement lut input 5 (CP)
wwylele
1
-2
/
+25
2017-05-30
gl_rasterizer: implement spot light
wwylele
1
-6
/
+24
2017-05-30
gl_rasterizer: sync spot light status
wwylele
1
-0
/
+9
2017-05-27
OpenGL: Improve accuracy of quaternion interpolation
Yuri Kunde Schlesner
1
-3
/
+5
2017-05-27
gl_shader: refactor texture sampler into its own function
wwylele
1
-40
/
+39
2017-05-20
gl_rasterizer: implement procedural texture
wwylele
1
-6
/
+265
2017-05-05
pica: shader_dirty if texture2 coord changed
wwylele
1
-1
/
+1
2017-05-03
pica: use correct coordinates for texture 2
wwylele
1
-3
/
+14
2017-04-20
gl_shader_gen: remove TODO about Lerp behaviour verification. The implementation is verified against hardware
wwylele
1
-2
/
+0
2017-04-19
rasterizer: implement combiner operation 7 (Dot3_RGBA)
wwylele
1
-11
/
+20
2017-04-17
OpenGL: Pass Pica regs via parameter
Yuri Kunde Schlesner
1
-3
/
+1
2017-04-17
OpenGL: Move PicaShaderConfig to gl_shader_gen.h
Yuri Kunde Schlesner
1
-0
/
+94
2017-02-09
VideoCore: Split regs.h inclusions
Yuri Kunde Schlesner
1
-13
/
+17
2017-02-04
VideoCore: Move Regs to its own file
Yuri Kunde Schlesner
1
-1
/
+1
2017-02-04
VideoCore: Split lighting regs from Regs struct
Yuri Kunde Schlesner
1
-32
/
+40
2017-02-04
VideoCore: Split framebuffer regs from Regs struct
Yuri Kunde Schlesner
1
-4
/
+4
2017-02-04
VideoCore: Split texturing regs from Regs struct
Yuri Kunde Schlesner
1
-5
/
+5
2017-02-04
VideoCore: Split rasterizer regs from Regs struct
Yuri Kunde Schlesner
1
-3
/
+4
2016-12-25
Minor cleanup in GLSL code
Jannik Vogel
1
-3
/
+2
2016-12-25
Offset lighting LUT samples correctly
Jannik Vogel
1
-7
/
+7
2016-09-30
OpenGL: Take cached viewport sub-rect into account for scissor
Yuri Kunde Schlesner
1
-5
/
+4
2016-09-21
Use negative priorities to avoid special-casing the self-include
Yuri Kunde Schlesner
1
-1
/
+1
2016-09-21
Remove empty newlines in #include blocks.
Emmanuel Gil Peyrot
1
-3
/
+1
2016-09-19
Manually tweak source formatting and then re-run clang-format
Yuri Kunde Schlesner
1
-3
/
+1
2016-09-18
Sources: Run clang-format on everything.
Emmanuel Gil Peyrot
1
-76
/
+137
2016-08-30
OpenGL: Avoid error on unsupported lighting LUT
Jannik Vogel
1
-0
/
+1
2016-06-28
OpenGL: Add scaled resolution support to scissor
Yuri Kunde Schlesner
1
-2
/
+5
2016-06-28
PICA: Scissor fixes and cleanups
Yuri Kunde Schlesner
1
-7
/
+8
2016-06-28
PICA: Implement scissor test
Subv
1
-0
/
+16
2016-06-07
OpenGL: Implement fog
Jannik Vogel
1
-5
/
+29
2016-06-07
OpenGL: Avoid undefined behaviour for UNIFORM_BLOCK_DATA_SIZE
Jannik Vogel
1
-2
/
+2
2016-05-23
OpenGL: Use uniforms for dist_atten_bias and dist_atten_scale
Jannik Vogel
1
-3
/
+3
2016-05-11
OpenGL: Implement texture type 3
Jannik Vogel
1
-35
/
+53
2016-05-10
OpenGL: Implement W-Buffers and fix depth-mapping
Jannik Vogel
1
-1
/
+10
2016-05-03
Pica: Use a union for PicaShaderConfig
Jannik Vogel
1
-37
/
+41
2016-05-03
Pica: Add TevStageConfigRaw to PicaShaderConfig (MSVC workaround)
Jannik Vogel
1
-1
/
+1
2016-04-30
VideoCore: Run include-what-you-use and fix most includes.
Emmanuel Gil Peyrot
1
-0
/
+8
2016-04-10
OpenGL: Implement color combiner Operation::Dot3_RGB
Jannik Vogel
1
-0
/
+3
2016-02-05
gl_rasterizer: Initial implementation of bump mapping.
bunnei
1
-5
/
+27
2016-02-05
gl_shader_gen: Fix bug in LUT range (should within range [0, 255] not [0, 256]).
bunnei
1
-3
/
+3
2016-02-05
gl_shader_gen: Implement lighting red, green, and blue reflection.
bunnei
1
-17
/
+45
2016-02-05
gl_shader_gen: View should be normalized.
bunnei
1
-2
/
+2
2016-02-05
gl_shader_gen: Implement fragment lighting fresnel effect.
bunnei
1
-9
/
+26
2016-02-05
gl_shader_gen: Implement fragment lighting specular 1 component.
bunnei
1
-3
/
+14
2016-02-05
gl_shader_gen: Add support for D0 LUT scaling.
bunnei
1
-1
/
+1
2016-02-05
gl_shader_gen: Refactor lighting config to match Pica register naming.
bunnei
1
-14
/
+16
2016-02-05
gl_shader_gen: Reorganize and cleanup lighting code.
bunnei
1
-100
/
+107
2016-02-05
gl_shader_gen: Fix directional lights.
bunnei
1
-1
/
+1
2016-02-05
gl_shader_gen: Fix bug with lighting where clamp highlights was only applied to last light.
bunnei
1
-6
/
+6
2016-02-05
gl_shader_gen: View vector needs to be normalized when computing half angle vector.
bunnei
1
-3
/
+4
2016-02-05
renderer_opengl: Use textures for fragment shader LUTs instead of UBOs.
bunnei
1
-11
/
+7
2016-02-05
renderer_opengl: Initial implementation of basic specular lighting.
bunnei
1
-12
/
+70
2016-02-05
renderer_opengl: Implement HW fragment lighting distance attenuation.
bunnei
1
-3
/
+16
2016-02-05
renderer_opengl: Implement HW fragment lighting LUTs within our default UBO.
bunnei
1
-0
/
+7
2016-02-05
renderer_opengl: Implement diffuse component of HW fragment lighting.
bunnei
1
-2
/
+51
2016-01-21
hwrasterizer: Use depth offset
tfarley
1
-1
/
+3
2015-12-05
OpenGL: Flip framebuffers during transfer rather than when rendering
Yuri Kunde Schlesner
1
-1
/
+1
2015-12-01
PICA: Properly emulate 1-stage delay in the combiner buffer
Yuri Kunde Schlesner
1
-7
/
+11
2015-11-26
renderer_opengl: Fix uniform issues introduced with kemenaran/avoid-explicit-uniform-location.
bunnei
1
-2
/
+2
2015-11-25
Use regular uniform location
Pierre de La Morinerie
1
-5
/
+1
2015-11-19
FragShader: Use an UBO instead of several individual uniforms
Subv
1
-3
/
+7
2015-10-22
gl_shader_gen: Use explicit locations for vertex shader attributes.
bunnei
1
-9
/
+9
2015-10-22
gl_shader_gen: Optimize code for AppendAlphaTestCondition.
bunnei
1
-16
/
+11
2015-10-22
gl_shader_gen: Various cleanups to shader generation.
bunnei
1
-44
/
+48
2015-10-22
gl_rasterizer: Use MMH3 hash for shader cache hey.
bunnei
1
-2
/
+2
2015-10-22
gl_shader_gen: Require explicit uniform locations.
bunnei
1
-11
/
+12
2015-10-22
gl_shader_gen: Rename 'o' to 'attr' in vertex/fragment shaders.
bunnei
1
-11
/
+11
2015-10-22
gl_shader_gen: AppendAlphaModifier default should be 0.0, not vec4(0.0).
bunnei
1
-1
/
+1
2015-10-22
gl_shader_gen: Fix bug where TEV stage outputs should be clamped.
bunnei
1
-3
/
+3
2015-10-22
gl_shader_gen: Add additional function documentation.
bunnei
1
-0
/
+8
2015-10-22
gl_shader_gen: Various cleanups + moved TEV stage generation to its own function.
bunnei
1
-161
/
+170
2015-10-22
renderer_opengl: Refactor shader generation/caching to be more organized + various cleanups.
bunnei
1
-0
/
+371