yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

PGZXBFix null deref in HLSL parser after post-increment/decrement of a non-lvalue8ba5ca7c

main
228 B16 linesraw
1struct PSInput
2{
3    float4 pos : SV_POSITION;
4};
5
6float adjust(float x)
7{
8    return saturate(x);
9}
10
11float4 main(PSInput input) : SV_Target
12{
13    float f = input.pos.x;
14
15    return float4(adjust((f + 1.0)++), 0.0, 0.0, 1.0);
16}