summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PixelShaderGen.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2016-04-10 13:02:22 +0200
committerPierre Bourdon <delroth@gmail.com>2016-04-10 13:02:22 +0200
commitfc3c83eb7bd7528e88c063dd40c44c7af25ddce4 (patch)
tree3ca43c6ecc14b54388643fb63ccc350aa1471b7d /Source/Core/VideoCommon/PixelShaderGen.cpp
parentc4af5889457c10e3cad6c35c41045fe9017d9633 (diff)
parentef01f234df3f0c950ffe7727f3fe07d656795524 (diff)
Merge pull request #3775 from degasus/shader_opt
PixelShaderGen: Fixes implicit type conversion or PR #3772.
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp')
-rw-r--r--Source/Core/VideoCommon/PixelShaderGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp
index 70f033c3a3..b1b4a999a6 100644
--- a/Source/Core/VideoCommon/PixelShaderGen.cpp
+++ b/Source/Core/VideoCommon/PixelShaderGen.cpp
@@ -836,7 +836,7 @@ static void WriteStage(T& out, pixel_shader_uid_data* uid_data, int n, API_TYPE
uid_data->SetTevindrefTexmap(i, texmap);
out.Write("\ttextemp = ");
- SampleTexture<T>(out, "(tevcoord.xy)", texswap, texmap, ApiType);
+ SampleTexture<T>(out, "float2(tevcoord.xy)", texswap, texmap, ApiType);
}
else
{