コード例 #1
0
 private void SetUp(OpSubgroupAvcImeInitializeINTEL op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType    = treeBuilder.ResolveType(op.IdResultType);
     SrcCoord      = treeBuilder.GetNode(op.SrcCoord);
     PartitionMask = treeBuilder.GetNode(op.PartitionMask);
     SADAdjustment = treeBuilder.GetNode(op.SADAdjustment);
     SetUpDecorations(op, treeBuilder);
 }
コード例 #2
0
 private void SetUp(OpImageWrite op, SpirvInstructionTreeBuilder treeBuilder)
 {
     Image         = treeBuilder.GetNode(op.Image);
     Coordinate    = treeBuilder.GetNode(op.Coordinate);
     Texel         = treeBuilder.GetNode(op.Texel);
     ImageOperands = op.ImageOperands;
     SetUpDecorations(op, treeBuilder);
 }
 private void SetUp(OpSubgroupAvcSicEvaluateWithSingleReferenceINTEL op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     SrcImage   = treeBuilder.GetNode(op.SrcImage);
     RefImage   = treeBuilder.GetNode(op.RefImage);
     Payload    = treeBuilder.GetNode(op.Payload);
     SetUpDecorations(op, treeBuilder);
 }
コード例 #4
0
 private void SetUp(OpGroupBroadcast op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     Execution  = op.Execution;
     Value      = treeBuilder.GetNode(op.Value);
     LocalId    = treeBuilder.GetNode(op.LocalId);
     SetUpDecorations(op, treeBuilder);
 }
コード例 #5
0
 private void SetUp(OpPtrAccessChain op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     Base       = treeBuilder.GetNode(op.Base);
     Element    = treeBuilder.GetNode(op.Element);
     Indexes    = treeBuilder.GetNodes(op.Indexes);
     SetUpDecorations(op, treeBuilder);
 }
コード例 #6
0
 private void SetUp(OpGetMaxPipePackets op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType      = treeBuilder.ResolveType(op.IdResultType);
     Pipe            = treeBuilder.GetNode(op.Pipe);
     PacketSize      = treeBuilder.GetNode(op.PacketSize);
     PacketAlignment = treeBuilder.GetNode(op.PacketAlignment);
     SetUpDecorations(op, treeBuilder);
 }
コード例 #7
0
 private void SetUp(OpCooperativeMatrixMulAddNV op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     A          = treeBuilder.GetNode(op.A);
     B          = treeBuilder.GetNode(op.B);
     C          = treeBuilder.GetNode(op.C);
     SetUpDecorations(op, treeBuilder);
 }
コード例 #8
0
 private void SetUp(OpVectorInsertDynamic op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     Vector     = treeBuilder.GetNode(op.Vector);
     Component  = treeBuilder.GetNode(op.Component);
     Index      = treeBuilder.GetNode(op.Index);
     SetUpDecorations(op, treeBuilder);
 }
コード例 #9
0
 private void SetUp(OpBitFieldSExtract op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     Base       = treeBuilder.GetNode(op.Base);
     Offset     = treeBuilder.GetNode(op.Offset);
     Count      = treeBuilder.GetNode(op.Count);
     SetUpDecorations(op, treeBuilder);
 }
コード例 #10
0
 private void SetUp(OpImageTexelPointer op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     Image      = treeBuilder.GetNode(op.Image);
     Coordinate = treeBuilder.GetNode(op.Coordinate);
     Sample     = treeBuilder.GetNode(op.Sample);
     SetUpDecorations(op, treeBuilder);
 }
 private void SetUp(OpSubgroupAvcMceSetDualReferenceInterlacedFieldPolaritiesINTEL op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     ForwardReferenceFieldPolarity  = treeBuilder.GetNode(op.ForwardReferenceFieldPolarity);
     BackwardReferenceFieldPolarity = treeBuilder.GetNode(op.BackwardReferenceFieldPolarity);
     Payload = treeBuilder.GetNode(op.Payload);
     SetUpDecorations(op, treeBuilder);
 }
コード例 #12
0
 private void SetUp(OpGroupNonUniformShuffleDown op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     Execution  = op.Execution;
     Value      = treeBuilder.GetNode(op.Value);
     Delta      = treeBuilder.GetNode(op.Delta);
     SetUpDecorations(op, treeBuilder);
 }
コード例 #13
0
 private void SetUp(OpGroupNonUniformQuadSwap op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     Execution  = op.Execution;
     Value      = treeBuilder.GetNode(op.Value);
     Direction  = treeBuilder.GetNode(op.Direction);
     SetUpDecorations(op, treeBuilder);
 }
コード例 #14
0
 private void SetUp(OpSubgroupAvcImeSetSingleReferenceINTEL op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType         = treeBuilder.ResolveType(op.IdResultType);
     RefOffset          = treeBuilder.GetNode(op.RefOffset);
     SearchWindowConfig = treeBuilder.GetNode(op.SearchWindowConfig);
     Payload            = treeBuilder.GetNode(op.Payload);
     SetUpDecorations(op, treeBuilder);
 }
 private void SetUp(OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeReferenceIdsINTEL op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     Payload    = treeBuilder.GetNode(op.Payload);
     MajorShape = treeBuilder.GetNode(op.MajorShape);
     Direction  = treeBuilder.GetNode(op.Direction);
     SetUpDecorations(op, treeBuilder);
 }
コード例 #16
0
ファイル: CopyMemory.cs プロジェクト: gleblebedev/Toe.SPIRV
 private void SetUp(OpCopyMemory op, SpirvInstructionTreeBuilder treeBuilder)
 {
     Target        = treeBuilder.GetNode(op.Target);
     Source        = treeBuilder.GetNode(op.Source);
     MemoryAccess  = op.MemoryAccess;
     MemoryAccess2 = op.MemoryAccess2;
     SetUpDecorations(op, treeBuilder);
 }
コード例 #17
0
 private void SetUp(OpCommitReadPipe op, SpirvInstructionTreeBuilder treeBuilder)
 {
     Pipe            = treeBuilder.GetNode(op.Pipe);
     ReserveId       = treeBuilder.GetNode(op.ReserveId);
     PacketSize      = treeBuilder.GetNode(op.PacketSize);
     PacketAlignment = treeBuilder.GetNode(op.PacketAlignment);
     SetUpDecorations(op, treeBuilder);
 }
コード例 #18
0
 private void SetUp(OpGroupNonUniformBallotBitExtract op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     Execution  = op.Execution;
     Value      = treeBuilder.GetNode(op.Value);
     Index      = treeBuilder.GetNode(op.Index);
     SetUpDecorations(op, treeBuilder);
 }
コード例 #19
0
 private void SetUp(OpImageSparseSampleImplicitLod op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType    = treeBuilder.ResolveType(op.IdResultType);
     SampledImage  = treeBuilder.GetNode(op.SampledImage);
     Coordinate    = treeBuilder.GetNode(op.Coordinate);
     ImageOperands = op.ImageOperands;
     SetUpDecorations(op, treeBuilder);
 }
コード例 #20
0
 private void SetUp(OpSubgroupShuffleDownINTEL op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     Current    = treeBuilder.GetNode(op.Current);
     Next       = treeBuilder.GetNode(op.Next);
     Delta      = treeBuilder.GetNode(op.Delta);
     SetUpDecorations(op, treeBuilder);
 }
コード例 #21
0
 public void SetUp(OpTypeCooperativeMatrixNV op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ComponentType = treeBuilder.GetNode(op.ComponentType);
     Execution     = op.Execution;
     Rows          = treeBuilder.GetNode(op.Rows);
     Columns       = treeBuilder.GetNode(op.Columns);
     SetUpDecorations(op, treeBuilder);
 }
コード例 #22
0
 private void SetUp(OpCooperativeMatrixStoreNV op, SpirvInstructionTreeBuilder treeBuilder)
 {
     Pointer      = treeBuilder.GetNode(op.Pointer);
     Object       = treeBuilder.GetNode(op.Object);
     Stride       = treeBuilder.GetNode(op.Stride);
     ColumnMajor  = treeBuilder.GetNode(op.ColumnMajor);
     MemoryAccess = op.MemoryAccess;
     SetUpDecorations(op, treeBuilder);
 }
コード例 #23
0
 private void SetUp(OpGroupNonUniformFMax op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType  = treeBuilder.ResolveType(op.IdResultType);
     Execution   = op.Execution;
     Operation   = op.Operation;
     Value       = treeBuilder.GetNode(op.Value);
     ClusterSize = treeBuilder.GetNode(op.ClusterSize);
     SetUpDecorations(op, treeBuilder);
 }
コード例 #24
0
ファイル: AtomicIAdd.cs プロジェクト: gleblebedev/Toe.SPIRV
 private void SetUp(OpAtomicIAdd op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     Pointer    = treeBuilder.GetNode(op.Pointer);
     Memory     = op.Memory;
     Semantics  = op.Semantics;
     Value      = treeBuilder.GetNode(op.Value);
     SetUpDecorations(op, treeBuilder);
 }
 private void SetUp(OpSubgroupAvcMceSetMotionVectorCostFunctionINTEL op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType            = treeBuilder.ResolveType(op.IdResultType);
     PackedCostCenterDelta = treeBuilder.GetNode(op.PackedCostCenterDelta);
     PackedCostTable       = treeBuilder.GetNode(op.PackedCostTable);
     CostPrecision         = treeBuilder.GetNode(op.CostPrecision);
     Payload = treeBuilder.GetNode(op.Payload);
     SetUpDecorations(op, treeBuilder);
 }
コード例 #26
0
 private void SetUp(OpSubgroupImageMediaBlockWriteINTEL op, SpirvInstructionTreeBuilder treeBuilder)
 {
     Image      = treeBuilder.GetNode(op.Image);
     Coordinate = treeBuilder.GetNode(op.Coordinate);
     Width      = treeBuilder.GetNode(op.Width);
     Height     = treeBuilder.GetNode(op.Height);
     Data       = treeBuilder.GetNode(op.Data);
     SetUpDecorations(op, treeBuilder);
 }
コード例 #27
0
 private void SetUp(OpGetKernelPreferredWorkGroupSizeMultiple op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     Invoke     = treeBuilder.GetNode(op.Invoke);
     Param      = treeBuilder.GetNode(op.Param);
     ParamSize  = treeBuilder.GetNode(op.ParamSize);
     ParamAlign = treeBuilder.GetNode(op.ParamAlign);
     SetUpDecorations(op, treeBuilder);
 }
コード例 #28
0
 private void SetUp(OpSubgroupImageMediaBlockReadINTEL op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     Image      = treeBuilder.GetNode(op.Image);
     Coordinate = treeBuilder.GetNode(op.Coordinate);
     Width      = treeBuilder.GetNode(op.Width);
     Height     = treeBuilder.GetNode(op.Height);
     SetUpDecorations(op, treeBuilder);
 }
コード例 #29
0
 private void SetUp(OpImageGather op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType    = treeBuilder.ResolveType(op.IdResultType);
     SampledImage  = treeBuilder.GetNode(op.SampledImage);
     Coordinate    = treeBuilder.GetNode(op.Coordinate);
     Component     = treeBuilder.GetNode(op.Component);
     ImageOperands = op.ImageOperands;
     SetUpDecorations(op, treeBuilder);
 }
コード例 #30
0
 private void SetUp(OpEnqueueMarker op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     Queue      = treeBuilder.GetNode(op.Queue);
     NumEvents  = treeBuilder.GetNode(op.NumEvents);
     WaitEvents = treeBuilder.GetNode(op.WaitEvents);
     RetEvent   = treeBuilder.GetNode(op.RetEvent);
     SetUpDecorations(op, treeBuilder);
 }