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:

committed by
Marge Bot

parent
f0ddb389aa
commit
20e8e1eb06
@@ -122,7 +122,7 @@ void blorp_batch_finish(struct blorp_batch *batch);
|
|||||||
|
|
||||||
struct blorp_address {
|
struct blorp_address {
|
||||||
void *buffer;
|
void *buffer;
|
||||||
uint64_t offset;
|
int64_t offset;
|
||||||
unsigned reloc_flags;
|
unsigned reloc_flags;
|
||||||
uint32_t mocs;
|
uint32_t mocs;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user