summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2021-07-07 20:09:55 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2021-07-07 20:09:55 +0200
commit2f0e1f5d02fe42d90dfb58808618dc3a7213fee8 (patch)
tree2e85583b8a16643e1af684a34639d6f7ff2b323a /src/video_core
parentMerge pull request #6562 from Morph1984/flush-behavior (diff)
downloadyuzu-2f0e1f5d02fe42d90dfb58808618dc3a7213fee8.tar
yuzu-2f0e1f5d02fe42d90dfb58808618dc3a7213fee8.tar.gz
yuzu-2f0e1f5d02fe42d90dfb58808618dc3a7213fee8.tar.bz2
yuzu-2f0e1f5d02fe42d90dfb58808618dc3a7213fee8.tar.lz
yuzu-2f0e1f5d02fe42d90dfb58808618dc3a7213fee8.tar.xz
yuzu-2f0e1f5d02fe42d90dfb58808618dc3a7213fee8.tar.zst
yuzu-2f0e1f5d02fe42d90dfb58808618dc3a7213fee8.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/util_shaders.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/util_shaders.cpp b/src/video_core/renderer_opengl/util_shaders.cpp
index abaf1ee6a..8fb5be393 100644
--- a/src/video_core/renderer_opengl/util_shaders.cpp
+++ b/src/video_core/renderer_opengl/util_shaders.cpp
@@ -261,9 +261,9 @@ void UtilShaders::CopyBC4(Image& dst_image, Image& src_image, std::span<const Im
glUniform3ui(LOC_SRC_OFFSET, copy.src_offset.x, copy.src_offset.y, copy.src_offset.z);
glUniform3ui(LOC_DST_OFFSET, copy.dst_offset.x, copy.dst_offset.y, copy.dst_offset.z);
glBindImageTexture(BINDING_INPUT_IMAGE, src_image.StorageHandle(),
- copy.src_subresource.base_level, GL_FALSE, 0, GL_READ_ONLY, GL_RG32UI);
+ copy.src_subresource.base_level, GL_TRUE, 0, GL_READ_ONLY, GL_RG32UI);
glBindImageTexture(BINDING_OUTPUT_IMAGE, dst_image.StorageHandle(),
- copy.dst_subresource.base_level, GL_FALSE, 0, GL_WRITE_ONLY, GL_RGBA8UI);
+ copy.dst_subresource.base_level, GL_TRUE, 0, GL_WRITE_ONLY, GL_RGBA8UI);
glDispatchCompute(copy.extent.width, copy.extent.height, copy.extent.depth);
}
program_manager.RestoreGuestCompute();