420Pack: Implement length() on vectors and matrices. Also, tweak line-continuation semantics to understand the extension.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26601 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -27,21 +27,18 @@ ERROR: 0:150: '=' : cannot convert from 'const float' to '3-element array of 4-
|
||||
ERROR: 0:152: 'constructor' : cannot convert parameter 1 from 'const 2-element array of 4-component vector of float' to '4-component vector of float'
|
||||
ERROR: 0:172: 'x' : undeclared identifier
|
||||
ERROR: 0:172: '[]' : scalar integer expression required
|
||||
ERROR: 0:172: 'length' : illegal vector field selection
|
||||
ERROR: 0:172: '' : function call, method, or subroutine call expected
|
||||
ERROR: 0:172: '' : no matching overloaded function found
|
||||
ERROR: 0:175: 'x' : undeclared identifier
|
||||
ERROR: 0:175: '[]' : scalar integer expression required
|
||||
ERROR: 0:175: 'b' : left of '[' is not of type array, matrix, or vector
|
||||
ERROR: 0:175: 'a' : vector field selection out of range
|
||||
ERROR: 0:175: 'length' : illegal vector field selection
|
||||
ERROR: 0:175: 'length' : does not operate on this type: const float
|
||||
ERROR: 0:175: '' : function call, method, or subroutine call expected
|
||||
ERROR: 0:175: '' : no matching overloaded function found
|
||||
ERROR: 0:178: '[]' : scalar integer expression required
|
||||
ERROR: 0:178: 's' : undeclared identifier
|
||||
ERROR: 0:178: 's' : left of '[' is not of type array, matrix, or vector
|
||||
ERROR: 0:178: 'a' : vector field selection out of range
|
||||
ERROR: 0:178: 'length' : illegal vector field selection
|
||||
ERROR: 0:178: 'length' : does not operate on this type: const float
|
||||
ERROR: 0:178: '' : function call, method, or subroutine call expected
|
||||
ERROR: 0:178: '' : no matching overloaded function found
|
||||
ERROR: 0:198: 'e' : redefinition
|
||||
@@ -49,7 +46,7 @@ ERROR: 0:226: 'in' : not allowed in nested scope
|
||||
ERROR: 0:227: 'in' : not allowed in nested scope
|
||||
ERROR: 0:228: 'in' : not allowed in nested scope
|
||||
ERROR: 0:232: 'out' : not allowed in nested scope
|
||||
ERROR: 49 compilation errors. No code generated.
|
||||
ERROR: 46 compilation errors. No code generated.
|
||||
|
||||
|
||||
Shader version: 430
|
||||
@@ -196,7 +193,7 @@ ERROR: node is still EOpNull!
|
||||
0:171 Constant:
|
||||
0:171 3 (const int)
|
||||
0:172 Constant:
|
||||
0:172 0.000000
|
||||
0:172 4 (const int)
|
||||
0:175 Constant:
|
||||
0:175 0.000000
|
||||
0:178 Constant:
|
||||
@@ -448,7 +445,7 @@ ERROR: node is still EOpNull!
|
||||
0:171 Constant:
|
||||
0:171 3 (const int)
|
||||
0:172 Constant:
|
||||
0:172 0.000000
|
||||
0:172 4 (const int)
|
||||
0:175 Constant:
|
||||
0:175 0.000000
|
||||
0:178 Constant:
|
||||
|
||||
Reference in New Issue
Block a user