libobs: Remove saturate from RGB -> YUV conversion

Incoming texture is UNORM, so the value must already be saturated.
This commit is contained in:
James Park 2019-05-18 22:10:42 -07:00
parent 37bf66b9dc
commit 0c5cb83bf4

View File

@ -37,7 +37,7 @@ float4 PSDrawAlphaDivide(VertInOut vert_in) : TARGET
float4 PSDrawMatrix(VertInOut vert_in) : TARGET
{
float3 rgb = image.Sample(def_sampler, vert_in.uv).rgb;
float3 yuv = mul(float4(saturate(rgb), 1.0), color_matrix).xyz;
float3 yuv = mul(float4(rgb, 1.0), color_matrix).xyz;
return float4(yuv, 1.0);
}