From db2417625e6b328b2c78a1d8ab6bcb4c3accac9f 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: (cherry picked from commit b666c203eed8c3bd0825b23c65bfb79c4be53735) --- .pick_status.json | 2 +- src/gallium/auxiliary/util/u_threaded_context.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index 60ee6743b14..4cda8a3eab4 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -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" }, diff --git a/src/gallium/auxiliary/util/u_threaded_context.h b/src/gallium/auxiliary/util/u_threaded_context.h index ce63e74393f..143b843c9ca 100644 --- a/src/gallium/auxiliary/util/u_threaded_context.h +++ b/src/gallium/auxiliary/util/u_threaded_context.h @@ -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];