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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user