Merge pull request #3775 from degasus/shader_opt

PixelShaderGen: Fixes implicit type conversion or PR #3772.
This commit is contained in:
Pierre Bourdon 2016-04-10 13:02:22 +02:00
commit fc3c83eb7b
1 changed files with 1 additions and 1 deletions

View File

@ -836,7 +836,7 @@ static void WriteStage(T& out, pixel_shader_uid_data* uid_data, int n, API_TYPE
uid_data->SetTevindrefTexmap(i, texmap); uid_data->SetTevindrefTexmap(i, texmap);
out.Write("\ttextemp = "); out.Write("\ttextemp = ");
SampleTexture<T>(out, "(tevcoord.xy)", texswap, texmap, ApiType); SampleTexture<T>(out, "float2(tevcoord.xy)", texswap, texmap, ApiType);
} }
else else
{ {