Front-end: Fix issue #147: ensure layout(index=N) has N in [0,1].

This commit is contained in:
John Kessenich
2016-06-05 17:25:34 -06:00
parent 119f8f6906
commit 133253b6ee
3 changed files with 13 additions and 1 deletions

View File

@@ -148,3 +148,5 @@ void fooKeyMem()
{
KeyMem.precise;
}
layout(location=28, index=2) out vec4 outIndex2; // ERROR index out of range