blorp: Add blorp_alloc_general_state
Reworks: * Add crocus Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11564>
This commit is contained in:
@@ -139,6 +139,16 @@ blorp_alloc_dynamic_state(struct blorp_batch *blorp_batch,
|
||||
size, alignment, offset, NULL);
|
||||
}
|
||||
|
||||
UNUSED static void *
|
||||
blorp_alloc_general_state(struct blorp_batch *blorp_batch,
|
||||
uint32_t size,
|
||||
uint32_t alignment,
|
||||
uint32_t *offset)
|
||||
{
|
||||
/* Use dynamic state range for general state on iris. */
|
||||
return blorp_alloc_dynamic_state(blorp_batch, size, alignment, offset);
|
||||
}
|
||||
|
||||
static void
|
||||
blorp_alloc_binding_table(struct blorp_batch *blorp_batch,
|
||||
unsigned num_entries,
|
||||
|
Reference in New Issue
Block a user