Merge pull request #3775 from degasus/shader_opt
PixelShaderGen: Fixes implicit type conversion or PR #3772.
This commit is contained in:
commit
fc3c83eb7b
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue