mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-03 04:24:11 +01:00
[dxbc] Parse dynamically indexed flag for constant buffers
This commit is contained in:
parent
7db98a1aa4
commit
68760f5b20
@ -328,6 +328,10 @@ namespace dxvk {
|
||||
return DxbcUavFlags(bit::extract(m_bits, 16, 16));
|
||||
}
|
||||
|
||||
DxbcConstantBufferAccessType accessType() const {
|
||||
return DxbcConstantBufferAccessType(bit::extract(m_bits, 11, 11));
|
||||
}
|
||||
|
||||
uint32_t controlPointCount() const {
|
||||
return bit::extract(m_bits, 11, 16);
|
||||
}
|
||||
|
@ -626,4 +626,10 @@ namespace dxvk {
|
||||
Structured = 2,
|
||||
};
|
||||
|
||||
|
||||
enum class DxbcConstantBufferAccessType : uint32_t {
|
||||
StaticallyIndexed = 0,
|
||||
DynamicallyIndexed = 1,
|
||||
};
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user