mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-13 19:29:14 +01:00
[dxso] Respect src modifiers in Texcrd for PS 1.4
`texcrd r4.xy, t4_dw.xyww` Cross Racing Championship Extreme 2005 uses a writemask in texcrd as well as the _dw modifier on the src which we weren't respecting previously. Closes #1450
This commit is contained in:
parent
a6d554615e
commit
4405b51bf3
@ -2472,11 +2472,7 @@ void DxsoCompiler::emitControlFlowGenericLoop(
|
||||
|
||||
if (m_programInfo.majorVersion() == 1 && m_programInfo.minorVersion() == 4) {
|
||||
// TexCrd Op (PS 1.4)
|
||||
DxsoRegister texcoord;
|
||||
texcoord.id.type = DxsoRegisterType::PixelTexcoord;
|
||||
texcoord.id.num = ctx.src[0].id.num;
|
||||
|
||||
result = emitRegisterLoadRaw(texcoord, nullptr);
|
||||
result = emitRegisterLoad(ctx.src[0], ctx.dst.mask);
|
||||
} else {
|
||||
// TexCoord Op (PS 1.0 - PS 1.3)
|
||||
DxsoRegister texcoord;
|
||||
|
Loading…
x
Reference in New Issue
Block a user