diff options
author | Jason Ekstrand <[email protected]> | 2015-05-29 09:40:03 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-05-29 17:49:41 -0700 |
commit | 4ffbab5ae06531d088404245e860822b758970e3 (patch) | |
tree | 0260d7f71d95fe7118f079ff5c9b03a95b9a6f6e /src/vulkan/private.h | |
parent | c4bd5f87a0ef6af54e4f03c252dd95000ea026e3 (diff) |
vk/device: Allow for starting a new surface state buffer
This commit allows for us to create a whole new surface state buffer when
the old one runs out of room. We simply re-emit the state base address for
the new state, re-emit binding tables, and keep going.
Diffstat (limited to 'src/vulkan/private.h')
-rw-r--r-- | src/vulkan/private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vulkan/private.h b/src/vulkan/private.h index 72a10e5c0a8..153cb22d245 100644 --- a/src/vulkan/private.h +++ b/src/vulkan/private.h @@ -609,7 +609,7 @@ struct anv_vertex_binding { struct anv_descriptor_set_binding { struct anv_descriptor_set * set; - uint32_t dynamic_offsets[256]; + uint32_t dynamic_offsets[128]; }; struct anv_cmd_buffer { @@ -626,7 +626,7 @@ struct anv_cmd_buffer { uint32_t bo_count; struct anv_batch batch; struct anv_batch_bo * last_batch_bo; - struct anv_bo surface_bo; + struct anv_batch_bo * surface_batch_bo; uint32_t surface_next; struct anv_reloc_list surface_relocs; struct anv_state_stream binding_table_state_stream; |