summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-07-04 06:34:53 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:40 +0200
commit11f04f1022d0820a1fdba38221ecd38f19d86d9e (patch)
treec30e87d0a66b0100cb3f7b3ad2fb3bd769654a7a /src/video_core
parentvulkan_device: Add missing include algorithm (diff)
downloadyuzu-11f04f1022d0820a1fdba38221ecd38f19d86d9e.tar
yuzu-11f04f1022d0820a1fdba38221ecd38f19d86d9e.tar.gz
yuzu-11f04f1022d0820a1fdba38221ecd38f19d86d9e.tar.bz2
yuzu-11f04f1022d0820a1fdba38221ecd38f19d86d9e.tar.lz
yuzu-11f04f1022d0820a1fdba38221ecd38f19d86d9e.tar.xz
yuzu-11f04f1022d0820a1fdba38221ecd38f19d86d9e.tar.zst
yuzu-11f04f1022d0820a1fdba38221ecd38f19d86d9e.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_cache.cpp1
-rw-r--r--src/video_core/renderer_vulkan/vk_pipeline_cache.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.cpp b/src/video_core/renderer_opengl/gl_shader_cache.cpp
index 2d7eb3e33..58a4f0fb4 100644
--- a/src/video_core/renderer_opengl/gl_shader_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp
@@ -168,6 +168,7 @@ ShaderCache::ShaderCache(RasterizerOpenGL& rasterizer_, Core::Frontend::EmuWindo
.support_descriptor_aliasing = false,
.support_int8 = false,
.support_int16 = false,
+ .support_int64 = device.HasShaderInt64(),
.support_vertex_instance_id = true,
.support_float_controls = false,
.support_separate_denorm_behavior = false,
diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
index 87b843e3d..a2646fc6d 100644
--- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
@@ -280,6 +280,7 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, Tegra::Engines::Maxw
.support_descriptor_aliasing = true,
.support_int8 = true,
.support_int16 = device.IsShaderInt16Supported(),
+ .support_int64 = device.IsShaderInt64Supported(),
.support_vertex_instance_id = false,
.support_float_controls = true,
.support_separate_denorm_behavior = float_control.denormBehaviorIndependence ==