mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 09:30:11 +01:00
tgsi: document semantics for compute shaders
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
54138af1cd
commit
3f3640c86c
1 changed files with 28 additions and 0 deletions
|
|
@ -3054,6 +3054,34 @@ parameter to the clEnqueueNDRangeKernel call with which the shader
|
|||
was started.
|
||||
|
||||
|
||||
TGSI_SEMANTIC_GRID_SIZE
|
||||
"""""""""""""""""""""""
|
||||
|
||||
For compute shaders, this semantic indicates the maximum (x, y, z) dimensions
|
||||
of a grid of thread blocks.
|
||||
|
||||
|
||||
TGSI_SEMANTIC_BLOCK_ID
|
||||
""""""""""""""""""""""
|
||||
|
||||
For compute shaders, this semantic indicates the (x, y, z) coordinates of the
|
||||
current block inside of the grid.
|
||||
|
||||
|
||||
TGSI_SEMANTIC_BLOCK_SIZE
|
||||
""""""""""""""""""""""""
|
||||
|
||||
For compute shaders, this semantic indicates the maximum (x, y, z) dimensions
|
||||
of a block in threads.
|
||||
|
||||
|
||||
TGSI_SEMANTIC_THREAD_ID
|
||||
"""""""""""""""""""""""
|
||||
|
||||
For compute shaders, this semantic indicates the (x, y, z) coordinates of the
|
||||
current thread inside of the block.
|
||||
|
||||
|
||||
Declaration Interpolate
|
||||
^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue