mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 14:52:10 +01:00
[d3d9] Divide projected textures by w if ProjectedCount is 0
This commit is contained in:
parent
ce2f9f35ce
commit
9e26964a96
@ -1809,8 +1809,9 @@ namespace dxvk {
|
||||
texcoord, texcoord, texcoordCnt, indices.data());
|
||||
|
||||
uint32_t projIdx = m_fsKey.Stages[i].Contents.ProjectedCount;
|
||||
if (projIdx == 0 || projIdx > texcoordCnt)
|
||||
projIdx = texcoordCnt;
|
||||
if (projIdx == 0 || projIdx > texcoordCnt) {
|
||||
projIdx = 4; // Always use w if ProjectedCount is 0.
|
||||
}
|
||||
--projIdx;
|
||||
|
||||
uint32_t projValue = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user