summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_threaded_context.h
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2021-04-28 17:19:43 -0400
committerMarge Bot <eric+marge@anholt.net>2021-05-05 05:17:25 +0000
commit954f59f2af4a135f2af2d2b6e341b4332ad3cccd (patch)
tree08448673ed782d83feee5674814f7ebb9eafc1ce /src/gallium/auxiliary/util/u_threaded_context.h
parent20538b50c71c9c4fecd1a4c736a8d726411366ce (diff)
Revert "gallium/u_threaded: align batches and call slots to 16 bytes"
This reverts commit 3b1ce49bc1e5aff87805b0bab255885c84bf5052. It will be completely rewritten, but let's revert this first. Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.eric.pelloux-prayer@amd.com> Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10606>
Diffstat (limited to 'src/gallium/auxiliary/util/u_threaded_context.h')
-rw-r--r--src/gallium/auxiliary/util/u_threaded_context.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_threaded_context.h b/src/gallium/auxiliary/util/u_threaded_context.h
index 59c6f4acab2..86eaffa7192 100644
--- a/src/gallium/auxiliary/util/u_threaded_context.h
+++ b/src/gallium/auxiliary/util/u_threaded_context.h
@@ -321,8 +321,7 @@ union tc_payload {
bool boolean;
};
-/* Each call slot should be aligned to its own size for optimal cache usage. */
-struct ALIGN16 tc_call {
+struct tc_call {
unsigned sentinel;
ushort num_call_slots;
ushort call_id;