summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl/downsample.fx
diff options
context:
space:
mode:
author ImJezze <jezze@gmx.net>2016-04-13 19:21:57 +0200
committer ImJezze <jezze@gmx.net>2016-04-13 19:21:57 +0200
commit32f0e6efac8b51dbdc11b390b64753227cbb6180 (patch)
treeaf19990b09f731d098ca93781b732e0724ebf7e9 /hlsl/downsample.fx
parent6be4d8312ccf4d9b5fde5fc2b5094e637fbdf7d7 (diff)
Removed hacks for vector screens from shaders (nw)
- added handling of texture coordinates for vector screens to core render - added handling of orientation/rotation for vector screens to D3D renderer
Diffstat (limited to 'hlsl/downsample.fx')
-rw-r--r--hlsl/downsample.fx5
1 files changed, 0 insertions, 5 deletions
diff --git a/hlsl/downsample.fx b/hlsl/downsample.fx
index 7b4d003dd7c..c069b0ad10e 100644
--- a/hlsl/downsample.fx
+++ b/hlsl/downsample.fx
@@ -55,8 +55,6 @@ uniform float2 ScreenDims;
uniform float2 TargetDims;
uniform float2 QuadDims;
-uniform bool VectorScreen;
-
static const float2 Coord0Offset = float2(-0.5f, -0.5f);
static const float2 Coord1Offset = float2( 0.5f, -0.5f);
static const float2 Coord2Offset = float2(-0.5f, 0.5f);
@@ -67,9 +65,6 @@ VS_OUTPUT vs_main(VS_INPUT Input)
VS_OUTPUT Output = (VS_OUTPUT)0;
float2 HalfTargetTexelDims = 0.5f / TargetDims;
- HalfTargetTexelDims *= VectorScreen
- ? (ScreenDims / QuadDims)
- : 1.0f;
Output.Position = float4(Input.Position.xyz, 1.0f);
Output.Position.xy /= ScreenDims;