fix error message for hlslGrammar::acceptConstructor
Fix the error message for when an erroneous HLSL constructor statement is detected. Prior to this change, such error messages would not show correct file path and line number information. Additionally, update test data to account for updated error messages.
This commit is contained in:
@@ -89,23 +89,23 @@ gl_FragCoord origin is upper left
|
||||
0:16 0.750000
|
||||
0:17 move second child to first child ( temp 4X4 matrix of float)
|
||||
0:17 'mat4' ( temp 4X4 matrix of float)
|
||||
0:? Constant:
|
||||
0:? 4.000000
|
||||
0:? 4.100000
|
||||
0:? 4.200000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:17 Constant:
|
||||
0:17 4.000000
|
||||
0:17 4.100000
|
||||
0:17 4.200000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:18 move second child to first child ( temp 4X4 matrix of float)
|
||||
0:18 'mat4' ( temp 4X4 matrix of float)
|
||||
0:18 Constant:
|
||||
@@ -278,23 +278,23 @@ gl_FragCoord origin is upper left
|
||||
0:16 0.750000
|
||||
0:17 move second child to first child ( temp 4X4 matrix of float)
|
||||
0:17 'mat4' ( temp 4X4 matrix of float)
|
||||
0:? Constant:
|
||||
0:? 4.000000
|
||||
0:? 4.100000
|
||||
0:? 4.200000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:17 Constant:
|
||||
0:17 4.000000
|
||||
0:17 4.100000
|
||||
0:17 4.200000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:17 0.000000
|
||||
0:18 move second child to first child ( temp 4X4 matrix of float)
|
||||
0:18 'mat4' ( temp 4X4 matrix of float)
|
||||
0:18 Constant:
|
||||
|
||||
Reference in New Issue
Block a user