Skip to content

Commit 32fd3de

Browse files
authored
Address PR Comments
1 parent 351e6bb commit 32fd3de

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

llvm/docs/DirectX/DXContainer.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,7 @@ of static samplers, and a flags field for global behaviours:
448448
449449
Root Parameters
450450
~~~~~~~~~~~~~~~
451+
451452
Root parameters define how resources are bound to the shader pipeline, each
452453
type having different size and fields.
453454

@@ -475,10 +476,10 @@ encodings.
475476
Root Constants
476477
''''''''''''''
477478

478-
Root constants are values passed directly to shaders without needing a constant
479-
buffer. It is a 12 bytes long structure, two 32 bit values encoding the register
480-
and space the constant is assigned to, and one 32 bit value encoding the
481-
constant value.
479+
The root constants are inline 32-bit values that show up in the shader
480+
as a constant buffer. It is a 12 bytes long structure, two 32 bit values
481+
encoding the register and space the constant is assigned to, and one 32
482+
bit value encoding the constant value.
482483

483484
.. code-block:: c
484485
@@ -516,6 +517,7 @@ Version 1.0 doesn't contain the flags available in version 1.1.
516517
517518
Root Descriptor Table
518519
'''''''''''''''''''''
520+
519521
Descriptor tables let shaders access multiple resources through a single pointer
520522
to a descriptor heap.
521523

@@ -574,7 +576,6 @@ containing 13 32-byte fields of various enum, float, and integer values.
574576
ShaderVisibility ShaderVisibility;
575577
};
576578
577-
578579
SFI0 Part
579580
---------
580581
.. _SFI0:

0 commit comments

Comments
 (0)