On Mon Apr 24 19:39:48 2023 +0000, Zebediah Figura wrote:
I doubt that the crash has anything to do with duplicated input semantics, though, since that's not visible in the bytecode at all. Probably more likely is that the unused shader input semantic isn't output by the vertex shader. Just like merge request 159, using sv_position instead would probably work.
The segfault persists even if the field with the `UNUSED` semantic is removed.
It goes away when `TEXCOORD0` is not duplicated though, for instance if we make `apple aps[1][1]`:
```hlsl struct apple { float4 texcoord : TEXCOORD0; float4 arb : UNUSED; };
float4 main(in apple aps[1][1]) : sv_target { return float4(aps[0][0].texcoord.xy, 0, 0); } ````