iris: implement clearing render target and depth stencil
[mesa.git] / src / gallium / drivers / iris / iris_fence.h
index 96e077bade858eb922ecf784d6b41c27a84aeb32..caf2ceeb3151442ffcededf82e0f828977c0e5b4 100644 (file)
@@ -27,6 +27,8 @@
 #include "util/u_inlines.h"
 
 struct pipe_screen;
+struct iris_screen;
+struct iris_batch;
 
 struct iris_syncpt {
    struct pipe_reference ref;
@@ -41,7 +43,9 @@ void iris_syncpt_destroy(struct iris_screen *, struct iris_syncpt *);
 void iris_batch_add_syncpt(struct iris_batch *batch,
                            struct iris_syncpt *syncpt,
                            unsigned flags);
-
+bool iris_wait_syncpt(struct pipe_screen *screen,
+                      struct iris_syncpt *syncpt,
+                      int64_t timeout_nsec);
 static inline void
 iris_syncpt_reference(struct iris_screen *screen,
                       struct iris_syncpt **dst,