Lines Matching defs:header

577     const ReflectionHeader& header = *reinterpret_cast<const ReflectionHeader*>(reflectionData.data());

578 return memcmp(header.tag, REFLECTION_TAG, sizeof(REFLECTION_TAG)) == 0;
584 const ReflectionHeader& header = *reinterpret_cast<const ReflectionHeader*>(reflectionData.data());
585 flags = static_cast<ShaderStageFlagBits>(header.type);
592 const ReflectionHeader& header = *reinterpret_cast<const ReflectionHeader*>(reflectionData.data());
593 if (header.offsetPushConstants && header.offsetPushConstants < reflectionData.size()) {
594 auto ptr = reflectionData.data() + header.offsetPushConstants;
597 pipelineLayout.pushConstant.shaderStageFlags = static_cast<ShaderStageFlagBits>(header.type);
601 if (header.offsetDescriptorSets && header.offsetDescriptorSets < reflectionData.size()) {
602 auto ptr = reflectionData.data() + header.offsetDescriptorSets;
622 binding.shaderStageFlags = static_cast<ShaderStageFlagBits>(header.type);
633 const ReflectionHeader& header = *reinterpret_cast<const ReflectionHeader*>(reflectionData.data());
634 if (header.offsetSpecializationConstants && header.offsetSpecializationConstants < reflectionData.size()) {
635 auto ptr = reflectionData.data() + header.offsetSpecializationConstants;
640 constant.shaderStage = static_cast<ShaderStageFlagBits>(header.type);
656 const ReflectionHeader& header = *reinterpret_cast<const ReflectionHeader*>(reflectionData.data());
657 if (header.offsetInputs && header.offsetInputs < reflectionData.size()) {
658 auto ptr = reflectionData.data() + header.offsetInputs;
678 const ReflectionHeader& header = *reinterpret_cast<const ReflectionHeader*>(reflectionData.data());
679 if (header.offsetLocalSize && header.offsetLocalSize < reflectionData.size()) {
680 auto ptr = reflectionData.data() + header.offsetLocalSize;