host_shaders: Fix R8G8 detiler

This commit is contained in:
IndecisiveTurtle 2024-07-01 20:25:43 +03:00
parent 7d4f0da40e
commit 2fe897eeda
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}
}