Lines Matching defs:ptr
594 auto ptr = reflectionData.data() + header.offsetPushConstants;
595 const auto constants = *ptr;
598 pipelineLayout.pushConstant.byteSize = static_cast<uint32_t>(*(ptr + 1) | (*(ptr + 2) << 8));
602 auto ptr = reflectionData.data() + header.offsetDescriptorSets;
603 pipelineLayout.descriptorSetCount = static_cast<uint32_t>(*(ptr) | (*(ptr + 1) << 8));
604 ptr += 2;
607 const uint32_t set = static_cast<uint32_t>(*ptr | (*(ptr + 1) << 8));
611 ptr += 2;
612 const auto bindings = static_cast<uint32_t>(*ptr | (*(ptr + 1) << 8));
613 ptr += 2;
616 binding.binding = static_cast<uint32_t>(*ptr | (*(ptr + 1) << 8));
617 ptr += 2;
618 binding.descriptorType = static_cast<DescriptorType>(*ptr | (*(ptr + 1) << 8));
619 ptr += 2;
620 binding.descriptorCount = static_cast<uint32_t>(*ptr | (*(ptr + 1) << 8));
621 ptr += 2;
635 auto ptr = reflectionData.data() + header.offsetSpecializationConstants;
636 const auto size = *ptr | *(ptr + 1) << 8 | *(ptr + 2) << 16 | *(ptr + 3) << 24;
637 ptr += 4;
641 constant.id = static_cast<uint32_t>(*ptr | *(ptr + 1) << 8 | *(ptr + 2) << 16 | *(ptr + 3) << 24);
642 ptr += 4;
644 *ptr | *(ptr + 1) << 8 | *(ptr + 2) << 16 | *(ptr + 3) << 24);
645 ptr += 4;
658 auto ptr = reflectionData.data() + header.offsetInputs;
659 const auto size = *(ptr) | (*(ptr + 1) << 8);
660 ptr += 2;
663 desc.location = static_cast<uint32_t>(*(ptr) | (*(ptr + 1) << 8));
664 ptr += 2;
666 desc.format = static_cast<Format>(*(ptr) | (*(ptr + 1) << 8));
667 ptr += 2;
680 auto ptr = reflectionData.data() + header.offsetLocalSize;
681 sizes.x = static_cast<uint32_t>(*ptr | (*(ptr + 1) << 8) | (*(ptr + 2)) << 16 | (*(ptr + 3)) << 24);
682 ptr += 4;
683 sizes.y = static_cast<uint32_t>(*ptr | (*(ptr + 1) << 8) | (*(ptr + 2)) << 16 | (*(ptr + 3)) << 24);
684 ptr += 4;
685 sizes.z = static_cast<uint32_t>(*ptr | (*(ptr + 1) << 8) | (*(ptr + 2)) << 16 | (*(ptr + 3)) << 24);
686 ptr += 4;
1351 auto ptr = reflection.data() + (sizeof(TAG) + sizeof(type));
1352 *ptr++ = offsetPushConstants & 0xff;
1353 *ptr++ = (offsetPushConstants >> 8) & 0xff;
1354 *ptr++ = offsetSpecializationConstants & 0xff;
1355 *ptr++ = (offsetSpecializationConstants >> 8) & 0xff;
1356 *ptr++ = offsetDescriptorSets & 0xff;
1357 *ptr++ = (offsetDescriptorSets >> 8) & 0xff;
1358 *ptr++ = offsetInputs & 0xff;
1359 *ptr++ = (offsetInputs >> 8) & 0xff;
1360 *ptr++ = offsetLocalSize & 0xff;
1361 *ptr++ = (offsetLocalSize >> 8) & 0xff;