Ameer J %!s(int64=3) %!d(string=hai) anos
pai
achega
7ef879b296
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/video_core/host_shaders/astc_decoder.comp

+ 2 - 2
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;