mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 02:20:11 +01:00
i965: Let batchbuffers be placed anywhere in the 48-bit address space.
We were trying to mark batch buffers with EXEC_OBJECT_CAPTURE, and accidentally stomped EXEC_OBJECT_SUPPORTS_48B_ADDRESS in the process. There's no reason to restrict batch buffers to the lower 4GB. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
parent
8ffc6ee251
commit
0cc98522f9
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ recreate_growing_buffer(struct brw_context *brw,
|
|||
struct brw_bufmgr *bufmgr = screen->bufmgr;
|
||||
|
||||
grow->bo = brw_bo_alloc(bufmgr, name, size);
|
||||
grow->bo->kflags = can_do_exec_capture(screen) ? EXEC_OBJECT_CAPTURE : 0;
|
||||
grow->bo->kflags |= can_do_exec_capture(screen) ? EXEC_OBJECT_CAPTURE : 0;
|
||||
grow->partial_bo = NULL;
|
||||
grow->partial_bo_map = NULL;
|
||||
grow->partial_bytes = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue