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:
tgfrerer 2021-05-11 09:42:11 +01:00
parent 9431c53c84
commit adfa0938a2
No known key found for this signature in database
GPG key ID: D0BE741EA45EF9E7
117 changed files with 6243 additions and 6243 deletions

View file

@ -28,7 +28,7 @@ gl_FragCoord origin is upper left
0:9 'pos' ( in uint)
0:9 Constant:
0:9 2 (const int)
0:? Construct vec4 ( temp 4-component vector of float)
0:10 Construct vec4 ( temp 4-component vector of float)
0:? Convert uint to float ( temp 2-component vector of float)
0:? Sequence
0:10 move second child to first child ( temp int)
@ -60,7 +60,7 @@ gl_FragCoord origin is upper left
0:10 0.000000
0:10 Constant:
0:10 0.000000
0:? Construct vec4 ( temp 4-component vector of float)
0:11 Construct vec4 ( temp 4-component vector of float)
0:? Convert uint to float ( temp 3-component vector of float)
0:? Sequence
0:11 move second child to first child ( temp int)
@ -192,7 +192,7 @@ gl_FragCoord origin is upper left
0:9 'pos' ( in uint)
0:9 Constant:
0:9 2 (const int)
0:? Construct vec4 ( temp 4-component vector of float)
0:10 Construct vec4 ( temp 4-component vector of float)
0:? Convert uint to float ( temp 2-component vector of float)
0:? Sequence
0:10 move second child to first child ( temp int)
@ -224,7 +224,7 @@ gl_FragCoord origin is upper left
0:10 0.000000
0:10 Constant:
0:10 0.000000
0:? Construct vec4 ( temp 4-component vector of float)
0:11 Construct vec4 ( temp 4-component vector of float)
0:? Convert uint to float ( temp 3-component vector of float)
0:? Sequence
0:11 move second child to first child ( temp int)