iris: sync bugfixes from brw_bufmgr
[mesa.git] / src / gallium / drivers / iris / iris_binder.h
index ea455dd5cfd674e3d189585c71ec989f3f00355f..e198cec415c4f18d38d57069703ad6448a8ae287 100644 (file)
@@ -32,6 +32,7 @@ struct iris_bo;
 struct iris_batch;
 struct iris_bufmgr;
 struct iris_compiled_shader;
+struct iris_context;
 
 struct iris_binder
 {
@@ -49,9 +50,10 @@ struct iris_binder
 };
 
 void iris_init_binder(struct iris_binder *binder, struct iris_bufmgr *bufmgr);
+bool iris_binder_is_empty(struct iris_binder *binder);
 void iris_destroy_binder(struct iris_binder *binder);
 uint32_t iris_binder_reserve(struct iris_batch *batch, unsigned size);
 void iris_binder_reserve_3d(struct iris_batch *batch,
-                            struct iris_compiled_shader **shaders);
+                            struct iris_context *ice);
 
 #endif