• Home
  • Raw
  • Download

Lines Matching +full:vulkan +full:- +full:rules

7 //     http://www.apache.org/licenses/LICENSE-2.0
44 spv::Op opcode = inst->opcode(); in ValidateScope()
51 << spvOpcodeString(opcode) << ": expected scope to be a 32-bit int"; in ValidateScope()
80 spv::Op opcode = inst->opcode(); in ValidateExecutionScope()
95 // Vulkan specific rules in ValidateExecutionScope()
96 if (spvIsVulkanEnv(_.context()->target_env)) { in ValidateExecutionScope()
97 // Vulkan 1.1 specific rules in ValidateExecutionScope()
98 if (_.context()->target_env != SPV_ENV_VULKAN_1_0) { in ValidateExecutionScope()
104 << ": in Vulkan environment Execution scope is limited to " in ValidateExecutionScope()
113 _.function(inst->function()->id()) in ValidateExecutionScope()
114 ->RegisterExecutionModelLimitation([errorVUID]( in ValidateExecutionScope()
129 "in Vulkan environment, OpControlBarrier execution scope " in ValidateExecutionScope()
143 _.function(inst->function()->id()) in ValidateExecutionScope()
144 ->RegisterExecutionModelLimitation( in ValidateExecutionScope()
155 "in Vulkan environment, Workgroup execution scope is " in ValidateExecutionScope()
165 // Vulkan generic rules in ValidateExecutionScope()
170 << ": in Vulkan environment Execution Scope is limited to " in ValidateExecutionScope()
177 // General SPIRV rules in ValidateExecutionScope()
179 // non-uniform operations in ValidateExecutionScope()
192 const spv::Op opcode = inst->opcode(); in ValidateMemoryScope()
226 // Vulkan Specific rules in ValidateMemoryScope()
227 if (spvIsVulkanEnv(_.context()->target_env)) { in ValidateMemoryScope()
234 << ": in Vulkan environment Memory Scope is limited to Device, " in ValidateMemoryScope()
237 } else if (_.context()->target_env == SPV_ENV_VULKAN_1_0 && in ValidateMemoryScope()
243 << ": in Vulkan 1.0 environment Memory Scope is can not be " in ValidateMemoryScope()
250 _.function(inst->function()->id()) in ValidateMemoryScope()
251 ->RegisterExecutionModelLimitation( in ValidateMemoryScope()
273 _.function(inst->function()->id()) in ValidateMemoryScope()
274 ->RegisterExecutionModelLimitation( in ValidateMemoryScope()
295 _.function(inst->function()->id()) in ValidateMemoryScope()
296 ->RegisterExecutionModelLimitation( in ValidateMemoryScope()