GPU: Handle writes to the CB_DATA method.

Writing to this method will cause the written value to be stored in the currently-set ConstBuffer plus CB_POS.

This method is usually used to upload uniforms or other shader-visible data.
This commit is contained in:
Subv
2018-03-18 15:19:47 -05:00
parent a64b936cbe
commit 85d820b1b4
2 changed files with 39 additions and 0 deletions

View File

@ -218,6 +218,9 @@ private:
/// Handles a write to the QUERY_GET register.
void ProcessQueryGet();
/// Handles a write to the CB_DATA[i] register.
void ProcessCBData(u32 value);
/// Handles a write to the CB_BIND register.
void ProcessCBBind(Regs::ShaderStage stage);