From ef01f234df3f0c950ffe7727f3fe07d656795524 Mon Sep 17 00:00:00 2001 From: degasus Date: Sun, 10 Apr 2016 12:49:32 +0200 Subject: [PATCH] PixelShaderGen: Fixes implicit type conversion or PR #3772. This regression did only happen on OpenGL ES. --- Source/Core/VideoCommon/PixelShaderGen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(out, "(tevcoord.xy)", texswap, texmap, ApiType); + SampleTexture(out, "float2(tevcoord.xy)", texswap, texmap, ApiType); } else {