mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 21:58:48 +00:00
D3D: Uber shader support
This commit is contained in:
parent
cd502990fa
commit
4bf5625895
15 changed files with 720 additions and 193 deletions
|
@ -136,7 +136,7 @@ void StateManager::Apply()
|
|||
m_current.pixelConstants[1] != m_pending.pixelConstants[1])
|
||||
{
|
||||
D3D::context->PSSetConstantBuffers(0, m_pending.pixelConstants[1] ? 2 : 1,
|
||||
m_pending.pixelConstants);
|
||||
m_pending.pixelConstants.data());
|
||||
m_current.pixelConstants[0] = m_pending.pixelConstants[0];
|
||||
m_current.pixelConstants[1] = m_pending.pixelConstants[1];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue