summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3D/PixelShaderCache.cpp
diff options
context:
space:
mode:
authorJules Blok <jules.blok@gmail.com>2014-12-05 13:53:30 +0100
committerJules Blok <jules.blok@gmail.com>2014-12-14 13:28:49 +0100
commitfd6b5886270a1433cc315895f30036e4bd4729f0 (patch)
tree79a87dcb4b93b0f77fc3684d4a821e45a91ae8bc /Source/Core/VideoBackends/D3D/PixelShaderCache.cpp
parenta6ac7dd5bd9c68c006502d4f3e6342e2d01a6a2b (diff)
D3D: Define decimals in floating point numbers
Diffstat (limited to 'Source/Core/VideoBackends/D3D/PixelShaderCache.cpp')
-rw-r--r--Source/Core/VideoBackends/D3D/PixelShaderCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/D3D/PixelShaderCache.cpp b/Source/Core/VideoBackends/D3D/PixelShaderCache.cpp
index 17290a5ba0..02a373e709 100644
--- a/Source/Core/VideoBackends/D3D/PixelShaderCache.cpp
+++ b/Source/Core/VideoBackends/D3D/PixelShaderCache.cpp
@@ -68,7 +68,7 @@ const char anaglyph_program_code[] = {
"out float4 ocol0 : SV_Target,\n"
"in float4 pos : SV_Position,\n"
"in float3 uv0 : TEXCOORD0){\n"
- "float4 c0 = Tex0.Sample(samp0, float3(uv0.xy, 0));\n"
+ "float4 c0 = Tex0.Sample(samp0, float3(uv0.xy, 0.0));\n"
"float4 c1 = Tex0.Sample(samp0, float3(uv0.xy, 1));\n"
"ocol0 = float4(pow(0.7 * c0.g + 0.3 * c0.b, 1.5), c1.gba);"
"}\n"