[D3D12] Refactor system and bool/loop constants into separate descriptor ranges
This commit is contained in:
@@ -28,12 +28,9 @@ class DxbcShaderTranslator : public ShaderTranslator {
|
||||
|
||||
// Constant buffer bindings in space 0.
|
||||
enum class CbufferRegister {
|
||||
// The D3D12 command processor has system and bool/loop constants in a
|
||||
// single descriptor range.
|
||||
// TODO(Triang3l): Make them root CBVs for speed.
|
||||
kSystemConstants,
|
||||
kBoolLoopConstants,
|
||||
kFloatConstants,
|
||||
kBoolLoopConstants,
|
||||
kFetchConstants,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user