diff options
author | Jason Ekstrand <[email protected]> | 2015-07-28 17:47:04 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-07-28 17:47:59 -0700 |
commit | 86a53d2880b27ef9b0a75f3a33debc0cd18f1ff7 (patch) | |
tree | c21aefe54344143e6a6483b6839f34aac2047a53 /src/vulkan/anv_cmd_emit.c | |
parent | 6aba52381a8bfad6f0f5bf7cda8cc77e57079e1a (diff) |
vk/cmd_buffer: Use a doubly-linked list for batch and surface buffers
This is probably better than hand-rolling the list of buffers.
Diffstat (limited to 'src/vulkan/anv_cmd_emit.c')
-rw-r--r-- | src/vulkan/anv_cmd_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/anv_cmd_emit.c b/src/vulkan/anv_cmd_emit.c index 8178e697964..e5997f755e0 100644 --- a/src/vulkan/anv_cmd_emit.c +++ b/src/vulkan/anv_cmd_emit.c @@ -141,7 +141,7 @@ anv_cmd_buffer_emit_state_base_address(struct anv_cmd_buffer *cmd_buffer) .GeneralStateBufferSize = 0xfffff, .GeneralStateBufferSizeModifyEnable = true, - .SurfaceStateBaseAddress = { &cmd_buffer->surface_batch_bo->bo, 0 }, + .SurfaceStateBaseAddress = { anv_cmd_buffer_current_surface_bo(cmd_buffer), 0 }, .SurfaceStateMemoryObjectControlState = GEN8_MOCS, .SurfaceStateBaseAddressModifyEnable = true, |