diff options
author | Michal Krol <michal@vmware.com> | 2010-02-03 15:45:32 +0100 |
---|---|---|
committer | Michal Krol <michal@vmware.com> | 2010-02-03 15:45:32 +0100 |
commit | 9637c8ade6d74cc6fe3c110aa46239ce8d811db1 (patch) | |
tree | 6325d07b3f852c7db235a1d592f8a0ba4dd85b1c | |
parent | 444cd62ca33a45bd39e8408979a0a01c246c6381 (diff) |
docs: Document TGSI Declaration token.
-rw-r--r-- | src/gallium/docs/source/tgsi.rst | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst index 3e702ceeda..2a9daeadc9 100644 --- a/src/gallium/docs/source/tgsi.rst +++ b/src/gallium/docs/source/tgsi.rst @@ -1290,6 +1290,34 @@ Other tokens --------------- +Declaration +^^^^^^^^^^^ + + +Declares a register that is will be referenced as an operand in Instruction +tokens. + +File field contains register file that is being declared and is one +of TGSI_FILE. + +UsageMask field specifies which of the register components can be accessed +and is one of TGSI_WRITEMASK. + +Interpolate field is only valid for fragment shader INPUT register files. +It specifes the way input is being interpolated by the rasteriser and is one +of TGSI_INTERPOLATE. + +If Dimension flag is set to 1, a Declaration Dimension token follows. + +If Semantic flag is set to 1, a Declaration Semantic token follows. + +CylindricalWrap bitfield is only valid for fragment shader INPUT register +files. It specifies which register components should be subject to cylindrical +wrapping when interpolating by the rasteriser. If TGSI_CYLINDRICAL_WRAP_X +is set to 1, the X component should be interpolated according to cylindrical +wrapping rules. + + Declaration Semantic ^^^^^^^^^^^^^^^^^^^^^^^^ |