mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-25 07:05:48 +00:00
Add a DescriptorType to GetDescriptors query
* This will be optional in many cases but for some situations might be required when type information is not implicitly available in the descriptor store. Generally it should always be available unless the descriptor store is being viewed 'blank' purely from its contents with no other context.
This commit is contained in:
@@ -498,6 +498,8 @@ void D3D11PipelineStateViewer::OnEventChanged(uint32_t eventId)
|
||||
range.offset = 0;
|
||||
range.descriptorSize = state->descriptorByteSize;
|
||||
range.count = state->descriptorCount;
|
||||
// D3D11 doesn't need the descriptor type, it has internal type information
|
||||
range.type = DescriptorType::Unknown;
|
||||
|
||||
rdcarray<DescriptorRange> ranges = {range};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user