Example #1
0
 private void SetUp(OpReportIntersectionNV op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     Hit        = treeBuilder.GetNode(op.Hit);
     HitKind    = treeBuilder.GetNode(op.HitKind);
     SetUpDecorations(op, treeBuilder);
 }
Example #2
0
 public SubgroupShuffleINTEL(SpirvTypeBase resultType, Node data, Node invocationId, string debugName = null)
 {
     this.ResultType   = resultType;
     this.Data         = data;
     this.InvocationId = invocationId;
     DebugName         = debugName;
 }
 public VectorTimesMatrix(SpirvTypeBase resultType, Node vector, Node matrix, string debugName = null)
 {
     this.ResultType = resultType;
     this.Vector     = vector;
     this.Matrix     = matrix;
     DebugName       = debugName;
 }
Example #4
0
 public IAddCarry(SpirvTypeBase resultType, Node operand1, Node operand2, string debugName = null)
 {
     this.ResultType = resultType;
     this.Operand1   = operand1;
     this.Operand2   = operand2;
     DebugName       = debugName;
 }
 public SubgroupAvcSicSetSkcForwardTransformEnableINTEL(SpirvTypeBase resultType, Node packedSadCoefficients, Node payload, string debugName = null)
 {
     this.ResultType            = resultType;
     this.PackedSadCoefficients = packedSadCoefficients;
     this.Payload = payload;
     DebugName    = debugName;
 }
 public RayQueryGetIntersectionTKHR(SpirvTypeBase resultType, Node rayQuery, Node intersection, string debugName = null)
 {
     this.ResultType   = resultType;
     this.RayQuery     = rayQuery;
     this.Intersection = intersection;
     DebugName         = debugName;
 }
 public SubgroupAvcSicEvaluateIpeINTEL(SpirvTypeBase resultType, Node srcImage, Node payload, string debugName = null)
 {
     this.ResultType = resultType;
     this.SrcImage   = srcImage;
     this.Payload    = payload;
     DebugName       = debugName;
 }
 public SubgroupReadInvocationKHR(SpirvTypeBase resultType, Node value, Node index, string debugName = null)
 {
     this.ResultType = resultType;
     this.Value      = value;
     this.Index      = index;
     DebugName       = debugName;
 }
 private void SetUp(OpSubgroupReadInvocationKHR op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     Value      = treeBuilder.GetNode(op.Value);
     Index      = treeBuilder.GetNode(op.Index);
     SetUpDecorations(op, treeBuilder);
 }
Example #10
0
 private void SetUp(OpGroupNonUniformAll op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     Execution  = op.Execution;
     Predicate  = treeBuilder.GetNode(op.Predicate);
     SetUpDecorations(op, treeBuilder);
 }
Example #11
0
 public MemberDecorate(SpirvTypeBase structureType, uint member, Spv.Decoration decoration, string debugName = null)
 {
     this.StructureType = structureType;
     this.Member        = member;
     this.Decoration    = decoration;
     DebugName          = debugName;
 }
Example #12
0
 public GroupNonUniformAll(SpirvTypeBase resultType, uint execution, Node predicate, string debugName = null)
 {
     this.ResultType = resultType;
     this.Execution  = execution;
     this.Predicate  = predicate;
     DebugName       = debugName;
 }
 private void SetUp(OpSubgroupAvcImeRefWindowSizeINTEL op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType         = treeBuilder.ResolveType(op.IdResultType);
     SearchWindowConfig = treeBuilder.GetNode(op.SearchWindowConfig);
     DualRef            = treeBuilder.GetNode(op.DualRef);
     SetUpDecorations(op, treeBuilder);
 }
 public SubgroupAvcImeRefWindowSizeINTEL(SpirvTypeBase resultType, Node searchWindowConfig, Node dualRef, string debugName = null)
 {
     this.ResultType         = resultType;
     this.SearchWindowConfig = searchWindowConfig;
     this.DualRef            = dualRef;
     DebugName = debugName;
 }
Example #15
0
 public AbsUSubINTEL(SpirvTypeBase resultType, Node operand1, Node operand2, string debugName = null)
 {
     this.ResultType = resultType;
     this.Operand1   = operand1;
     this.Operand2   = operand2;
     DebugName       = debugName;
 }
Example #16
0
 public SubgroupAvcMceSetInterShapePenaltyINTEL(SpirvTypeBase resultType, Node packedShapePenalty, Node payload, string debugName = null)
 {
     this.ResultType         = resultType;
     this.PackedShapePenalty = packedShapePenalty;
     this.Payload            = payload;
     DebugName = debugName;
 }
Example #17
0
 public FOrdLessThan(SpirvTypeBase resultType, Node operand1, Node operand2, string debugName = null)
 {
     this.ResultType = resultType;
     this.Operand1   = operand1;
     this.Operand2   = operand2;
     DebugName       = debugName;
 }
Example #18
0
 private void SetUp(OpSubgroupAvcMceSetInterShapePenaltyINTEL op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType         = treeBuilder.ResolveType(op.IdResultType);
     PackedShapePenalty = treeBuilder.GetNode(op.PackedShapePenalty);
     Payload            = treeBuilder.GetNode(op.Payload);
     SetUpDecorations(op, treeBuilder);
 }
 private void SetUp(OpRayQueryGetIntersectionTKHR op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType   = treeBuilder.ResolveType(op.IdResultType);
     RayQuery     = treeBuilder.GetNode(op.RayQuery);
     Intersection = treeBuilder.GetNode(op.Intersection);
     SetUpDecorations(op, treeBuilder);
 }
Example #20
0
 public Load(SpirvTypeBase resultType, Node pointer, Spv.MemoryAccess memoryAccess, string debugName = null)
 {
     this.ResultType   = resultType;
     this.Pointer      = pointer;
     this.MemoryAccess = memoryAccess;
     DebugName         = debugName;
 }
 private void SetUp(OpSubgroupAvcSicEvaluateIpeINTEL op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     SrcImage   = treeBuilder.GetNode(op.SrcImage);
     Payload    = treeBuilder.GetNode(op.Payload);
     SetUpDecorations(op, treeBuilder);
 }
Example #22
0
 private void SetUp(OpLoad op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType   = treeBuilder.ResolveType(op.IdResultType);
     Pointer      = treeBuilder.GetNode(op.Pointer);
     MemoryAccess = op.MemoryAccess;
     SetUpDecorations(op, treeBuilder);
 }
Example #23
0
 private void SetUp(OpIAddCarry op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     Operand1   = treeBuilder.GetNode(op.Operand1);
     Operand2   = treeBuilder.GetNode(op.Operand2);
     SetUpDecorations(op, treeBuilder);
 }
Example #24
0
 public FUnordEqual(SpirvTypeBase resultType, Node operand1, Node operand2, string debugName = null)
 {
     this.ResultType = resultType;
     this.Operand1   = operand1;
     this.Operand2   = operand2;
     DebugName       = debugName;
 }
 private void SetUp(OpSubgroupAvcSicSetSkcForwardTransformEnableINTEL op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType            = treeBuilder.ResolveType(op.IdResultType);
     PackedSadCoefficients = treeBuilder.GetNode(op.PackedSadCoefficients);
     Payload = treeBuilder.GetNode(op.Payload);
     SetUpDecorations(op, treeBuilder);
 }
 public GroupNonUniformBallotFindMSB(SpirvTypeBase resultType, uint execution, Node value, string debugName = null)
 {
     this.ResultType = resultType;
     this.Execution  = execution;
     this.Value      = value;
     DebugName       = debugName;
 }
Example #27
0
 private void SetUp(OpSubgroupShuffleINTEL op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType   = treeBuilder.ResolveType(op.IdResultType);
     Data         = treeBuilder.GetNode(op.Data);
     InvocationId = treeBuilder.GetNode(op.InvocationId);
     SetUpDecorations(op, treeBuilder);
 }
 private void SetUp(OpGroupNonUniformBallotFindMSB op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     Execution  = op.Execution;
     Value      = treeBuilder.GetNode(op.Value);
     SetUpDecorations(op, treeBuilder);
 }
 private void SetUp(OpVectorTimesMatrix op, SpirvInstructionTreeBuilder treeBuilder)
 {
     ResultType = treeBuilder.ResolveType(op.IdResultType);
     Vector     = treeBuilder.GetNode(op.Vector);
     Matrix     = treeBuilder.GetNode(op.Matrix);
     SetUpDecorations(op, treeBuilder);
 }
Example #30
0
 public ReportIntersectionNV(SpirvTypeBase resultType, Node hit, Node hitKind, string debugName = null)
 {
     this.ResultType = resultType;
     this.Hit        = hit;
     this.HitKind    = hitKind;
     DebugName       = debugName;
 }