Lines Matching refs:capability

43 // capability name that will begin the assembly under test, the second the
51 // depending on which capability was chosen. For instance, the following will
65 // the first-line capability exists in that std::vector, success is expected;
70 // cases to try the assembly with every possible capability that could be
89 const std::string& capability = Capability(p);
90 if (!capability.empty()) {
91 ss << "OpCapability " << capability << "\n";
104 // Assembles using v1.0, unless the parameter's capability requires v1.1.
1533 // not trigger the requirement for the associated capability.
1826 // capability.
2017 // TODO(umar): Instruction capability checks
2044 // True if capability exists in core spec of env.
2045 bool Exists(const std::string& capability, spv_target_env env) {
2050 capability.c_str(), capability.size());
2054 const std::string capability = Capability(GetParam());
2056 if (!capability.empty()) {
2057 if (Exists(capability, SPV_ENV_UNIVERSAL_1_0))
2059 else if (Exists(capability, SPV_ENV_UNIVERSAL_1_1))
2061 else if (Exists(capability, SPV_ENV_UNIVERSAL_1_2))
2074 const std::string capability = Capability(GetParam());
2075 if (Exists(capability, SPV_ENV_UNIVERSAL_1_1)) {
2085 const std::string capability = Capability(GetParam());
2086 if (Exists(capability, SPV_ENV_VULKAN_1_0)) {
2096 const std::string capability = Capability(GetParam());
2097 if (Exists(capability, SPV_ENV_VULKAN_1_1)) {
2107 const std::string capability = Capability(GetParam());
2108 if (Exists(capability, SPV_ENV_VULKAN_1_2)) {
2118 const std::string capability = Capability(GetParam());
2119 if (Exists(capability, SPV_ENV_OPENGL_4_0)) {
2135 // capability.
2192 "Kernel capability is used."));
2607 // in core, and is directly enabled by a capability, but not directly enabled
2663 // is directly enabled by a capability, but not directly enabled by an
2777 HasSubstr("VulkanMemoryModelKHR capability must only be "
2809 // the associated OpExtension instruction. Test one capability per extension.
2812 std::string capability;
2822 // Returns a minimal shader module with the given capability instruction.
2843 const auto spirv = MinimalShaderModuleWithCapability(GetParam().capability);
2858 const auto spirv = MinimalShaderModuleWithCapability(GetParam().capability);