MoltenVKShaderConverter/MoltenVKSPIRVToMSLConverter/SPIRVToMSLConverter.cpp
void populateWorkgroupDimension(SPIRVWorkgroupSizeDimension& wgDim, uint32_t size, SPIRV_CROSS_NAMESPACE::SpecializationConstant& spvSpecConst) {
	wgDim.size = max(size, 1u);
	wgDim.isSpecialized = (spvSpecConst.id != 0);
	wgDim.specializationID = spvSpecConst.constant_id;
}
// Populate a workgroup size dimension.
Populate a workgroup size dimension.
Populate a workgroup size dimension .
void populateWorkgroupDimension(SPIRVWorkgroupSizeDimension& wgDim, uint32_t size, SPIRV_CROSS_NAMESPACE::SpecializationConstant& spvSpecConst) {
	wgDim.size = max(size, 1u);
	wgDim.isSpecialized = (spvSpecConst.id != 0);
	wgDim.specializationID = spvSpecConst.constant_id;
}
void populateWorkgroupDimension ( SPIRVWorkgroupSizeDimension & wgDim , uint32_t size , SPIRV_CROSS_NAMESPACE :: SpecializationConstant & spvSpecConst ) { wgDim . size = max ( size , 1u ) ; wgDim . isSpecialized = ( spvSpecConst . id != 0 ) ; wgDim . specializationID = spvSpecConst . constant_id ; }
Populate a workgroup size dimension.
Populate a workgroup size dimension .