diff --git a/src/wgpu/wgpu-shader-object-layout.cpp b/src/wgpu/wgpu-shader-object-layout.cpp index 1eb4305b..610ad402 100644 --- a/src/wgpu/wgpu-shader-object-layout.cpp +++ b/src/wgpu/wgpu-shader-object-layout.cpp @@ -284,6 +284,8 @@ void ShaderObjectLayoutImpl::Builder::_addDescriptorRangesAsValue( BindingOffset elementOffset = subObjectRangeOffset; elementOffset += BindingOffset(elementVarLayout); + + _addDescriptorRangesAsConstantBuffer(elementTypeLayout, containerOffset, elementOffset); } break; }