mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
D3D11: Fix fog in software transform.
This commit is contained in:
parent
e688bb2cdf
commit
b5a2afef76
1 changed files with 3 additions and 0 deletions
|
@ -773,6 +773,9 @@ bool GenerateVertexShader(const VShaderID &id, char *buffer, const ShaderLanguag
|
|||
} else {
|
||||
WRITE(p, " vec4 position = In.position;\n");
|
||||
}
|
||||
if (!useHWTransform && enableFog) {
|
||||
WRITE(p, " float fog = In.fog;\n");
|
||||
}
|
||||
if (enableBones) {
|
||||
WRITE(p, "%s", boneWeightAttrInitHLSL[numBoneWeights]);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue