Lines Matching refs:it_a
876 auto it_a = attribs.begin(); in ValidateViAgainstVsInputs() local
880 …while ((attribs.size() > 0 && it_a != attribs.end()) || (inputs.size() > 0 && it_b != inputs.end()… in ValidateViAgainstVsInputs()
881 bool a_at_end = attribs.size() == 0 || it_a == attribs.end(); in ValidateViAgainstVsInputs()
883 auto a_first = a_at_end ? 0 : it_a->first; in ValidateViAgainstVsInputs()
894 it_a++; in ValidateViAgainstVsInputs()
901 unsigned attrib_type = GetFormatType(it_a->second->format); in ValidateViAgainstVsInputs()
909 … string_VkFormat(it_a->second->format), a_first, DescribeType(vs, it_b->second.type_id).c_str()); in ValidateViAgainstVsInputs()
941 auto it_a = outputs.begin(); in ValidateFsOutputsAgainstRenderPass() local
950 …while ((outputs.size() > 0 && it_a != outputs.end()) || (color_attachments.size() > 0 && it_b != c… in ValidateFsOutputsAgainstRenderPass()
951 bool a_at_end = outputs.size() == 0 || it_a == outputs.end(); in ValidateFsOutputsAgainstRenderPass()
954 if (!a_at_end && it_a->first.first == 0 && fs->get_def(it_a->second.type_id) != fs->end() && in ValidateFsOutputsAgainstRenderPass()
955 GetComponentsConsumedByType(fs, it_a->second.type_id, false) == 4) in ValidateFsOutputsAgainstRenderPass()
958 if (!a_at_end && (b_at_end || it_a->first.first < it_b->first)) { in ValidateFsOutputsAgainstRenderPass()
959 if (!alphaToCoverageEnabled || it_a->first.first != 0) { in ValidateFsOutputsAgainstRenderPass()
962 … "fragment shader writes to output location %d with no matching attachment", it_a->first.first); in ValidateFsOutputsAgainstRenderPass()
964 it_a++; in ValidateFsOutputsAgainstRenderPass()
965 } else if (!b_at_end && (a_at_end || it_a->first.first > it_b->first)) { in ValidateFsOutputsAgainstRenderPass()
979 unsigned output_type = GetFundamentalType(fs, it_a->second.type_id); in ValidateFsOutputsAgainstRenderPass()
988 … it_b->first, string_VkFormat(it_b->second), DescribeType(fs, it_a->second.type_id).c_str()); in ValidateFsOutputsAgainstRenderPass()
992 it_a++; in ValidateFsOutputsAgainstRenderPass()