Files
filament/third_party/glslang/Test/hlsl.constructexpr.frag
Romain Guy 9f2592ed9d Update SPIRV libraries (#99)
* Update SPIRV libraries

- Update `spirv-cross`
- Update `spirv-tools`
- Update `glslang`

`spirv-tools` contains a fix for an issue we reported (unnecessary promotions to highp in certain expressions).

* Add SPIRV-Tools dependency to matinfo
2018-08-15 12:59:17 -07:00

18 lines
405 B
GLSL

struct PS_OUTPUT { float4 color : SV_Target0; };
PS_OUTPUT main()
{
// Evaluates to a sequence: 3, 4, 5, 6, 7, 8, and a float2(9,10), float2(11,12) sequence
(int(3));
(int(3) + int(1));
(int(3) + int(1) + int(1));
(((int(6))));
(int(7.0));
((int((2)) ? 8 : 8));
(float2(9, 10), float2(11, 12));
PS_OUTPUT ps_output;
ps_output.color = 1.0;
return ps_output;
}