#include <algorithm>
#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 ValidateEntryPoint(ValidationState_t& _, const Instruction* inst) { … }
spv_result_t ValidateExecutionMode(ValidationState_t& _,
const Instruction* inst) { … }
spv_result_t ValidateMemoryModel(ValidationState_t& _,
const Instruction* inst) { … }
bool PerEntryExecutionMode(spv::ExecutionMode mode) { … }
}
spv_result_t ValidateFloatControls2(ValidationState_t& _) { … }
spv_result_t ModeSettingPass(ValidationState_t& _, const Instruction* inst) { … }
spv_result_t ValidateDuplicateExecutionModes(ValidationState_t& _) { … }
}
}