Searched refs:b_insn (Results 1 – 1 of 1) sorted by relevance
/external/vulkan-validation-layers/layers/ |
D | shader_validation.cpp | 313 auto b_insn = b->get_def(b_type); in TypesMatch() local 315 assert(b_insn != b->end()); in TypesMatch() 323 if (b_arrayed && b_insn.opcode() == spv::OpTypeArray) { in TypesMatch() 325 return TypesMatch(a, b, a_type, b_insn.word(2), a_arrayed, false, relaxed); in TypesMatch() 328 if (a_insn.opcode() == spv::OpTypeVector && relaxed && IsNarrowNumericType(b_insn)) { in TypesMatch() 332 if (a_insn.opcode() != b_insn.opcode()) { in TypesMatch() 338 return TypesMatch(a, b, a_insn.word(3), b_insn.word(3), a_arrayed, b_arrayed, relaxed); in TypesMatch() 351 return a_insn.word(2) == b_insn.word(2) && a_insn.word(3) == b_insn.word(3); in TypesMatch() 354 return a_insn.word(2) == b_insn.word(2); in TypesMatch() 357 … if (!TypesMatch(a, b, a_insn.word(2), b_insn.word(2), a_arrayed, b_arrayed, false)) return false; in TypesMatch() [all …]
|