docs: Mention PIPE_CAP_TEXTURE_BUFFER_SAMPLER

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8300>
This commit is contained in:
Icecream95
2021-01-08 11:20:02 +13:00
committed by Marge Bot
parent d5d3f77e4a
commit 1ffbf543b7

View File

@@ -124,9 +124,10 @@ objects. They all follow simple, one-method binding calls, e.g.
Samplers Samplers
^^^^^^^^ ^^^^^^^^
pipe_sampler_state objects control how textures are sampled (coordinate pipe_sampler_state objects control how textures are sampled
wrap modes, interpolation modes, etc). Note that samplers are not used (coordinate wrap modes, interpolation modes, etc). Note that unless
for texture buffer objects. That is, pipe_context::bind_sampler_views() ``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 will not bind a sampler if the corresponding sampler view refers to a
PIPE_BUFFER resource. PIPE_BUFFER resource.