Merge pull request #3775 from degasus/shader_opt PixelShaderGen: Fixes implicit type conversion or PR #3772.