From b666c203eed8c3bd0825b23c65bfb79c4be53735 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Wed, 5 Oct 2022 18:19:07 +0200 Subject: [PATCH] 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 Part-of: --- src/gallium/auxiliary/util/u_threaded_context.h | 1 - 1 file changed, 1 deletion(-) 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];