summaryrefslogtreecommitdiffstats
path: root/src/gallium/docs
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>2016-03-28 02:40:03 +0200
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>2016-04-02 01:50:59 +0200
commit01f993a21f859d372d68c2818d845ebf47d70492 (patch)
tree3795823ec0ec24b7a044380be9d67982a9786cb0 /src/gallium/docs
parentea8f4a6b13b94eb060bff4ccc6c13efc01d2b682 (diff)
downloadexternal_mesa3d-01f993a21f859d372d68c2818d845ebf47d70492.zip
external_mesa3d-01f993a21f859d372d68c2818d845ebf47d70492.tar.gz
external_mesa3d-01f993a21f859d372d68c2818d845ebf47d70492.tar.bz2
gallium: add threads per block TGSI property
The value 0 for unknown has been chosen to so that drivers using tgsi_scan_shader do not need to detect missing properties if they zero-initialize the struct. Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/gallium/docs')
-rw-r--r--src/gallium/docs/source/tgsi.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst
index 3ac6ba3..ac6052a 100644
--- a/src/gallium/docs/source/tgsi.rst
+++ b/src/gallium/docs/source/tgsi.rst
@@ -3220,6 +3220,12 @@ Which shader stage will MOST LIKELY follow after this shader when the shader
is bound. This is only a hint to the driver and doesn't have to be precise.
Only set for VS and TES.
+TGSI_PROPERTY_CS_FIXED_BLOCK_WIDTH / HEIGHT / DEPTH
+"""""""""""""""""""""""""""""""""""""""""""""""""""
+
+Threads per block in each dimension, if known at compile time. If the block size
+is known all three should be at least 1. If it is unknown they should all be set
+to 0 or not set.
Texture Sampling and Texture Formats
------------------------------------