File tree Expand file tree Collapse file tree
Graphics/GraphicsEngineVulkan Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -154,12 +154,6 @@ class PipelineResourceSignatureVkImpl final : public PipelineResourceSignatureBa
154154 void CommitDynamicResources (const ShaderResourceCacheVk& ResourceCache,
155155 VkDescriptorSet vkDynamicDescriptorSet) const ;
156156
157- // Returns the number of inline constant buffers
158- Uint32 GetNumInlineConstantBuffers () const { return m_NumInlineConstantBuffers; }
159-
160- // Returns the inline constant buffer attributes
161- const InlineConstantBufferAttribsVk* GetInlineConstantBuffers () const { return m_InlineConstantBuffers.get (); }
162-
163157 // Updates inline constant buffers by mapping the internal buffers and copying data from the resource cache
164158 // ResourceCache must be valid - each SRB has its own copy of inline constant data stored in the cache
165159 // PushConstantResIndex: Resource index of the inline constant selected as push constant by PSO
Original file line number Diff line number Diff line change @@ -424,7 +424,7 @@ void DeviceContextVkImpl::UpdateInlineConstantBuffers(ResourceBindInfo& BindInfo
424424 for (Uint32 i = 0 ; i < SignCount; ++i)
425425 {
426426 const PipelineResourceSignatureVkImpl* pSign = m_pPipelineState->GetResourceSignature (i);
427- if (pSign == nullptr || pSign->GetNumInlineConstantBuffers () == 0 )
427+ if (pSign == nullptr || ! pSign->HasInlineConstants () )
428428 continue ;
429429
430430 const ShaderResourceCacheVk* pResourceCache = BindInfo.ResourceCaches [i];
You can’t perform that action at this time.
0 commit comments