diff options
author | 2013-08-29 00:56:33 +0000 | |
---|---|---|
committer | 2013-08-29 00:56:33 +0000 | |
commit | ac119a8e15e543535dc04c091b037aee2414a7c7 (patch) | |
tree | 83668932432f3acd9aa16f9e19ee0ec77ec8e96f /hlsl/color.fx | |
parent | 8fe60e88317e344a8acaf6506486795515e88397 (diff) |
uniform consolidation, nw
Diffstat (limited to 'hlsl/color.fx')
-rw-r--r-- | hlsl/color.fx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hlsl/color.fx b/hlsl/color.fx index 728e88ab85f..d74f523fcc2 100644 --- a/hlsl/color.fx +++ b/hlsl/color.fx @@ -45,8 +45,7 @@ struct PS_INPUT //----------------------------------------------------------------------------- uniform float2 ScreenDims; - -uniform float2 RawDims; +uniform float2 SourceDims; uniform float YIQEnable; @@ -54,7 +53,7 @@ VS_OUTPUT vs_main(VS_INPUT Input) { VS_OUTPUT Output = (VS_OUTPUT)0; - float2 invDims = 1.0f / RawDims; + float2 invDims = 1.0f / SourceDims; Output.Position = float4(Input.Position.xyz, 1.0f); Output.Position.xy /= ScreenDims; Output.Position.y = 1.0f - Output.Position.y; |