diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-08 00:03:50 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-08 00:08:42 +0100 |
commit | cd663959445c855ab3d0c4c66b8930d30164cc40 (patch) | |
tree | 424f996aae381c1dd6960e0133c3a22b2cd6d653 /src/video_core/renderer_opengl/gl_device.cpp | |
parent | shader_ir/warp: Implement FSWZADD (diff) | |
download | yuzu-cd663959445c855ab3d0c4c66b8930d30164cc40.tar yuzu-cd663959445c855ab3d0c4c66b8930d30164cc40.tar.gz yuzu-cd663959445c855ab3d0c4c66b8930d30164cc40.tar.bz2 yuzu-cd663959445c855ab3d0c4c66b8930d30164cc40.tar.lz yuzu-cd663959445c855ab3d0c4c66b8930d30164cc40.tar.xz yuzu-cd663959445c855ab3d0c4c66b8930d30164cc40.tar.zst yuzu-cd663959445c855ab3d0c4c66b8930d30164cc40.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_device.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_device.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_device.cpp b/src/video_core/renderer_opengl/gl_device.cpp index c65b24c69..b30d5be74 100644 --- a/src/video_core/renderer_opengl/gl_device.cpp +++ b/src/video_core/renderer_opengl/gl_device.cpp @@ -62,6 +62,7 @@ Device::Device() { max_varyings = GetInteger<u32>(GL_MAX_VARYING_VECTORS); has_warp_intrinsics = GLAD_GL_NV_gpu_shader5 && GLAD_GL_NV_shader_thread_group && GLAD_GL_NV_shader_thread_shuffle; + has_shader_ballot = GLAD_GL_ARB_shader_ballot; has_vertex_viewport_layer = GLAD_GL_ARB_shader_viewport_layer_array; has_image_load_formatted = HasExtension(extensions, "GL_EXT_shader_image_load_formatted"); has_variable_aoffi = TestVariableAoffi(); @@ -79,6 +80,7 @@ Device::Device(std::nullptr_t) { max_vertex_attributes = 16; max_varyings = 15; has_warp_intrinsics = true; + has_shader_ballot = true; has_vertex_viewport_layer = true; has_image_load_formatted = true; has_variable_aoffi = true; |