diff options
author | Samuel Pitoiset <[email protected]> | 2018-01-09 18:09:44 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-01-10 12:31:57 +0100 |
commit | a1f1f708c0d3f7ee8fb9ba013aeec1a2d20608d2 (patch) | |
tree | 78c12ae0b9e027d2593b5ae882026c333ca113d3 | |
parent | d43f50c00b8172abd0c9e934c3e193bdc85b5089 (diff) |
radv: remove radv_pipeline_layout::push_constant_stages field
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
-rw-r--r-- | src/amd/vulkan/radv_descriptor_set.c | 2 | ||||
-rw-r--r-- | src/amd/vulkan/radv_descriptor_set.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/amd/vulkan/radv_descriptor_set.c b/src/amd/vulkan/radv_descriptor_set.c index 19a560a6b34..b1ef66308d6 100644 --- a/src/amd/vulkan/radv_descriptor_set.c +++ b/src/amd/vulkan/radv_descriptor_set.c @@ -228,13 +228,11 @@ VkResult radv_CreatePipelineLayout( layout->dynamic_offset_count = dynamic_offset_count; layout->push_constant_size = 0; - layout->push_constant_stages = 0; for (unsigned i = 0; i < pCreateInfo->pushConstantRangeCount; ++i) { const VkPushConstantRange *range = pCreateInfo->pPushConstantRanges + i; layout->push_constant_size = MAX2(layout->push_constant_size, range->offset + range->size); - layout->push_constant_stages |= range->stageFlags; } layout->push_constant_size = align(layout->push_constant_size, 16); diff --git a/src/amd/vulkan/radv_descriptor_set.h b/src/amd/vulkan/radv_descriptor_set.h index 083a61fd99a..7fa79186a17 100644 --- a/src/amd/vulkan/radv_descriptor_set.h +++ b/src/amd/vulkan/radv_descriptor_set.h @@ -83,7 +83,6 @@ struct radv_pipeline_layout { uint32_t num_sets; uint32_t push_constant_size; - VkShaderStageFlags push_constant_stages; uint32_t dynamic_offset_count; unsigned char sha1[20]; |