HLSL: Fix #1974: ignore input primitives on non-entry-point functions.
This commit is contained in:
parent
3ed344dd78
commit
b0ada80356
6 changed files with 244 additions and 80 deletions
|
|
@ -14,3 +14,11 @@ void main(triangle in uint VertexID[3] : VertexID,
|
|||
S s;
|
||||
OutputStream.Append(s);
|
||||
}
|
||||
|
||||
[maxvertexcount(4)]
|
||||
void notmain(line in uint VertexID[2] : VertexID,
|
||||
inout LineStream<S> OutputStream)
|
||||
{
|
||||
S s;
|
||||
OutputStream.Append(s);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue