| 751 | } |
| 752 | |
| 753 | void VulkanBaseContext::ApplyParamDescriptor(ParamDescriptor && descriptor) |
| 754 | { |
| 755 | if (descriptor.m_type == ParamDescriptor::Type::DynamicUniformBuffer) |
| 756 | { |
| 757 | for (auto & param : m_paramDescriptors) |
| 758 | { |
| 759 | if (param.m_type == ParamDescriptor::Type::DynamicUniformBuffer) |
| 760 | { |
| 761 | param = std::move(descriptor); |
| 762 | return; |
| 763 | } |
| 764 | } |
| 765 | } |
| 766 | m_paramDescriptors.push_back(std::move(descriptor)); |
| 767 | } |
| 768 | |
| 769 | void VulkanBaseContext::ClearParamDescriptors() |
| 770 | { |
no test coverage detected