XFBEncoder: Cosmetics.
This commit is contained in:
parent
9465a877f8
commit
81d1b7f0c2
|
@ -92,7 +92,7 @@ static const char XFB_ENCODE_PS[] =
|
||||||
"float3 SampleEFB(float2 coord)\n"
|
"float3 SampleEFB(float2 coord)\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
"float2 texCoord = lerp(float2(Params.TexLeft,Params.TexTop), float2(Params.TexRight,Params.TexBottom), coord / float2(Params.Width,Params.Height));\n"
|
"float2 texCoord = lerp(float2(Params.TexLeft,Params.TexTop), float2(Params.TexRight,Params.TexBottom), coord / float2(Params.Width,Params.Height));\n"
|
||||||
"return EFBTexture.Sample(EFBSampler, float3(texCoord, 0)).rgb;\n"
|
"return EFBTexture.Sample(EFBSampler, float3(texCoord, 0.0)).rgb;\n"
|
||||||
"}\n"
|
"}\n"
|
||||||
|
|
||||||
"void main(out float4 ocol0 : SV_Target, in float4 Pos : SV_Position, in float2 Coord : ENCODECOORD)\n"
|
"void main(out float4 ocol0 : SV_Target, in float4 Pos : SV_Position, in float2 Coord : ENCODECOORD)\n"
|
||||||
|
|
Loading…
Reference in New Issue