File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Graphics/GraphicsEngineVulkan Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright 2019-2025 Diligent Graphics LLC
2+ * Copyright 2019-2026 Diligent Graphics LLC
33 * Copyright 2015-2019 Egor Yusov
44 *
55 * Licensed under the Apache License, Version 2.0 (the "License");
@@ -150,6 +150,12 @@ class PipelineResourceSignatureVkImpl final : public PipelineResourceSignatureBa
150150
151151 PipelineResourceSignatureInternalDataVk GetInternalData () const ;
152152
153+ bool HasInlineConstants () const
154+ {
155+ // TODO
156+ return false ;
157+ }
158+
153159private:
154160 // Resource cache group identifier
155161 enum CACHE_GROUP : size_t
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ void PipelineLayoutVk::Create(RenderDeviceVkImpl* pDe
9898 // Vulkan allows only one push constant range per pipeline layout.
9999 // Diligent API allows multiple inline constant resources, so we promote only the first inline constant
100100 // from resource signatures to push constants. Other inline constants remain uniform buffers.
101- if (!m_PushConstantInfo)
101+ if (!m_PushConstantInfo && pSignature-> HasInlineConstants () )
102102 {
103103 for (Uint32 r = 0 ; r < pSignature->GetTotalResourceCount (); ++r)
104104 {
You can’t perform that action at this time.
0 commit comments