Fix line-continuation bug.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24021 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
df0488dd0f
commit
029d746bad
6 changed files with 47 additions and 8 deletions
|
|
@ -11,10 +11,16 @@ oo; // same as 'float foo;'
|
|||
#error e2
|
||||
|
||||
#define MAIN void main() \
|
||||
{ \
|
||||
{ \
|
||||
gl_Position = vec4(foo); \
|
||||
}
|
||||
|
||||
#error e3
|
||||
|
||||
MAIN
|
||||
|
||||
vec4 foo2(vec4 a)
|
||||
{
|
||||
vec4 b = a; \
|
||||
return b;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue