SPIRV-Cross/shaders/frag/unary-enclose.frag
Hans-Kristian Arntzen 6ff9007311 Fix unary enclosures.
2017-07-24 10:17:19 +02:00

16 lines
249 B
GLSL

#version 310 es
precision mediump float;
layout(location = 0) out vec4 FragColor;
layout(location = 0) in vec4 vIn;
layout(location = 1) flat in ivec4 vIn1;
void main()
{
FragColor = +(-(-vIn));
ivec4 a = ~(~vIn1);
bool b = false;
b = !!b;
}