diff options
author | Billy Laws <blaws05@gmail.com> | 2023-01-01 14:35:23 +0100 |
---|---|---|
committer | Billy Laws <blaws05@gmail.com> | 2023-01-05 23:13:07 +0100 |
commit | 6c812a0c84d6fb2f7ffe1d64044be8aeaa905300 (patch) | |
tree | 5673e41dd5632f0dd0fd0cd2056bfbb49b45e910 | |
parent | shader_recompiler: Add support for lowering geometry passthrough (diff) | |
download | yuzu-6c812a0c84d6fb2f7ffe1d64044be8aeaa905300.tar yuzu-6c812a0c84d6fb2f7ffe1d64044be8aeaa905300.tar.gz yuzu-6c812a0c84d6fb2f7ffe1d64044be8aeaa905300.tar.bz2 yuzu-6c812a0c84d6fb2f7ffe1d64044be8aeaa905300.tar.lz yuzu-6c812a0c84d6fb2f7ffe1d64044be8aeaa905300.tar.xz yuzu-6c812a0c84d6fb2f7ffe1d64044be8aeaa905300.tar.zst yuzu-6c812a0c84d6fb2f7ffe1d64044be8aeaa905300.zip |
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_cache.cpp | 1 | ||||
-rw-r--r-- | src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | 1 |
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 01e0cddb6..7dd854e0f 100644 --- a/src/video_core/renderer_opengl/gl_shader_cache.cpp +++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp @@ -237,6 +237,7 @@ ShaderCache::ShaderCache(RasterizerOpenGL& rasterizer_, Core::Frontend::EmuWindo .support_snorm_render_buffer = false, .support_viewport_index_layer = device.HasVertexViewportLayer(), .min_ssbo_alignment = static_cast<u32>(device.GetShaderStorageBufferAlignment()), + .support_geometry_shader_passthrough = device.HasGeometryShaderPassthrough(), } { if (use_asynchronous_shaders) { workers = CreateWorkers(); diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp index 4aaea0e12..013b42cf8 100644 --- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp @@ -345,6 +345,7 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, const Device& device .support_snorm_render_buffer = true, .support_viewport_index_layer = device.IsExtShaderViewportIndexLayerSupported(), .min_ssbo_alignment = static_cast<u32>(device.GetStorageBufferAlignment()), + .support_geometry_shader_passthrough = device.IsNvGeometryShaderPassthroughSupported(), }; if (device.GetMaxVertexInputAttributes() < Maxwell::NumVertexAttributes) { |