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:
@@ -51,7 +51,7 @@ using depth_any
|
||||
0:22 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
|
||||
0:22 Constant:
|
||||
0:22 0 (const int)
|
||||
0:? Construct vec4 ( temp 4-component vector of float)
|
||||
0:22 Construct vec4 ( temp 4-component vector of float)
|
||||
0:22 'x' ( temp float)
|
||||
0:22 'y' ( temp float)
|
||||
0:22 'z' ( temp float)
|
||||
@@ -160,7 +160,7 @@ using depth_any
|
||||
0:22 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
|
||||
0:22 Constant:
|
||||
0:22 0 (const int)
|
||||
0:? Construct vec4 ( temp 4-component vector of float)
|
||||
0:22 Construct vec4 ( temp 4-component vector of float)
|
||||
0:22 'x' ( temp float)
|
||||
0:22 'y' ( temp float)
|
||||
0:22 'z' ( temp float)
|
||||
|
||||
Reference in New Issue
Block a user