[D3D12] DXBC source operand loading - registers

This commit is contained in:
Triang3l
2018-09-02 23:35:11 +03:00
parent 4a2329da25
commit 45c83e84c8
2 changed files with 127 additions and 8 deletions

View File

@@ -229,8 +229,8 @@ class DxbcShaderTranslator : public ShaderTranslator {
// Temporary register containing data required to access the value if it has
// to be accessed in multiple operations (allocated with PushSystemTemp).
uint32_t intermediate_temp_register;
static constexpr uint32_t kIntermediateTempRegisterNone = UINT32_MAX;
uint32_t intermediate_register;
static constexpr uint32_t kIntermediateRegisterNone = UINT32_MAX;
};
// Each Load must be followed by Unload, otherwise there may be a temporary
// register leak.