From 2fe897eedaa2f85555cbe2cc74e8a7c241e1e618 Mon Sep 17 00:00:00 2001 From: IndecisiveTurtle <47210458+raphaelthegreat@users.noreply.github.com> Date: Mon, 1 Jul 2024 20:25:43 +0300 Subject: [PATCH] host_shaders: Fix R8G8 detiler --- src/video_core/host_shaders/detile_m8x2.comp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_core/host_shaders/detile_m8x2.comp b/src/video_core/host_shaders/detile_m8x2.comp index d93f9a7f..1cebc12b 100644 --- a/src/video_core/host_shaders/detile_m8x2.comp +++ b/src/video_core/host_shaders/detile_m8x2.comp @@ -56,6 +56,6 @@ void main() { for (int ofs = 0; ofs < TEXELS_PER_ELEMENT; ++ofs) { uint p0 = (p[ofs] >> 8) & 0xff; uint p1 = p[ofs] & 0xff; - imageStore(output_img, img_pos + ivec2(ofs, 0), uvec4(p0, p1, 0, 0)); + imageStore(output_img, img_pos + ivec2(ofs, 0), uvec4(p1, p0, 0, 0)); } }