summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGPUCode <geoster3d@gmail.com>2023-06-15 11:17:46 +0200
committerbunnei <bunneidev@gmail.com>2023-06-28 03:00:09 +0200
commitddcc95833660c57647d3e99dad76ecfa3b86ee8d (patch)
treeea6092ba2bda4b2f685926ba133faedd5c65fa57 /src
parentvideo_core: Add BCn decoding support (diff)
downloadyuzu-ddcc95833660c57647d3e99dad76ecfa3b86ee8d.tar
yuzu-ddcc95833660c57647d3e99dad76ecfa3b86ee8d.tar.gz
yuzu-ddcc95833660c57647d3e99dad76ecfa3b86ee8d.tar.bz2
yuzu-ddcc95833660c57647d3e99dad76ecfa3b86ee8d.tar.lz
yuzu-ddcc95833660c57647d3e99dad76ecfa3b86ee8d.tar.xz
yuzu-ddcc95833660c57647d3e99dad76ecfa3b86ee8d.tar.zst
yuzu-ddcc95833660c57647d3e99dad76ecfa3b86ee8d.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_vulkan/blit_image.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/blit_image.cpp b/src/video_core/renderer_vulkan/blit_image.cpp
index cf2964a3f..28d4b15a0 100644
--- a/src/video_core/renderer_vulkan/blit_image.cpp
+++ b/src/video_core/renderer_vulkan/blit_image.cpp
@@ -495,6 +495,9 @@ void BlitImageHelper::BlitDepthStencil(const Framebuffer* dst_framebuffer,
const Region2D& dst_region, const Region2D& src_region,
Tegra::Engines::Fermi2D::Filter filter,
Tegra::Engines::Fermi2D::Operation operation) {
+ if (!device.IsExtShaderStencilExportSupported()) {
+ return;
+ }
ASSERT(filter == Tegra::Engines::Fermi2D::Filter::Point);
ASSERT(operation == Tegra::Engines::Fermi2D::Operation::SrcCopy);
const BlitImagePipelineKey key{