Debian Codegraph @

clang/test/Options/Gis.hlsl

raw
1 // RUN: %clang_dxc -T lib_6_4 -Gis %s 2>&1 -### | FileCheck -check-prefix=Gis %s
2 // RUN: %clang_dxc -T lib_6_4 %s 2>&1 -### | FileCheck -check-prefix=NO_Gis %s
3
4 // Gis: "-ffp-contract=off" "-frounding-math" "-ffp-exception-behavior=strict" "-complex-range=full"
5 // assert expected floating point options are present
6 // NO_Gis-NOT: "-ffp-contract=off"
7 // NO_Gis-NOT: "-frounding-math"
8 // NO_Gis-NOT: "-ffp-exception-behavior=strict"
9 // NO_Gis-NOT: "-complex-range=full"
10 float4 main(float4 a : A) : SV_TARGET
11 {
12 return -a.yxxx;
13 }