#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 ValidateUniqueness(ValidationState_t& _, const Instruction* inst) { … }
spv_result_t ValidateTypeInt(ValidationState_t& _, const Instruction* inst) { … }
spv_result_t ValidateTypeFloat(ValidationState_t& _, const Instruction* inst) { … }
spv_result_t ValidateTypeVector(ValidationState_t& _, const Instruction* inst) { … }
spv_result_t ValidateTypeMatrix(ValidationState_t& _, const Instruction* inst) { … }
spv_result_t ValidateTypeArray(ValidationState_t& _, const Instruction* inst) { … }
spv_result_t ValidateTypeRuntimeArray(ValidationState_t& _,
const Instruction* inst) { … }
spv_result_t ValidateTypeStruct(ValidationState_t& _, const Instruction* inst) { … }
spv_result_t ValidateTypePointer(ValidationState_t& _,
const Instruction* inst) { … }
spv_result_t ValidateTypeFunction(ValidationState_t& _,
const Instruction* inst) { … }
spv_result_t ValidateTypeForwardPointer(ValidationState_t& _,
const Instruction* inst) { … }
spv_result_t ValidateTypeCooperativeMatrix(ValidationState_t& _,
const Instruction* inst) { … }
spv_result_t ValidateTypeUntypedPointerKHR(ValidationState_t& _,
const Instruction* inst) { … }
}
spv_result_t TypePass(ValidationState_t& _, const Instruction* inst) { … }
}
}