#include <cassert>
#include <string>
#include "source/opcode.h"
#include "source/val/instruction.h"
#include "source/val/validate.h"
#include "source/val/validation_state.h"
namespace spvtools {
namespace val {
namespace {
bool IsSupportGuaranteedVulkan_1_0(uint32_t capability) { … }
bool IsSupportGuaranteedVulkan_1_1(uint32_t capability) { … }
bool IsSupportGuaranteedVulkan_1_2(uint32_t capability) { … }
bool IsSupportOptionalVulkan_1_0(uint32_t capability) { … }
bool IsSupportOptionalVulkan_1_1(uint32_t capability) { … }
bool IsSupportOptionalVulkan_1_2(uint32_t capability) { … }
bool IsSupportGuaranteedOpenCL_1_2(uint32_t capability, bool embedded_profile) { … }
bool IsSupportGuaranteedOpenCL_2_0(uint32_t capability, bool embedded_profile) { … }
bool IsSupportGuaranteedOpenCL_2_2(uint32_t capability, bool embedded_profile) { … }
bool IsSupportOptionalOpenCL_1_2(uint32_t capability) { … }
bool IsEnabledByExtension(ValidationState_t& _, uint32_t capability) { … }
bool IsEnabledByCapabilityOpenCL_1_2(ValidationState_t& _,
uint32_t capability) { … }
bool IsEnabledByCapabilityOpenCL_2_0(ValidationState_t& _,
uint32_t capability) { … }
}
spv_result_t CapabilityPass(ValidationState_t& _, const Instruction* inst) { … }
}
}