materialsystem/shaderapidx9/shaderapidx8.cpp
void CShaderAPIDx8::CommitPerPassXboxFixups()
{
#if defined( _X360 )
	// send updated shader constants to gpu
	WriteShaderConstantsToGPU();

	// sRGB write state may have changed after RT set, have to re-set correct RT
	SetRenderTargetInternalXbox( m_hCachedRenderTarget );
#endif
}
//-----------------------------------------------------------------------------
// Handle Xbox GPU/DX API fixups necessary before actual draw.
//-----------------------------------------------------------------------------
Handle Xbox GPU/DX API fixups necessary before actual draw.
Handle Xbox GPU / DX API fixups necessary before actual draw .
void CShaderAPIDx8::CommitPerPassXboxFixups()
{
#if defined( _X360 )
	WriteShaderConstantsToGPU();
	SetRenderTargetInternalXbox( m_hCachedRenderTarget );
#endif
}
void CShaderAPIDx8 :: CommitPerPassXboxFixups ( ) { #if defined ( _X360 ) WriteShaderConstantsToGPU ( ) ; SetRenderTargetInternalXbox ( m_hCachedRenderTarget ) ; #endif }
Handle Xbox GPU/DX API fixups necessary before actual draw.
Handle Xbox GPU / DX API fixups necessary before actual draw .
// send updated shader constants to gpu // sRGB write state may have changed after RT set, have to re-set correct RT