diff options
| author | 2023-07-30 12:09:02 -0400 | |
|---|---|---|
| committer | 2023-08-06 14:54:57 -0400 | |
| commit | 7ef879b29684510298a13b02942bf4fe960dea77 (patch) | |
| tree | 33abce04b95de7cfd9a167c3d1bd63dee478138b /src | |
| parent | Merge pull request #11213 from RngValue/master (diff) | |
| download | yuzu-7ef879b29684510298a13b02942bf4fe960dea77.tar.gz yuzu-7ef879b29684510298a13b02942bf4fe960dea77.tar.xz yuzu-7ef879b29684510298a13b02942bf4fe960dea77.zip | |
restrict
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/host_shaders/astc_decoder.comp | 4 |
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 { | |||
| 48 | bool void_extent_hdr; | 48 | bool void_extent_hdr; |
| 49 | }; | 49 | }; |
| 50 | 50 | ||
| 51 | layout(binding = BINDING_INPUT_BUFFER, std430) readonly buffer InputBufferU32 { | 51 | layout(binding = BINDING_INPUT_BUFFER, std430) readonly restrict buffer InputBufferU32 { |
| 52 | uvec4 astc_data[]; | 52 | uvec4 astc_data[]; |
| 53 | }; | 53 | }; |
| 54 | 54 | ||
| 55 | layout(binding = BINDING_OUTPUT_IMAGE, rgba8) uniform writeonly image2DArray dest_image; | 55 | layout(binding = BINDING_OUTPUT_IMAGE, rgba8) uniform writeonly restrict image2DArray dest_image; |
| 56 | 56 | ||
| 57 | const uint GOB_SIZE_X_SHIFT = 6; | 57 | const uint GOB_SIZE_X_SHIFT = 6; |
| 58 | const uint GOB_SIZE_Y_SHIFT = 3; | 58 | const uint GOB_SIZE_Y_SHIFT = 3; |