Lines Matching refs:spv

38 			case spv::OpExecutionMode:
42 case spv::OpDecorate:
46 static_cast<spv::Decoration>(insn.word(2)),
51 case spv::OpMemberDecorate:
59 static_cast<spv::Decoration>(insn.word(3)),
64 case spv::OpDecorationGroup:
70 case spv::OpGroupDecorate:
81 case spv::OpGroupMemberDecorate:
96 case spv::OpTypeVoid:
97 case spv::OpTypeBool:
98 case spv::OpTypeInt:
99 case spv::OpTypeFloat:
100 case spv::OpTypeVector:
101 case spv::OpTypeMatrix:
102 case spv::OpTypeImage:
103 case spv::OpTypeSampler:
104 case spv::OpTypeSampledImage:
105 case spv::OpTypeArray:
106 case spv::OpTypeRuntimeArray:
107 case spv::OpTypeStruct:
108 case spv::OpTypePointer:
109 case spv::OpTypeFunction:
119 if (insn.opcode() == spv::OpTypeStruct)
134 else if (insn.opcode() == spv::OpTypePointer)
142 case spv::OpVariable:
146 auto storageClass = static_cast<spv::StorageClass>(insn.word(3));
162 if (storageClass == spv::StorageClassInput || storageClass == spv::StorageClassOutput)
169 case spv::OpConstant:
170 case spv::OpConstantComposite:
171 case spv::OpConstantFalse:
172 case spv::OpConstantTrue:
173 case spv::OpConstantNull:
184 case spv::OpCapability:
186 case spv::OpMemoryModel:
188 case spv::OpEntryPoint:
200 …assert(object.storageClass == spv::StorageClassInput || object.storageClass == spv::StorageClassOu… in ProcessInterfaceVariable()
202 …auto &builtinInterface = (object.storageClass == spv::StorageClassInput) ? inputBuiltins : outputB… in ProcessInterfaceVariable()
203 auto &userDefinedInterface = (object.storageClass == spv::StorageClassInput) ? inputs : outputs; in ProcessInterfaceVariable()
210 assert(ptrType.opcode() == spv::OpTypePointer); in ProcessInterfaceVariable()
246 auto mode = static_cast<spv::ExecutionMode>(insn.word(2)); in ProcessExecutionMode()
249 case spv::ExecutionModeEarlyFragmentTests: in ProcessExecutionMode()
252 case spv::ExecutionModeDepthReplacing: in ProcessExecutionMode()
255 case spv::ExecutionModeDepthGreater: in ProcessExecutionMode()
258 case spv::ExecutionModeDepthLess: in ProcessExecutionMode()
261 case spv::ExecutionModeDepthUnchanged: in ProcessExecutionMode()
264 case spv::ExecutionModeLocalSize: in ProcessExecutionMode()
269 case spv::ExecutionModeOriginUpperLeft: in ProcessExecutionMode()
284 case spv::OpTypeVoid: in ComputeTypeSize()
285 case spv::OpTypeSampler: in ComputeTypeSize()
286 case spv::OpTypeImage: in ComputeTypeSize()
287 case spv::OpTypeSampledImage: in ComputeTypeSize()
288 case spv::OpTypeFunction: in ComputeTypeSize()
289 case spv::OpTypeRuntimeArray: in ComputeTypeSize()
295 case spv::OpTypeBool: in ComputeTypeSize()
296 case spv::OpTypeFloat: in ComputeTypeSize()
297 case spv::OpTypeInt: in ComputeTypeSize()
302 case spv::OpTypeVector: in ComputeTypeSize()
303 case spv::OpTypeMatrix: in ComputeTypeSize()
307 case spv::OpTypeArray: in ComputeTypeSize()
314 case spv::OpTypeStruct: in ComputeTypeSize()
324 case spv::OpTypePointer: in ComputeTypeSize()
368 case spv::OpTypePointer: in PopulateInterfaceInner()
370 case spv::OpTypeMatrix: in PopulateInterfaceInner()
377 case spv::OpTypeVector: in PopulateInterfaceInner()
384 case spv::OpTypeFloat: in PopulateInterfaceInner()
387 case spv::OpTypeInt: in PopulateInterfaceInner()
390 case spv::OpTypeBool: in PopulateInterfaceInner()
393 case spv::OpTypeStruct: in PopulateInterfaceInner()
409 case spv::OpTypeArray: in PopulateInterfaceInner()
436 assert(def.opcode() == spv::OpVariable); in PopulateInterface()
440 void SpirvShader::Decorations::Apply(spv::Decoration decoration, uint32_t arg) in Apply()
444 case spv::DecorationLocation: in Apply()
448 case spv::DecorationComponent: in Apply()
452 case spv::DecorationBuiltIn: in Apply()
454 BuiltIn = static_cast<spv::BuiltIn>(arg); in Apply()
456 case spv::DecorationFlat: in Apply()
459 case spv::DecorationNoPerspective: in Apply()
462 case spv::DecorationCentroid: in Apply()
465 case spv::DecorationBlock: in Apply()
468 case spv::DecorationBufferBlock: in Apply()
514 assert(insn.opcode() == spv::OpConstant); in GetConstantInt()
515 assert(getType(insn.word(1)).definition.opcode() == spv::OpTypeInt); in GetConstantInt()