diff options
author | Jason Ekstrand <[email protected]> | 2015-09-11 10:41:57 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-09-11 10:43:55 -0700 |
commit | de5220c7ce97d6aa72b84bf60f65886139e48eaf (patch) | |
tree | ffb9d6163d795fdef9ce569bf0b55c16cd40dd91 /src/vulkan/anv_pipeline.c | |
parent | b908c67816709d0bdcdec02b7926c80531508405 (diff) |
vk/pipeline_layout: Move surface/sampler start from SoA to AoS
This makes more sense to me and it's more consistent with
anv_descriptor_set_layout.
Diffstat (limited to 'src/vulkan/anv_pipeline.c')
-rw-r--r-- | src/vulkan/anv_pipeline.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vulkan/anv_pipeline.c b/src/vulkan/anv_pipeline.c index 9372fb318df..dba2a5e7b46 100644 --- a/src/vulkan/anv_pipeline.c +++ b/src/vulkan/anv_pipeline.c @@ -395,9 +395,9 @@ VkResult anv_CreatePipelineLayout( layout->set[i].layout = set_layout; for (uint32_t s = 0; s < VK_SHADER_STAGE_NUM; s++) { - layout->set[i].surface_start[s] = surface_start[s]; + layout->set[i].stage[s].surface_start = surface_start[s]; surface_start[s] += set_layout->stage[s].surface_count; - layout->set[i].sampler_start[s] = sampler_start[s]; + layout->set[i].stage[s].sampler_start = sampler_start[s]; sampler_start[s] += set_layout->stage[s].sampler_count; layout->stage[s].surface_count += set_layout->stage[s].surface_count; |