33{
36 "CompositeLayout: cannot add field '{}' after finalization",
name);
37 return false;
38 }
41 "CompositeLayout: field name cannot be empty");
42 return false;
43 }
46 "CompositeLayout: duplicate field '{}'",
name);
47 return false;
48 }
49
50 m_fields.push_back({ .name = std::move(
name), .type =
type, .offset_bytes = 0, .size_bytes = size_bytes });
51 return true;
52}
#define MF_WARN(comp, ctx,...)
vk::PhysicalDeviceType type
std::vector< CompositeField > m_fields
std::optional< size_t > find_field(std::string_view name) const noexcept
Find a field index by name, or std::nullopt if absent.
@ Runtime
General runtime operations (default fallback)
@ Kakshya
Containers[Signalsource, Stream, File], Regions, DataProcessors.