Lines Matching refs:it_a
954 auto it_a = attribs.begin(); in ValidateViAgainstVsInputs() local
958 …while ((attribs.size() > 0 && it_a != attribs.end()) || (inputs.size() > 0 && it_b != inputs.end()… in ValidateViAgainstVsInputs()
959 bool a_at_end = attribs.size() == 0 || it_a == attribs.end(); in ValidateViAgainstVsInputs()
961 auto a_first = a_at_end ? 0 : it_a->first; in ValidateViAgainstVsInputs()
972 it_a++; in ValidateViAgainstVsInputs()
979 unsigned attrib_type = GetFormatType(it_a->second->format); in ValidateViAgainstVsInputs()
987 … string_VkFormat(it_a->second->format), a_first, DescribeType(vs, it_b->second.type_id).c_str()); in ValidateViAgainstVsInputs()
1019 auto it_a = outputs.begin(); in ValidateFsOutputsAgainstRenderPass() local
1028 …while ((outputs.size() > 0 && it_a != outputs.end()) || (color_attachments.size() > 0 && it_b != c… in ValidateFsOutputsAgainstRenderPass()
1029 bool a_at_end = outputs.size() == 0 || it_a == outputs.end(); in ValidateFsOutputsAgainstRenderPass()
1032 if (!a_at_end && it_a->first.first == 0 && fs->get_def(it_a->second.type_id) != fs->end() && in ValidateFsOutputsAgainstRenderPass()
1033 GetComponentsConsumedByType(fs, it_a->second.type_id, false) == 4) in ValidateFsOutputsAgainstRenderPass()
1036 if (!a_at_end && (b_at_end || it_a->first.first < it_b->first)) { in ValidateFsOutputsAgainstRenderPass()
1037 if (!alphaToCoverageEnabled || it_a->first.first != 0) { in ValidateFsOutputsAgainstRenderPass()
1040 … "fragment shader writes to output location %d with no matching attachment", it_a->first.first); in ValidateFsOutputsAgainstRenderPass()
1042 it_a++; in ValidateFsOutputsAgainstRenderPass()
1043 } else if (!b_at_end && (a_at_end || it_a->first.first > it_b->first)) { in ValidateFsOutputsAgainstRenderPass()
1057 unsigned output_type = GetFundamentalType(fs, it_a->second.type_id); in ValidateFsOutputsAgainstRenderPass()
1066 … it_b->first, string_VkFormat(it_b->second), DescribeType(fs, it_a->second.type_id).c_str()); in ValidateFsOutputsAgainstRenderPass()
1070 it_a++; in ValidateFsOutputsAgainstRenderPass()