You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#. **NumDescriptorRanges**: Number of descriptor ranges
575
+
#. **DescriptorRangesOffset**: Offset to descriptor range array
576
+
577
+
Descriptor Range Version 1.0
578
+
""""""""""""""""""""""""""""
559
579
560
580
.. code-block:: c
561
581
@@ -567,6 +587,19 @@ They allow multiple descriptors to be bound to the pipeline through a single roo
567
587
uint32_t OffsetInDescriptorsFromTableStart;
568
588
};
569
589
590
+
The Version 1.0 ``DescriptorRange_V1_0`` provides basic descriptor range definition:
591
+
592
+
#. **RangeType**: Type of descriptors (CBV, SRV, UAV, or Sampler)
593
+
#. **NumDescriptors**: Number of descriptors in the range
594
+
#. **BaseShaderRegister**: First shader register in the range
595
+
#. **RegisterSpace**: Register space for the range
596
+
#. **OffsetInDescriptorsFromTableStart**: Offset from the descriptor heap start
597
+
598
+
Descriptor Range Version 1.1
599
+
""""""""""""""""""""""""""""
600
+
601
+
.. code-block:: c
602
+
570
603
struct DescriptorRange_V1_1 {
571
604
dxbc::DescriptorRangeType RangeType;
572
605
uint32_t NumDescriptors;
@@ -588,36 +621,11 @@ They allow multiple descriptors to be bound to the pipeline through a single roo
588
621
uint32_t Flags;
589
622
};
590
623
591
-
struct RootDescriptorTable {
592
-
uint32_t NumDescriptorRanges;
593
-
uint32_t DescriptorRangesOffset;
594
-
};
595
-
596
-
597
-
Descriptor Range Version 1.0
598
-
""""""""""""""""""""""""""""
599
-
The Version 1.0 ``DescriptorRange_V1_0`` provides basic descriptor range definition:
600
-
601
-
#. **RangeType**: Type of descriptors (CBV, SRV, UAV, or Sampler)
602
-
#. **NumDescriptors**: Number of descriptors in the range
603
-
#. **BaseShaderRegister**: First shader register in the range
604
-
#. **RegisterSpace**: Register space for the range
605
-
#. **OffsetInDescriptorsFromTableStart**: Offset from the descriptor heap start
606
-
607
-
Descriptor Range Version 1.1
608
-
""""""""""""""""""""""""""""
609
624
The Version 1.1 DescriptorRange_V1_1 extends the base structure with performance optimization flags.
610
625
611
626
#. **Flags**: Provide additional information about the descriptors and enable further driver optimizations.
612
627
For details, check `Direct X documentation <https://learn.microsoft.com/en-us/windows/win32/direct3d12/root-signature-version-1-1#static-and-volatile-flags>`_.
0 commit comments