HLSL: Fix #1154: Support PointSize, as an attribute.
This commit is contained in:
11
Test/hlsl.PointSize.geom
Normal file
11
Test/hlsl.PointSize.geom
Normal file
@@ -0,0 +1,11 @@
|
||||
struct S {
|
||||
[[vk::builtin("PointSize")]] float ps;
|
||||
};
|
||||
|
||||
[maxvertexcount(4)]
|
||||
void main([[vk::builtin("PointSize")]] triangle in uint ps[3],
|
||||
inout LineStream<S> OutputStream)
|
||||
{
|
||||
S s;
|
||||
OutputStream.Append(s);
|
||||
}
|
||||
Reference in New Issue
Block a user