diff options
author | Brian Paul <[email protected]> | 2017-08-02 11:06:28 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-08-03 14:13:57 -0600 |
commit | 426673e27149576aac6285da47582a90cf8fe213 (patch) | |
tree | 3c76ee9688dfa93f0b0abfb2baf5a72d73886140 /src/gallium/docs | |
parent | 9e94aa7758f46a518a8d1fd86d07de429044cb3c (diff) |
gallium/docs: add more info about TXF and MSAA textures
If the texture is multisampled, the coord.w component indicates which
sample to fetch.
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/docs')
-rw-r--r-- | src/gallium/docs/source/tgsi.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst index d7817cc9d0e..d1e7c88905e 100644 --- a/src/gallium/docs/source/tgsi.rst +++ b/src/gallium/docs/source/tgsi.rst @@ -951,7 +951,9 @@ XXX doesn't look like most of the opcodes really belong here. image or PIPE_BUFFER resource. The source sampler may not be a CUBE or SHADOW. src 0 is a four-component signed integer vector used to identify the single texel - accessed. 3 components + level. Just like texture instructions, an optional + accessed. 3 components + level. If the texture is multisampled, then + the fourth component indicates the sample, not the mipmap level. + Just like texture instructions, an optional offset vector is provided, which is subject to various driver restrictions (regarding range, source of offsets). This instruction ignores the sampler state. |