gallium/u_threaded_context: remove stale comment

We're now using PIPE_SHADER_MAX_SAMPLER_VIEWS, so this advice is
outdated.

Fixes: 620c5e9dd0 ("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>
(cherry picked from commit b666c203eed8c3bd0825b23c65bfb79c4be53735)
This commit is contained in:
Erik Faye-Lund 2022-10-05 18:19:07 +02:00 committed by Dylan Baker
parent beb3819d66
commit db2417625e
2 changed files with 1 additions and 2 deletions

View File

@ -805,7 +805,7 @@
"description": "gallium/u_threaded_context: remove stale comment",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "620c5e9dd05c57c253fa1e56218e88fe7bd23d86"
},

View File

@ -532,7 +532,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];