turnip: fix ts_cs_memory typo
authorJonathan Marek <jonathan@marek.ca>
Tue, 23 Jun 2020 14:37:18 +0000 (10:37 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 23 Jun 2020 21:12:09 +0000 (21:12 +0000)
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5606>

src/freedreno/vulkan/tu_clear_blit.c
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_cs.c
src/freedreno/vulkan/tu_cs.h
src/freedreno/vulkan/tu_pipeline.c
src/freedreno/vulkan/tu_private.h

index 9b729a562f56500ae79c6e99c35092d8df8a9705..be2222b407dedace0fde04ed9554bb6df27f7703 100644 (file)
@@ -473,7 +473,7 @@ r3d_common(struct tu_cmd_buffer *cmd, struct tu_cs *cs, bool blit, uint32_t num_
 #define GS_OFFSET (32 * sizeof(instr_t))
 
    /* shaders */
-   struct ts_cs_memory shaders = { };
+   struct tu_cs_memory shaders = { };
    VkResult result = tu_cs_alloc(&cmd->sub_cs, 2 + layered_clear,
                                  16 * sizeof(instr_t), &shaders);
    assert(result == VK_SUCCESS);
@@ -626,7 +626,7 @@ r3d_src_common(struct tu_cmd_buffer *cmd,
                uint32_t offset_ubwc,
                VkFilter filter)
 {
-   struct ts_cs_memory texture = { };
+   struct tu_cs_memory texture = { };
    VkResult result = tu_cs_alloc(&cmd->sub_cs,
                                  2, /* allocate space for a sampler too */
                                  A6XX_TEX_CONST_DWORDS, &texture);
@@ -1554,7 +1554,7 @@ tu_CmdUpdateBuffer(VkCommandBuffer commandBuffer,
 
    tu_bo_list_add(&cmd->bo_list, buffer->bo, MSM_SUBMIT_BO_WRITE);
 
-   struct ts_cs_memory tmp;
+   struct tu_cs_memory tmp;
    VkResult result = tu_cs_alloc(&cmd->sub_cs, DIV_ROUND_UP(dataSize, 64), 64, &tmp);
    if (result != VK_SUCCESS) {
       cmd->record_result = result;
index d6039184d8ba0612db6bd07f7e080a4a7dea4dd0..47e1c763043b5d7a1e30009d4abb0898e1b89973 100644 (file)
@@ -1176,7 +1176,7 @@ tu_emit_input_attachments(struct tu_cmd_buffer *cmd,
    if (!subpass->input_count)
       return;
 
-   struct ts_cs_memory texture;
+   struct tu_cs_memory texture;
    VkResult result = tu_cs_alloc(&cmd->sub_cs, subpass->input_count * 2,
                                  A6XX_TEX_CONST_DWORDS, &texture);
    assert(result == VK_SUCCESS);
@@ -1887,7 +1887,7 @@ tu_CmdBindDescriptorSets(VkCommandBuffer commandBuffer,
 
    if (layout->dynamic_offset_count) {
       /* allocate and fill out dynamic descriptor set */
-      struct ts_cs_memory dynamic_desc_set;
+      struct tu_cs_memory dynamic_desc_set;
       VkResult result = tu_cs_alloc(&cmd->sub_cs, layout->dynamic_offset_count,
                                     A6XX_TEX_CONST_DWORDS, &dynamic_desc_set);
       assert(result == VK_SUCCESS);
@@ -2175,7 +2175,7 @@ tu_EndCommandBuffer(VkCommandBuffer commandBuffer)
 static struct tu_cs
 tu_cmd_dynamic_state(struct tu_cmd_buffer *cmd, uint32_t id, uint32_t size)
 {
-   struct ts_cs_memory memory;
+   struct tu_cs_memory memory;
    struct tu_cs cs;
 
    /* TODO: share this logic with tu_pipeline_static_state */
index 9a9af0c3a006e76b12dc136a55af6ec8018f95b1..809d511fa2bed356084fbdea139d6a422382cf86 100644 (file)
@@ -268,7 +268,7 @@ VkResult
 tu_cs_alloc(struct tu_cs *cs,
             uint32_t count,
             uint32_t size,
-            struct ts_cs_memory *memory)
+            struct tu_cs_memory *memory)
 {
    assert(cs->mode == TU_CS_MODE_SUB_STREAM);
    assert(size && size <= 1024);
index 0dc69196b07bb94d10fee218c64859a979bf6150..9f446dacaf956f2437252d1cacba5ff1dd2b7ea2 100644 (file)
@@ -52,7 +52,7 @@ VkResult
 tu_cs_alloc(struct tu_cs *cs,
             uint32_t count,
             uint32_t size,
-            struct ts_cs_memory *memory);
+            struct tu_cs_memory *memory);
 
 struct tu_cs_entry
 tu_cs_end_sub_stream(struct tu_cs *cs, struct tu_cs *sub_cs);
index a3251621e8fd3083d95caa1b374386a5c1b908ea..59170cbea160f7e20543e0c3f52e595ff70f9617 100644 (file)
@@ -2125,7 +2125,7 @@ static bool
 tu_pipeline_static_state(struct tu_pipeline *pipeline, struct tu_cs *cs,
                          uint32_t id, uint32_t size)
 {
-   struct ts_cs_memory memory;
+   struct tu_cs_memory memory;
 
    if (pipeline->dynamic_state_mask & BIT(id))
       return false;
index 6a9e3410e2dff5b53e3f4213b52ecdb5bdfb54d4..434b9ce980adffd4134cebe888e1cf1aadbcd52b 100644 (file)
@@ -406,7 +406,7 @@ struct tu_cs_entry
    uint32_t offset;
 };
 
-struct ts_cs_memory {
+struct tu_cs_memory {
    uint32_t *map;
    uint64_t iova;
 };