Add check for DOUBLE in low versions (#2223)

Add check for DOUBLE in low versions, fix issue #2206
This commit is contained in:
Chow
2020-05-18 17:41:52 +08:00
committed by GitHub
parent 7c753a7253
commit 0ab78114a9
3 changed files with 25 additions and 3 deletions

View File

@@ -149,3 +149,7 @@ layout(location=6) uniform ColorsBuffer // ERROR: location cannot be applied in
} colorsBuffer;
void testOverload() {
float overloadTest = 42;
overloadTest = smoothstep(0, 1, overloadTest);
}