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
117 changed files with 6243 additions and 6243 deletions

View File

@@ -330,8 +330,8 @@ gl_FragCoord origin is upper left
0:133 Construct vec3 ( temp 3-component vector of float)
0:133 'f' ( temp float)
0:134 Function Call: foo16(vu2; ( temp void)
0:? Convert int to uint ( temp 2-component vector of uint)
0:? Construct ivec2 ( temp 2-component vector of int)
0:134 Convert int to uint ( temp 2-component vector of uint)
0:134 Construct ivec2 ( temp 2-component vector of int)
0:134 'i' ( temp int)
0:134 'i' ( temp int)
0:136 Function Call: foo13(vf3; ( temp void)
@@ -699,8 +699,8 @@ gl_FragCoord origin is upper left
0:133 Construct vec3 ( temp 3-component vector of float)
0:133 'f' ( temp float)
0:134 Function Call: foo16(vu2; ( temp void)
0:? Convert int to uint ( temp 2-component vector of uint)
0:? Construct ivec2 ( temp 2-component vector of int)
0:134 Convert int to uint ( temp 2-component vector of uint)
0:134 Construct ivec2 ( temp 2-component vector of int)
0:134 'i' ( temp int)
0:134 'i' ( temp int)
0:136 Function Call: foo13(vf3; ( temp void)