diff options
author | Rob Clark <[email protected]> | 2017-04-12 11:47:22 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2017-04-14 12:46:12 -0400 |
commit | 16d493f1e7a58e8e1f6e665ac5e21f1b35b1f8f1 (patch) | |
tree | 202e8bd6434559fc88bce5a5fc20e5a597284e6f /src | |
parent | 0b613c20aa9675a2fc434742c1eed0efb572aa01 (diff) |
gallium/docs: small correction about register files for atomics
These can operate on MEMORY[], in addition to BUFFER[] and IMAGE[]
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/docs/source/tgsi.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst index f68d349a485..89acb521ced 100644 --- a/src/gallium/docs/source/tgsi.rst +++ b/src/gallium/docs/source/tgsi.rst @@ -2553,6 +2553,8 @@ after lookup. Resource Access Opcodes ^^^^^^^^^^^^^^^^^^^^^^^ +For these opcodes, the resource can be a BUFFER, IMAGE, or MEMORY. + .. opcode:: LOAD - Fetch data from a shader buffer or image Syntax: ``LOAD dst, resource, address`` @@ -2704,8 +2706,8 @@ These opcodes provide atomic variants of some common arithmetic and logical operations. In this context atomicity means that another concurrent memory access operation that affects the same memory location is guaranteed to be performed strictly before or after the -entire execution of the atomic operation. The resource may be a buffer -or an image. In the case of an image, the offset works the same as for +entire execution of the atomic operation. The resource may be a BUFFER, +IMAGE, or MEMORY. In the case of an image, the offset works the same as for ``LOAD`` and ``STORE``, specified above. These atomic operations may only be used with 32-bit integer image formats. |