summaryrefslogtreecommitdiffstats
path: root/src/gallium/docs/source
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-06-30 09:23:17 -0600
committerBrian Paul <[email protected]>2017-06-30 13:37:10 -0600
commitf4091e16381afc894723a5d4513a4005b609c26a (patch)
tree52b9521ddda5090f4224f4f7d76fa8cc74c6e62c /src/gallium/docs/source
parentd623040dd5dc14f07ba41ef6e822ce57e083fe7c (diff)
gallium/docs: clarify that samplers are not used with PIPE_BUFFER resources
Commit 8aba778fa2cd98a0b5a7429d3c5057778a0c808c "st/mesa: don't set sampler states for TBOs" changed how texture buffer objects are handled. Document the new convention. Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/docs/source')
-rw-r--r--src/gallium/docs/source/context.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/docs/source/context.rst b/src/gallium/docs/source/context.rst
index 6563a7e1503..a46131c31fe 100644
--- a/src/gallium/docs/source/context.rst
+++ b/src/gallium/docs/source/context.rst
@@ -99,6 +99,14 @@ objects. They all follow simple, one-method binding calls, e.g.
various debug messages, eventually reported via KHR_debug and
similar mechanisms.
+Samplers
+^^^^^^^^
+
+pipe_sampler_state objects control how textures are sampled (coordinate
+wrap modes, interpolation modes, etc). Note that samplers are not used
+for texture buffer objects. That is, pipe_context::bind_sampler_views()
+will not bind a sampler if the corresponding sampler view refers to a
+PIPE_BUFFER resource.
Sampler Views
^^^^^^^^^^^^^