• Home
  • Raw
  • Download

Lines Matching refs:capability

32 bool IsSupportGuaranteedVulkan_1_0(uint32_t capability) {  in IsSupportGuaranteedVulkan_1_0()  argument
33 switch (capability) { in IsSupportGuaranteedVulkan_1_0()
48 bool IsSupportGuaranteedVulkan_1_1(uint32_t capability) { in IsSupportGuaranteedVulkan_1_1() argument
49 if (IsSupportGuaranteedVulkan_1_0(capability)) return true; in IsSupportGuaranteedVulkan_1_1()
50 switch (capability) { in IsSupportGuaranteedVulkan_1_1()
58 bool IsSupportGuaranteedVulkan_1_2(uint32_t capability) { in IsSupportGuaranteedVulkan_1_2() argument
59 if (IsSupportGuaranteedVulkan_1_1(capability)) return true; in IsSupportGuaranteedVulkan_1_2()
60 switch (capability) { in IsSupportGuaranteedVulkan_1_2()
67 bool IsSupportOptionalVulkan_1_0(uint32_t capability) { in IsSupportOptionalVulkan_1_0() argument
68 switch (capability) { in IsSupportOptionalVulkan_1_0()
105 bool IsSupportOptionalVulkan_1_1(uint32_t capability) { in IsSupportOptionalVulkan_1_1() argument
106 if (IsSupportOptionalVulkan_1_0(capability)) return true; in IsSupportOptionalVulkan_1_1()
108 switch (capability) { in IsSupportOptionalVulkan_1_1()
133 bool IsSupportOptionalVulkan_1_2(uint32_t capability) { in IsSupportOptionalVulkan_1_2() argument
134 if (IsSupportOptionalVulkan_1_1(capability)) return true; in IsSupportOptionalVulkan_1_2()
136 switch (capability) { in IsSupportOptionalVulkan_1_2()
165 bool IsSupportGuaranteedOpenCL_1_2(uint32_t capability, bool embedded_profile) { in IsSupportGuaranteedOpenCL_1_2() argument
166 switch (capability) { in IsSupportGuaranteedOpenCL_1_2()
184 bool IsSupportGuaranteedOpenCL_2_0(uint32_t capability, bool embedded_profile) { in IsSupportGuaranteedOpenCL_2_0() argument
185 if (IsSupportGuaranteedOpenCL_1_2(capability, embedded_profile)) return true; in IsSupportGuaranteedOpenCL_2_0()
187 switch (capability) { in IsSupportGuaranteedOpenCL_2_0()
196 bool IsSupportGuaranteedOpenCL_2_2(uint32_t capability, bool embedded_profile) { in IsSupportGuaranteedOpenCL_2_2() argument
197 if (IsSupportGuaranteedOpenCL_2_0(capability, embedded_profile)) return true; in IsSupportGuaranteedOpenCL_2_2()
199 switch (capability) { in IsSupportGuaranteedOpenCL_2_2()
207 bool IsSupportOptionalOpenCL_1_2(uint32_t capability) { in IsSupportOptionalOpenCL_1_2() argument
208 switch (capability) { in IsSupportOptionalOpenCL_1_2()
217 bool IsEnabledByExtension(ValidationState_t& _, uint32_t capability) { in IsEnabledByExtension() argument
219 _.grammar().lookupOperand(SPV_OPERAND_TYPE_CAPABILITY, capability, in IsEnabledByExtension()
234 uint32_t capability) { in IsEnabledByCapabilityOpenCL_1_2() argument
236 switch (capability) { in IsEnabledByCapabilityOpenCL_1_2()
250 uint32_t capability) { in IsEnabledByCapabilityOpenCL_2_0() argument
252 switch (capability) { in IsEnabledByCapabilityOpenCL_2_0()
266 bool IsSupportGuaranteedWebGPU(uint32_t capability) { in IsSupportGuaranteedWebGPU() argument
267 switch (capability) { in IsSupportGuaranteedWebGPU()
293 const uint32_t capability = inst->word(operand.offset); in CapabilityPass() local
294 const auto capability_str = [&_, capability]() { in CapabilityPass()
296 if (_.grammar().lookupOperand(SPV_OPERAND_TYPE_CAPABILITY, capability, in CapabilityPass()
311 if (!IsSupportGuaranteedVulkan_1_0(capability) && in CapabilityPass()
312 !IsSupportOptionalVulkan_1_0(capability) && in CapabilityPass()
313 !IsEnabledByExtension(_, capability)) { in CapabilityPass()
320 if (!IsSupportGuaranteedVulkan_1_1(capability) && in CapabilityPass()
321 !IsSupportOptionalVulkan_1_1(capability) && in CapabilityPass()
322 !IsEnabledByExtension(_, capability)) { in CapabilityPass()
329 if (!IsSupportGuaranteedVulkan_1_2(capability) && in CapabilityPass()
330 !IsSupportOptionalVulkan_1_2(capability) && in CapabilityPass()
331 !IsEnabledByExtension(_, capability)) { in CapabilityPass()
338 if (!IsSupportGuaranteedOpenCL_1_2(capability, opencl_embedded) && in CapabilityPass()
339 !IsSupportOptionalOpenCL_1_2(capability) && in CapabilityPass()
340 !IsEnabledByExtension(_, capability) && in CapabilityPass()
341 !IsEnabledByCapabilityOpenCL_1_2(_, capability)) { in CapabilityPass()
350 if (!IsSupportGuaranteedOpenCL_2_0(capability, opencl_embedded) && in CapabilityPass()
351 !IsSupportOptionalOpenCL_1_2(capability) && in CapabilityPass()
352 !IsEnabledByExtension(_, capability) && in CapabilityPass()
353 !IsEnabledByCapabilityOpenCL_2_0(_, capability)) { in CapabilityPass()
361 if (!IsSupportGuaranteedOpenCL_2_2(capability, opencl_embedded) && in CapabilityPass()
362 !IsSupportOptionalOpenCL_1_2(capability) && in CapabilityPass()
363 !IsEnabledByExtension(_, capability) && in CapabilityPass()
364 !IsEnabledByCapabilityOpenCL_2_0(_, capability)) { in CapabilityPass()
372 if (!IsSupportGuaranteedWebGPU(capability) && in CapabilityPass()
373 !IsEnabledByExtension(_, capability)) { in CapabilityPass()