diff options
author | Marek Olšák <[email protected]> | 2017-05-31 01:46:40 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-06-05 18:25:57 +0200 |
commit | 9275b2233ffb185b791840c9a3289c477c47b726 (patch) | |
tree | 34fcd9fac7e9eb538fd6df8288d3bed08f986cf3 /src/gallium/auxiliary/util/u_threaded_context.c | |
parent | 3b1ce49bc1e5aff87805b0bab255885c84bf5052 (diff) |
gallium/u_threaded: remove 16 bytes from tc_batch
All other sentinels occupy what is otherwise unused space.
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_threaded_context.c')
-rw-r--r-- | src/gallium/auxiliary/util/u_threaded_context.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_threaded_context.c b/src/gallium/auxiliary/util/u_threaded_context.c index 34206bfbf40..71211e6a8c0 100644 --- a/src/gallium/auxiliary/util/u_threaded_context.c +++ b/src/gallium/auxiliary/util/u_threaded_context.c @@ -67,7 +67,6 @@ static void tc_batch_check(struct tc_batch *batch) { tc_assert(batch->sentinel == TC_SENTINEL); - tc_assert(batch->sentinel2 == TC_SENTINEL); tc_assert(batch->num_total_call_slots <= TC_CALLS_PER_BATCH); } @@ -2207,7 +2206,6 @@ threaded_context_create(struct pipe_context *pipe, for (unsigned i = 0; i < TC_MAX_BATCHES; i++) { tc->batch_slots[i].sentinel = TC_SENTINEL; - tc->batch_slots[i].sentinel2 = TC_SENTINEL; tc->batch_slots[i].pipe = pipe; util_queue_fence_init(&tc->batch_slots[i].fence); } |