Add support for pragma STDGL invariant(all)

Fixes #2689
This commit is contained in:
Greg Fischer 2021-07-29 14:58:10 -06:00
parent 4b7b86d568
commit 715f5c6cf1
7 changed files with 111 additions and 1 deletions

View file

@ -0,0 +1,10 @@
#version 450 core
#pragma STDGL invariant(all)
layout(location=0) out highp float v;
void main()
{
gl_Position = vec4(v, v, 0, 1);
}