summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Faye-Lund <erik.faye-lund@collabora.com>2022-10-05 18:19:07 +0200
committerMarge Bot <emma+marge@anholt.net>2022-10-07 17:06:58 +0000
commitb666c203eed8c3bd0825b23c65bfb79c4be53735 (patch)
tree528d5959bccf03fb38783ca3a5c019e9e101bc98
parent12acee17fad5e939a4fa6ac9ce3bd4753fd0326c (diff)
downloadmesa-b666c203eed8c3bd0825b23c65bfb79c4be53735.tar.gz
mesa-b666c203eed8c3bd0825b23c65bfb79c4be53735.tar.bz2
mesa-b666c203eed8c3bd0825b23c65bfb79c4be53735.zip
gallium/u_threaded_context: remove stale comment
We're now using PIPE_SHADER_MAX_SAMPLER_VIEWS, so this advice is outdated. Fixes: 620c5e9dd05 ("gallium/u_threaded_context: Use PIPE_MAX_SHADER_SAMPLER_VIEWS for sampler_buffers") Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18973>
-rw-r--r--src/gallium/auxiliary/util/u_threaded_context.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_threaded_context.h b/src/gallium/auxiliary/util/u_threaded_context.h
index 337ab95e030..67296fc9efc 100644
--- a/src/gallium/auxiliary/util/u_threaded_context.h
+++ b/src/gallium/auxiliary/util/u_threaded_context.h
@@ -541,7 +541,6 @@ struct threaded_context {
uint32_t image_buffers[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_IMAGES];
uint32_t shader_buffers_writeable_mask[PIPE_SHADER_TYPES];
uint64_t image_buffers_writeable_mask[PIPE_SHADER_TYPES];
- /* Don't use PIPE_MAX_SHADER_SAMPLER_VIEWS because it's too large. */
uint32_t sampler_buffers[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_SAMPLER_VIEWS];
struct tc_batch batch_slots[TC_MAX_BATCHES];