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
|
|
@ -55,27 +55,29 @@ namespace glslang {
|
|||
else if (lowername == "domain")
|
||||
return EatDomain;
|
||||
else if (lowername == "earlydepthstencil")
|
||||
return EatEarlydepthstencil;
|
||||
return EatEarlyDepthStencil;
|
||||
else if (lowername == "fastopt")
|
||||
return EatFastopt;
|
||||
return EatFastOpt;
|
||||
else if (lowername == "flatten")
|
||||
return EatFlatten;
|
||||
else if (lowername == "forcecase")
|
||||
return EatForcecase;
|
||||
return EatForceCase;
|
||||
else if (lowername == "instance")
|
||||
return EatInstance;
|
||||
else if (lowername == "maxtessfactor")
|
||||
return EatMaxtessfactor;
|
||||
return EatMaxTessFactor;
|
||||
else if (lowername == "maxvertexcount")
|
||||
return EatMaxVertexCount;
|
||||
else if (lowername == "numthreads")
|
||||
return EatNumthreads;
|
||||
return EatNumThreads;
|
||||
else if (lowername == "outputcontrolpoints")
|
||||
return EatOutputcontrolpoints;
|
||||
return EatOutputControlPoints;
|
||||
else if (lowername == "outputtopology")
|
||||
return EatOutputtopology;
|
||||
return EatOutputTopology;
|
||||
else if (lowername == "partitioning")
|
||||
return EatPartitioning;
|
||||
else if (lowername == "patchconstantfunc")
|
||||
return EatPatchconstantfunc;
|
||||
return EatPatchConstantFunc;
|
||||
else if (lowername == "unroll")
|
||||
return EatUnroll;
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue