File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -507,6 +507,13 @@ to specify how shader stages access specific GPU resources.
507507
508508.. code-block :: cpp
509509
510+ enum RootDescriptorFlags {
511+ None = 0,
512+ DataVolatile = 0x2,
513+ DataStaticWhileSetAtExecute = 0x4,
514+ DataStatic = 0x8,
515+ }
516+
510517 // Version 1.0 Root Descriptor
511518 struct RootDescriptor_V1_0 {
512519 uint32_t ShaderRegister;
@@ -516,15 +523,7 @@ to specify how shader stages access specific GPU resources.
516523 // Version 1.1 Root Descriptor
517524 struct RootDescriptor_V1_1 {
518525 uint32_t ShaderRegister;
519- uint32_t RegisterSpace;
520- // New flags for Version 1.1
521- enum Flags {
522- None = 0x0,
523- DATA_STATIC = 0x1,
524- DATA_STATIC_WHILE_SET_AT_EXECUTE = 0x2,
525- DATA_VOLATILE = 0x4
526- };
527-
526+ uint32_t RegisterSpace;
528527 // Bitfield of flags from the Flags enum
529528 uint32_t Flags;
530529 };
You can’t perform that action at this time.
0 commit comments