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()
106 << ": in Vulkan environment Execution scope is limited to " in ValidateExecutionScope()
115 _.function(inst->function()->id()) in ValidateExecutionScope()
116 ->RegisterExecutionModelLimitation([errorVUID]( in ValidateExecutionScope()
131 "in Vulkan environment, OpControlBarrier execution scope " in ValidateExecutionScope()
145 _.function(inst->function()->id()) in ValidateExecutionScope()
146 ->RegisterExecutionModelLimitation( in ValidateExecutionScope()
157 "in Vulkan environment, Workgroup execution scope is " in ValidateExecutionScope()
167 // Vulkan generic rules in ValidateExecutionScope()
172 << ": in Vulkan environment Execution Scope is limited to " in ValidateExecutionScope()
179 // General SPIRV rules in ValidateExecutionScope()
181 // non-uniform operations in ValidateExecutionScope()
196 const spv::Op opcode = inst->opcode(); in ValidateMemoryScope()
230 // Vulkan Specific rules in ValidateMemoryScope()
231 if (spvIsVulkanEnv(_.context()->target_env)) { in ValidateMemoryScope()
238 << ": in Vulkan environment Memory Scope is limited to Device, " in ValidateMemoryScope()
241 } else if (_.context()->target_env == SPV_ENV_VULKAN_1_0 && in ValidateMemoryScope()
247 << ": in Vulkan 1.0 environment Memory Scope is can not be " in ValidateMemoryScope()
254 _.function(inst->function()->id()) in ValidateMemoryScope()
255 ->RegisterExecutionModelLimitation( in ValidateMemoryScope()
277 _.function(inst->function()->id()) in ValidateMemoryScope()
278 ->RegisterExecutionModelLimitation( in ValidateMemoryScope()
299 _.function(inst->function()->id()) in ValidateMemoryScope()
300 ->RegisterExecutionModelLimitation( in ValidateMemoryScope()