mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
gallium/u_threaded: move a structure up to be used later
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7056>
This commit is contained in:
parent
a44868beda
commit
d0916ccb10
1 changed files with 7 additions and 7 deletions
|
|
@ -60,6 +60,13 @@ enum tc_call_id {
|
|||
TC_NUM_CALLS,
|
||||
};
|
||||
|
||||
/* This is actually variable-sized, because indirect isn't allocated if it's
|
||||
* not needed. */
|
||||
struct tc_full_draw_info {
|
||||
struct pipe_draw_info draw;
|
||||
struct pipe_draw_indirect_info indirect;
|
||||
};
|
||||
|
||||
typedef void (*tc_execute)(struct pipe_context *pipe, union tc_payload *payload);
|
||||
|
||||
static const tc_execute execute_func[TC_NUM_CALLS];
|
||||
|
|
@ -2125,13 +2132,6 @@ out_of_memory:
|
|||
pipe->flush(pipe, fence, flags);
|
||||
}
|
||||
|
||||
/* This is actually variable-sized, because indirect isn't allocated if it's
|
||||
* not needed. */
|
||||
struct tc_full_draw_info {
|
||||
struct pipe_draw_info draw;
|
||||
struct pipe_draw_indirect_info indirect;
|
||||
};
|
||||
|
||||
static void
|
||||
tc_call_draw_vbo(struct pipe_context *pipe, union tc_payload *payload)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue