diff options
Diffstat (limited to 'system/shaders/yuv2rgb_basic_rect.arb')
-rw-r--r-- | system/shaders/yuv2rgb_basic_rect.arb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/shaders/yuv2rgb_basic_rect.arb b/system/shaders/yuv2rgb_basic_rect.arb index 82588a0080..b202d40e93 100644 --- a/system/shaders/yuv2rgb_basic_rect.arb +++ b/system/shaders/yuv2rgb_basic_rect.arb @@ -4,7 +4,8 @@ TEMP R0; TEMP R1; TEX R0.x, fragment.texcoord[0], texture[0], RECT; TEX R0.y, fragment.texcoord[1], texture[1], RECT; -TEX R0.z, fragment.texcoord[2], texture[2], RECT; +TEX R0.w, fragment.texcoord[2], texture[2], RECT; +MOV R0.z, R0.w; DPH R1.r, R0, yuvmat[0]; DPH R1.g, R0, yuvmat[1]; DPH R1.b, R0, yuvmat[2]; |