mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-01 16:24:12 +01:00
[dxbc] Parse dynamically indexed flag for constant buffers
This commit is contained in:
parent
7db98a1aa4
commit
68760f5b20
@ -327,6 +327,10 @@ namespace dxvk {
|
||||
DxbcUavFlags uavFlags() const {
|
||||
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);
|
||||
|
@ -625,5 +625,11 @@ namespace dxvk {
|
||||
Raw = 1,
|
||||
Structured = 2,
|
||||
};
|
||||
|
||||
|
||||
enum class DxbcConstantBufferAccessType : uint32_t {
|
||||
StaticallyIndexed = 0,
|
||||
DynamicallyIndexed = 1,
|
||||
};
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user