[D3D12] DXBC RDEF cbuffer bindings

This commit is contained in:
Triang3l
2018-08-29 20:32:31 +03:00
parent a30f8d6374
commit b2ddbb6096
2 changed files with 39 additions and 6 deletions

View File

@@ -188,6 +188,8 @@ class DxbcShaderTranslator : public ShaderTranslator {
uint32_t size;
CbufferRegister register_index;
uint32_t binding_count;
// True if created like `cbuffer`, false for `ConstantBuffer<T>`.
bool user_packed;
bool dynamic_indexed;
};
static const RdefConstantBuffer