summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/swr_fence.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/swr/swr_fence.h')
-rw-r--r--src/gallium/drivers/swr/swr_fence.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/swr_fence.h b/src/gallium/drivers/swr/swr_fence.h
index 80a4345af87..4766b5b8911 100644
--- a/src/gallium/drivers/swr/swr_fence.h
+++ b/src/gallium/drivers/swr/swr_fence.h
@@ -25,6 +25,8 @@
#include "pipe/p_state.h"
#include "util/u_inlines.h"
+#include "swr_fence_work.h"
+
struct pipe_screen;
struct swr_fence {
@@ -36,6 +38,12 @@ struct swr_fence {
unsigned pending;
unsigned id; /* Just for reference */
+
+ struct {
+ uint32_t count;
+ struct swr_fence_work head;
+ struct swr_fence_work *tail;
+ } work;
};