File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Graphics/GraphicsEngineVulkan/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,9 +116,9 @@ inline PipelineResourceSignatureVkImpl::CACHE_GROUP PipelineResourceSignatureVkI
116116{
117117 // NB: SetId is always 0 for static/mutable variables, and 1 - for dynamic ones.
118118 // It is not the actual descriptor set index in the set layout!
119- const auto SetId = VarTypeToDescriptorSetId (Res.VarType );
120- const bool WithDynamicOffset = (Res.Flags & PIPELINE_RESOURCE_FLAG_NO_DYNAMIC_BUFFERS) == 0 ;
121- const bool UseTexelBuffer = (Res.Flags & PIPELINE_RESOURCE_FLAG_FORMATTED_BUFFER) != 0 ;
119+ const size_t SetId = VarTypeToDescriptorSetId (Res.VarType );
120+ const bool WithDynamicOffset = (Res.Flags & PIPELINE_RESOURCE_FLAG_NO_DYNAMIC_BUFFERS) == 0 ;
121+ const bool UseTexelBuffer = (Res.Flags & PIPELINE_RESOURCE_FLAG_FORMATTED_BUFFER) != 0 ;
122122
123123 if (WithDynamicOffset && !UseTexelBuffer)
124124 {
You can’t perform that action at this time.
0 commit comments