suyu/src/video_core/shader
ReinUsesLisp c9d886c84e gl_shader_decompiler: Implement gl_ViewportIndex and gl_Layer in vertex shaders
This commit implements gl_ViewportIndex and gl_Layer in vertex and
geometry shaders. In the case it's used in a vertex shader, it requires
ARB_shader_viewport_layer_array. This extension is available on AMD and
Nvidia devices (mesa and proprietary drivers), but not available on
Intel on any platform. At the moment of writing this description I don't
know if this is a hardware limitation or a driver limitation.

In the case that ARB_shader_viewport_layer_array is not available,
writes to these registers on a vertex shader are ignored, with the
appropriate logging.
2019-07-07 20:42:55 -03:00
..
decode Delete decode_integer_set.cpp 2019-07-07 21:40:33 +02:00
decode.cpp shader: Decode SUST and implement backing image functionality 2019-06-20 21:38:33 -03:00
node.h texture_cache: Style and Corrections 2019-06-20 21:24:47 -04:00
node_helper.cpp shader: Use shared_ptr to store nodes and move initialization to file 2019-06-05 20:41:52 -03:00
node_helper.h shader: Move Node declarations out of the shader IR header 2019-06-06 20:02:37 -03:00
shader_ir.cpp gl_shader_decompiler: Implement gl_ViewportIndex and gl_Layer in vertex shaders 2019-07-07 20:42:55 -03:00
shader_ir.h gl_shader_decompiler: Implement gl_ViewportIndex and gl_Layer in vertex shaders 2019-07-07 20:42:55 -03:00
track.cpp shader: Use shared_ptr to store nodes and move initialization to file 2019-06-05 20:41:52 -03:00