yuzu/src/video_core/engines
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
..
const_buffer_info.h
engine_upload.cpp
engine_upload.h
fermi_2d.cpp
fermi_2d.h
kepler_compute.cpp
kepler_compute.h
kepler_memory.cpp
kepler_memory.h
maxwell_3d.cpp
maxwell_3d.h
maxwell_dma.cpp
maxwell_dma.h
shader_bytecode.h gl_shader_decompiler: Implement gl_ViewportIndex and gl_Layer in vertex shaders 2019-07-07 20:42:55 -03:00
shader_header.h