summaryrefslogtreecommitdiff
path: root/src/video_core/host_shaders
diff options
context:
space:
mode:
authorGravatar FengChen2022-09-15 17:04:44 +0800
committerGravatar FengChen2022-09-15 17:04:44 +0800
commit88007077e201552fe0d8db0b464ca0e2cc8cd256 (patch)
tree77dd37297b8d31af9f4d5975806cbebaf2753e75 /src/video_core/host_shaders
parentMerge pull request #8863 from german77/triggers (diff)
downloadyuzu-88007077e201552fe0d8db0b464ca0e2cc8cd256.tar.gz
yuzu-88007077e201552fe0d8db0b464ca0e2cc8cd256.tar.xz
yuzu-88007077e201552fe0d8db0b464ca0e2cc8cd256.zip
video_core: Modify astc texture decode error fill value
Diffstat (limited to 'src/video_core/host_shaders')
-rw-r--r--src/video_core/host_shaders/astc_decoder.comp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/host_shaders/astc_decoder.comp b/src/video_core/host_shaders/astc_decoder.comp
index 3441a5fe5..d608678a3 100644
--- a/src/video_core/host_shaders/astc_decoder.comp
+++ b/src/video_core/host_shaders/astc_decoder.comp
@@ -1065,7 +1065,7 @@ TexelWeightParams DecodeBlockInfo() {
1065void FillError(ivec3 coord) { 1065void FillError(ivec3 coord) {
1066 for (uint j = 0; j < block_dims.y; j++) { 1066 for (uint j = 0; j < block_dims.y; j++) {
1067 for (uint i = 0; i < block_dims.x; i++) { 1067 for (uint i = 0; i < block_dims.x; i++) {
1068 imageStore(dest_image, coord + ivec3(i, j, 0), vec4(1.0, 1.0, 0.0, 1.0)); 1068 imageStore(dest_image, coord + ivec3(i, j, 0), vec4(0.0, 0.0, 0.0, 0.0));
1069 } 1069 }
1070 } 1070 }
1071} 1071}