Skip to content

Commit

Permalink
Add missing enum variants for MTLDataType
Browse files Browse the repository at this point in the history
  • Loading branch information
FlannyH authored and grovesNL committed May 23, 2024
1 parent 8028a7a commit f7296a2
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/argument.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,30 @@ pub enum MTLDataType {
RGB10A2Unorm = 75,
RG11B10Float = 76,
RGB9E5Float = 77,

RenderPipeline = 78,
ComputePipeline = 79,
IndirectCommandBuffer = 80,

Long = 81,
Long2 = 82,
Long3 = 83,
Long4 = 84,

ULong = 85,
ULong2 = 86,
ULong3 = 87,
ULong4 = 88,

VisibleFunctionTable = 115,
IntersectionFunctionTable = 116,
PrimitiveAccelerationStructure = 117,
InstanceAccelerationStructure = 118,

BFloat = 121,
BFloat2 = 122,
BFloat3 = 123,
BFloat4 = 124,
}

/// See <https://developer.apple.com/documentation/metal/mtlargumenttype>
Expand Down

0 comments on commit f7296a2

Please sign in to comment.