mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-01 19:29:16 +01:00
[dxso] Fix RT mask for SM1
This commit is contained in:
parent
e0654977c9
commit
4b10846008
@ -38,10 +38,14 @@ namespace dxvk {
|
||||
m_constants = compiler->constants();
|
||||
m_maxDefinedConst = compiler->maxDefinedConstant();
|
||||
m_usedSamplers = compiler->usedSamplers();
|
||||
m_usedRTs = compiler->usedRTs();
|
||||
|
||||
compiler->finalize();
|
||||
|
||||
// SM 1 doesn't have explicit output registers and uses R0 instead.
|
||||
// The shader compiler emits the C0 write in finalize, so we have to get the rt mask
|
||||
// after that.
|
||||
m_usedRTs = compiler->usedRTs();
|
||||
|
||||
return compiler->compile();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user