WIP: HLSL: Add GS support
This PR adds: [maxvertexcount(n)] attributes point/line/triangle/lineadj/triangleadj qualifiers PointStream/LineStream/TriangleStream templatized types Append method on above template types RestartStrip method on above template types.
This commit is contained in:
parent
fabe7d6a61
commit
f49cdf4183
13 changed files with 531 additions and 39 deletions
|
|
@ -66,6 +66,18 @@ enum EHlslTokenClass {
|
|||
EHTokInOut,
|
||||
EHTokLayout,
|
||||
|
||||
// primitive types
|
||||
EHTokPoint,
|
||||
EHTokLine,
|
||||
EHTokTriangle,
|
||||
EHTokLineAdj,
|
||||
EHTokTriangleAdj,
|
||||
|
||||
// stream out types
|
||||
EHTokPointStream,
|
||||
EHTokLineStream,
|
||||
EHTokTriangleStream,
|
||||
|
||||
// template types
|
||||
EHTokBuffer,
|
||||
EHTokVector,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue