summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorAmeer J <52414509+ameerj@users.noreply.github.com>2023-07-30 18:09:02 +0200
committerAmeer J <52414509+ameerj@users.noreply.github.com>2023-08-06 20:54:57 +0200
commit7ef879b29684510298a13b02942bf4fe960dea77 (patch)
tree33abce04b95de7cfd9a167c3d1bd63dee478138b /src/video_core
parentMerge pull request #11213 from RngValue/master (diff)
downloadyuzu-7ef879b29684510298a13b02942bf4fe960dea77.tar
yuzu-7ef879b29684510298a13b02942bf4fe960dea77.tar.gz
yuzu-7ef879b29684510298a13b02942bf4fe960dea77.tar.bz2
yuzu-7ef879b29684510298a13b02942bf4fe960dea77.tar.lz
yuzu-7ef879b29684510298a13b02942bf4fe960dea77.tar.xz
yuzu-7ef879b29684510298a13b02942bf4fe960dea77.tar.zst
yuzu-7ef879b29684510298a13b02942bf4fe960dea77.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/host_shaders/astc_decoder.comp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/host_shaders/astc_decoder.comp b/src/video_core/host_shaders/astc_decoder.comp
index bf2693559..a622d89a9 100644
--- a/src/video_core/host_shaders/astc_decoder.comp
+++ b/src/video_core/host_shaders/astc_decoder.comp
@@ -48,11 +48,11 @@ struct TexelWeightParams {
bool void_extent_hdr;
};
-layout(binding = BINDING_INPUT_BUFFER, std430) readonly buffer InputBufferU32 {
+layout(binding = BINDING_INPUT_BUFFER, std430) readonly restrict buffer InputBufferU32 {
uvec4 astc_data[];
};
-layout(binding = BINDING_OUTPUT_IMAGE, rgba8) uniform writeonly image2DArray dest_image;
+layout(binding = BINDING_OUTPUT_IMAGE, rgba8) uniform writeonly restrict image2DArray dest_image;
const uint GOB_SIZE_X_SHIFT = 6;
const uint GOB_SIZE_Y_SHIFT = 3;