@@ -837,8 +837,8 @@ class NBL_API2 ILogicalDevice : public core::IReferenceCounted, public IDeviceMe
837
837
// Create a pipeline layout (@see ICPUPipelineLayout)
838
838
core::smart_refctd_ptr<IGPUPipelineLayout> createPipelineLayout (
839
839
const std::span<const asset::SPushConstantRange> pcRanges={},
840
- core::smart_refctd_ptr<IGPUDescriptorSetLayout>&& _layout0=nullptr , core::smart_refctd_ptr<IGPUDescriptorSetLayout>&& _layout1=nullptr ,
841
- core::smart_refctd_ptr<IGPUDescriptorSetLayout>&& _layout2=nullptr , core::smart_refctd_ptr<IGPUDescriptorSetLayout>&& _layout3=nullptr
840
+ core::smart_refctd_ptr<const IGPUDescriptorSetLayout>&& _layout0=nullptr , core::smart_refctd_ptr<const IGPUDescriptorSetLayout>&& _layout1=nullptr ,
841
+ core::smart_refctd_ptr<const IGPUDescriptorSetLayout>&& _layout2=nullptr , core::smart_refctd_ptr<const IGPUDescriptorSetLayout>&& _layout3=nullptr
842
842
)
843
843
{
844
844
if ((_layout0 && !_layout0->wasCreatedBy (this )))
@@ -1217,8 +1217,8 @@ class NBL_API2 ILogicalDevice : public core::IReferenceCounted, public IDeviceMe
1217
1217
virtual core::smart_refctd_ptr<IGPUDescriptorSetLayout> createDescriptorSetLayout_impl (const std::span<const IGPUDescriptorSetLayout::SBinding> bindings, const uint32_t maxSamplersCount) = 0;
1218
1218
virtual core::smart_refctd_ptr<IGPUPipelineLayout> createPipelineLayout_impl (
1219
1219
const std::span<const asset::SPushConstantRange> pcRanges,
1220
- core::smart_refctd_ptr<IGPUDescriptorSetLayout>&& _layout0, core::smart_refctd_ptr<IGPUDescriptorSetLayout>&& _layout1,
1221
- core::smart_refctd_ptr<IGPUDescriptorSetLayout>&& _layout2, core::smart_refctd_ptr<IGPUDescriptorSetLayout>&& _layout3
1220
+ core::smart_refctd_ptr<const IGPUDescriptorSetLayout>&& _layout0, core::smart_refctd_ptr<const IGPUDescriptorSetLayout>&& _layout1,
1221
+ core::smart_refctd_ptr<const IGPUDescriptorSetLayout>&& _layout2, core::smart_refctd_ptr<const IGPUDescriptorSetLayout>&& _layout3
1222
1222
) = 0;
1223
1223
1224
1224
virtual core::smart_refctd_ptr<IDescriptorPool> createDescriptorPool_impl (const IDescriptorPool::SCreateInfo& createInfo) = 0;
0 commit comments