#include "source/opcode.h"
#include "source/spirv_target_env.h"
#include "source/val/instruction.h"
#include "source/val/validate.h"
#include "source/val/validation_state.h"
namespace spvtools {
namespace val {
namespace {
spv_result_t GetExtractInsertValueType(ValidationState_t& _,
const Instruction* inst,
uint32_t* member_type) { … }
spv_result_t ValidateVectorExtractDynamic(ValidationState_t& _,
const Instruction* inst) { … }
spv_result_t ValidateVectorInsertDyanmic(ValidationState_t& _,
const Instruction* inst) { … }
spv_result_t ValidateCompositeConstruct(ValidationState_t& _,
const Instruction* inst) { … }
spv_result_t ValidateCompositeExtract(ValidationState_t& _,
const Instruction* inst) { … }
spv_result_t ValidateCompositeInsert(ValidationState_t& _,
const Instruction* inst) { … }
spv_result_t ValidateCopyObject(ValidationState_t& _, const Instruction* inst) { … }
spv_result_t ValidateTranspose(ValidationState_t& _, const Instruction* inst) { … }
spv_result_t ValidateVectorShuffle(ValidationState_t& _,
const Instruction* inst) { … }
spv_result_t ValidateCopyLogical(ValidationState_t& _,
const Instruction* inst) { … }
}
spv_result_t CompositesPass(ValidationState_t& _, const Instruction* inst) { … }
}
}