freedreno/ir3: do better job of marking convergence points
[mesa.git] / src / compiler / blob.h
index f0f28ec5fa70846ee3359e501c1f36ee1f2f660c..b56fa4b2fe012d028c2277e81dfb749eeac76538 100644 (file)
@@ -135,7 +135,7 @@ blob_write_bytes(struct blob *blob, const void *bytes, size_t to_write);
  * \return An offset to space allocated within \blob to which \to_write bytes
  * can be written, (or -1 in case of any allocation error).
  */
-ssize_t
+intptr_t
 blob_reserve_bytes(struct blob *blob, size_t to_write);
 
 /**
@@ -143,7 +143,7 @@ blob_reserve_bytes(struct blob *blob, size_t to_write);
  * space. Note that this must be used if later reading with \sa
  * blob_read_uint32, since it aligns the offset correctly.
  */
-ssize_t
+intptr_t
 blob_reserve_uint32(struct blob *blob);
 
 /**
@@ -151,7 +151,7 @@ blob_reserve_uint32(struct blob *blob);
  * space. Note that this must be used if later reading with \sa
  * blob_read_intptr, since it aligns the offset correctly.
  */
-ssize_t
+intptr_t
 blob_reserve_intptr(struct blob *blob);
 
 /**
@@ -294,6 +294,12 @@ blob_read_bytes(struct blob_reader *blob, size_t size);
 void
 blob_copy_bytes(struct blob_reader *blob, void *dest, size_t size);
 
+/**
+ * Skip \size bytes within the blob.
+ */
+void
+blob_skip_bytes(struct blob_reader *blob, size_t size);
+
 /**
  * Read a uint32_t from the current location, (and update the current location
  * to just past this uint32_t).