Mesa (master): docs: Mention PIPE_CAP_TEXTURE_BUFFER_SAMPLER
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Jan 12 19:25:10 UTC 2021
Module: Mesa
Branch: master
Commit: 1ffbf543b79b8a0e473cac13ba58f97a0e28f5b7
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ffbf543b79b8a0e473cac13ba58f97a0e28f5b7
Author: Icecream95 <ixn at disroot.org>
Date: Fri Jan 8 11:20:02 2021 +1300
docs: Mention PIPE_CAP_TEXTURE_BUFFER_SAMPLER
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8300>
---
docs/gallium/context.rst | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/docs/gallium/context.rst b/docs/gallium/context.rst
index 17e5af0a74b..3503f02c8d5 100644
--- a/docs/gallium/context.rst
+++ b/docs/gallium/context.rst
@@ -124,9 +124,10 @@ objects. They all follow simple, one-method binding calls, e.g.
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()
+pipe_sampler_state objects control how textures are sampled
+(coordinate wrap modes, interpolation modes, etc). Note that unless
+``PIPE_CAP_TEXTURE_BUFFER_SAMPLER`` is enabled, 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.
More information about the mesa-commit
mailing list