| 1234567891011121314151617181920212223 |
- // RUN: %dxc -E main -T gs_6_0 %s | FileCheck %s
- // CHECK: input types for geometry shader must be constant size arrays
- struct Out
- {
- float4 pos : SV_Position;
- float4 a[2] : A;
- };
- struct Empty{};
- int i;
- [maxvertexcount(3)]
- void main(line Empty e, inout PointStream<Out> OutputStream0)
- {
- Out output = (Out)0;
- output.a[i] = 3;
- OutputStream0.Append(output);
- OutputStream0.RestartStrip();
- }
|