Home
last modified time | relevance | path

Searched refs:a_insn (Results 1 – 1 of 1) sorted by relevance

/external/vulkan-validation-layers/layers/
Dshader_validation.cpp367 auto a_insn = a->get_def(a_type); in TypesMatch() local
369 assert(a_insn != a->end()); in TypesMatch()
374 if (a_arrayed && a_insn.opcode() == spv::OpTypeArray) { in TypesMatch()
375 return TypesMatch(a, b, a_insn.word(2), b_type, false, b_arrayed, relaxed); in TypesMatch()
383 if (a_insn.opcode() == spv::OpTypeVector && relaxed && IsNarrowNumericType(b_insn)) { in TypesMatch()
384 return TypesMatch(a, b, a_insn.word(2), b_type, a_arrayed, b_arrayed, false); in TypesMatch()
387 if (a_insn.opcode() != b_insn.opcode()) { in TypesMatch()
391 if (a_insn.opcode() == spv::OpTypePointer) { in TypesMatch()
393 return TypesMatch(a, b, a_insn.word(3), b_insn.word(3), a_arrayed, b_arrayed, relaxed); in TypesMatch()
401 switch (a_insn.opcode()) { in TypesMatch()
[all …]