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 commitb666c203ee
)
This commit is contained in:

committed by
Dylan Baker

parent
beb3819d66
commit
db2417625e
@@ -805,7 +805,7 @@
|
|||||||
"description": "gallium/u_threaded_context: remove stale comment",
|
"description": "gallium/u_threaded_context: remove stale comment",
|
||||||
"nominated": true,
|
"nominated": true,
|
||||||
"nomination_type": 1,
|
"nomination_type": 1,
|
||||||
"resolution": 0,
|
"resolution": 1,
|
||||||
"main_sha": null,
|
"main_sha": null,
|
||||||
"because_sha": "620c5e9dd05c57c253fa1e56218e88fe7bd23d86"
|
"because_sha": "620c5e9dd05c57c253fa1e56218e88fe7bd23d86"
|
||||||
},
|
},
|
||||||
|
@@ -532,7 +532,6 @@ struct threaded_context {
|
|||||||
uint32_t image_buffers[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_IMAGES];
|
uint32_t image_buffers[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_IMAGES];
|
||||||
uint32_t shader_buffers_writeable_mask[PIPE_SHADER_TYPES];
|
uint32_t shader_buffers_writeable_mask[PIPE_SHADER_TYPES];
|
||||||
uint64_t image_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];
|
uint32_t sampler_buffers[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_SAMPLER_VIEWS];
|
||||||
|
|
||||||
struct tc_batch batch_slots[TC_MAX_BATCHES];
|
struct tc_batch batch_slots[TC_MAX_BATCHES];
|
||||||
|
Reference in New Issue
Block a user