GLSL: Allow desktop shaders to call functions from outside main().
Fixes issue #239.
This commit is contained in:
parent
ec2e27adf8
commit
9df6aa5361
3 changed files with 7 additions and 7 deletions
|
|
@ -1,9 +1,8 @@
|
|||
110scope.vert
|
||||
ERROR: 0:5: 'a' : redefinition
|
||||
ERROR: 0:34: 'f' : can't call user function from global scope
|
||||
ERROR: 0:57: 'z' : undeclared identifier
|
||||
ERROR: 0:57: 'z' : redefinition
|
||||
ERROR: 4 compilation errors. No code generated.
|
||||
ERROR: 3 compilation errors. No code generated.
|
||||
|
||||
|
||||
Shader version: 110
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue