summaryrefslogtreecommitdiff
path: root/src/core/hardware_interrupt_manager.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2019-07-07 20:36:42 -0300
committerGravatar ReinUsesLisp2019-07-07 20:42:55 -0300
commitc9d886c84e4102f7b9c464c704eecb61d37b3df4 (patch)
treec26dadd5ead8fb3d9b8241cc8b9d6f97dd9d98f4 /src/core/hardware_interrupt_manager.cpp
parentMerge pull request #2694 from FearlessTobi/patch-1 (diff)
downloadyuzu-c9d886c84e4102f7b9c464c704eecb61d37b3df4.tar.gz
yuzu-c9d886c84e4102f7b9c464c704eecb61d37b3df4.tar.xz
yuzu-c9d886c84e4102f7b9c464c704eecb61d37b3df4.zip
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.
Diffstat (limited to 'src/core/hardware_interrupt_manager.cpp')
0 files changed, 0 insertions, 0 deletions