blorp: support negative offsets in addresses

Similar to anv_address

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 9c1c1888d9 ("intel/fs: put scratch surface in the surface state heap")
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19946>
This commit is contained in:
Lionel Landwerlin
2022-11-23 09:26:42 +02:00
committed by Marge Bot
parent f0ddb389aa
commit 20e8e1eb06

View File

@@ -122,7 +122,7 @@ void blorp_batch_finish(struct blorp_batch *batch);
struct blorp_address {
void *buffer;
uint64_t offset;
int64_t offset;
unsigned reloc_flags;
uint32_t mocs;