little fix for my last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6666 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
d59b1e5e7a
commit
0e737235a8
|
@ -64,13 +64,13 @@ void CreateRgbToYuyvProgram()
|
|||
"void main(\n"
|
||||
" out float4 ocol0 : COLOR0,\n"
|
||||
" in float2 uv0 : TEXCOORD0,\n"
|
||||
" in float uv1 : TEXCOORD1)\n"
|
||||
" in float uv2 : TEXCOORD1)\n"
|
||||
"{\n"
|
||||
" float2 uv1 = float2((uv0.x + 1.0f)/ blkDims.z, uv0.y / blkDims.w);\n"
|
||||
" float3 c0 = tex2D(samp0, uv0.xy / blkDims.zw).rgb;\n"
|
||||
" float3 c1 = tex2D(samp0, uv1).rgb;\n"
|
||||
" c0 = pow(c0,uv1.xxx);\n"
|
||||
" c1 = pow(c1,uv1.xxx);\n"
|
||||
" c0 = pow(c0,uv2.xxx);\n"
|
||||
" c1 = pow(c1,uv2.xxx);\n"
|
||||
" float3 y_const = float3(0.257f,0.504f,0.098f);\n"
|
||||
" float3 u_const = float3(-0.148f,-0.291f,0.439f);\n"
|
||||
" float3 v_const = float3(0.439f,-0.368f,-0.071f);\n"
|
||||
|
|
Loading…
Reference in New Issue