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:
@@ -757,7 +757,7 @@ gl_FragCoord origin is upper left
|
||||
0:196 Sequence
|
||||
0:196 move second child to first child ( temp 4-component vector of float)
|
||||
0:196 'outval' ( temp 4-component vector of float)
|
||||
0:? Construct vec4 ( temp 4-component vector of float)
|
||||
0:196 Construct vec4 ( temp 4-component vector of float)
|
||||
0:196 Constant:
|
||||
0:196 3.600000
|
||||
0:196 Constant:
|
||||
@@ -1550,7 +1550,7 @@ gl_FragCoord origin is upper left
|
||||
0:196 Sequence
|
||||
0:196 move second child to first child ( temp 4-component vector of float)
|
||||
0:196 'outval' ( temp 4-component vector of float)
|
||||
0:? Construct vec4 ( temp 4-component vector of float)
|
||||
0:196 Construct vec4 ( temp 4-component vector of float)
|
||||
0:196 Constant:
|
||||
0:196 3.600000
|
||||
0:196 Constant:
|
||||
|
||||
Reference in New Issue
Block a user