Implement implicit conversions on function return expressions to the function's type.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26501 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
2ea882fdae
commit
8a1a4a7a8b
10 changed files with 66 additions and 30 deletions
|
|
@ -44,16 +44,12 @@ ERROR: node is still EOpNull!
|
|||
0:25 Function Parameters:
|
||||
0:25 'x' (in highp float)
|
||||
0:27 Sequence
|
||||
0:27 Branch: Return with expression
|
||||
0:27 Constant:
|
||||
0:27 1.000000
|
||||
0:27 Branch: Return
|
||||
0:29 Function Definition: radians(b1; (bool)
|
||||
0:29 Function Parameters:
|
||||
0:29 'x' (in bool)
|
||||
0:31 Sequence
|
||||
0:31 Branch: Return with expression
|
||||
0:31 Constant:
|
||||
0:31 true (const bool)
|
||||
0:31 Branch: Return
|
||||
0:36 Function Definition: main( (void)
|
||||
0:36 Function Parameters:
|
||||
0:? Sequence
|
||||
|
|
@ -157,16 +153,12 @@ ERROR: node is still EOpNull!
|
|||
0:25 Function Parameters:
|
||||
0:25 'x' (in highp float)
|
||||
0:27 Sequence
|
||||
0:27 Branch: Return with expression
|
||||
0:27 Constant:
|
||||
0:27 1.000000
|
||||
0:27 Branch: Return
|
||||
0:29 Function Definition: radians(b1; (bool)
|
||||
0:29 Function Parameters:
|
||||
0:29 'x' (in bool)
|
||||
0:31 Sequence
|
||||
0:31 Branch: Return with expression
|
||||
0:31 Constant:
|
||||
0:31 true (const bool)
|
||||
0:31 Branch: Return
|
||||
0:36 Function Definition: main( (void)
|
||||
0:36 Function Parameters:
|
||||
0:? Sequence
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue