Add check for DOUBLE in low versions (#2223)
Add check for DOUBLE in low versions, fix issue #2206
This commit is contained in:
parent
7c753a7253
commit
0ab78114a9
3 changed files with 25 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue