diff options
author | Bas Nieuwenhuizen <[email protected]> | 2019-01-10 22:07:04 +0100 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2019-03-11 10:01:41 -0700 |
commit | 4f32869e3dcd70f25e828d1e337e027c5980032b (patch) | |
tree | abdf8c8b226fd754ac622183ed67f334cab2b882 /src/freedreno/vulkan/tu_device.c | |
parent | 26261847cfcea3562d7eda04d2cdf883eb55d3d3 (diff) |
turnip: Shorten primary_cmd_stream name.
It really is too long.
Diffstat (limited to 'src/freedreno/vulkan/tu_device.c')
-rw-r--r-- | src/freedreno/vulkan/tu_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c index 976fdad1c49..6a46786fda3 100644 --- a/src/freedreno/vulkan/tu_device.c +++ b/src/freedreno/vulkan/tu_device.c @@ -1195,14 +1195,14 @@ tu_QueueSubmit(VkQueue _queue, uint32_t entry_count = 0; for(uint32_t j = 0; j < submit->commandBufferCount; ++j) { TU_FROM_HANDLE(tu_cmd_buffer, cmdbuf, submit->pCommandBuffers[j]); - entry_count += cmdbuf->primary_cmd_stream.entry_count; + entry_count += cmdbuf->cs.entry_count; } struct drm_msm_gem_submit_cmd cmds[entry_count]; uint32_t entry_idx = 0; for(uint32_t j = 0; j < submit->commandBufferCount; ++j) { TU_FROM_HANDLE(tu_cmd_buffer, cmdbuf, submit->pCommandBuffers[j]); - struct tu_cmd_stream *stream = &cmdbuf->primary_cmd_stream; + struct tu_cmd_stream *stream = &cmdbuf->cs; for (unsigned i = 0; i < stream->entry_count; ++i, ++entry_idx) { cmds[entry_idx].type = MSM_SUBMIT_CMD_BUF; cmds[entry_idx].submit_idx = tu_bo_list_add(&bo_list, stream->entries[i].bo); |