diff options
author | FengChen <vonchenplus@gmail.com> | 2022-09-15 11:04:44 +0200 |
---|---|---|
committer | FengChen <vonchenplus@gmail.com> | 2022-09-15 11:04:44 +0200 |
commit | 88007077e201552fe0d8db0b464ca0e2cc8cd256 (patch) | |
tree | 77dd37297b8d31af9f4d5975806cbebaf2753e75 /src/video_core | |
parent | Merge pull request #8863 from german77/triggers (diff) | |
download | yuzu-88007077e201552fe0d8db0b464ca0e2cc8cd256.tar yuzu-88007077e201552fe0d8db0b464ca0e2cc8cd256.tar.gz yuzu-88007077e201552fe0d8db0b464ca0e2cc8cd256.tar.bz2 yuzu-88007077e201552fe0d8db0b464ca0e2cc8cd256.tar.lz yuzu-88007077e201552fe0d8db0b464ca0e2cc8cd256.tar.xz yuzu-88007077e201552fe0d8db0b464ca0e2cc8cd256.tar.zst yuzu-88007077e201552fe0d8db0b464ca0e2cc8cd256.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/host_shaders/astc_decoder.comp | 2 | ||||
-rw-r--r-- | src/video_core/textures/astc.cpp | 2 |
2 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 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() { void FillError(ivec3 coord) { for (uint j = 0; j < block_dims.y; j++) { for (uint i = 0; i < block_dims.x; i++) { - imageStore(dest_image, coord + ivec3(i, j, 0), vec4(1.0, 1.0, 0.0, 1.0)); + imageStore(dest_image, coord + ivec3(i, j, 0), vec4(0.0, 0.0, 0.0, 0.0)); } } } diff --git a/src/video_core/textures/astc.cpp b/src/video_core/textures/astc.cpp index e3f3d3c5d..a4d4e0ed5 100644 --- a/src/video_core/textures/astc.cpp +++ b/src/video_core/textures/astc.cpp @@ -1411,7 +1411,7 @@ static void FillVoidExtentLDR(InputBitStream& strm, std::span<u32> outBuf, u32 b static void FillError(std::span<u32> outBuf, u32 blockWidth, u32 blockHeight) { for (u32 j = 0; j < blockHeight; j++) { for (u32 i = 0; i < blockWidth; i++) { - outBuf[j * blockWidth + i] = 0xFFFF00FF; + outBuf[j * blockWidth + i] = 0x00000000; } } } |