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:
@@ -176,11 +176,11 @@ gl_FragCoord origin is upper left
|
||||
0:95 'ps_output' ( temp structure{ temp 4-component vector of float color})
|
||||
0:95 Constant:
|
||||
0:95 0 (const int)
|
||||
0:? Constant:
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:95 Constant:
|
||||
0:95 0.000000
|
||||
0:95 0.000000
|
||||
0:95 0.000000
|
||||
0:95 0.000000
|
||||
0:96 Branch: Return with expression
|
||||
0:96 'ps_output' ( temp structure{ temp 4-component vector of float color})
|
||||
0:93 Function Definition: main( ( temp void)
|
||||
@@ -377,11 +377,11 @@ gl_FragCoord origin is upper left
|
||||
0:95 'ps_output' ( temp structure{ temp 4-component vector of float color})
|
||||
0:95 Constant:
|
||||
0:95 0 (const int)
|
||||
0:? Constant:
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:95 Constant:
|
||||
0:95 0.000000
|
||||
0:95 0.000000
|
||||
0:95 0.000000
|
||||
0:95 0.000000
|
||||
0:96 Branch: Return with expression
|
||||
0:96 'ps_output' ( temp structure{ temp 4-component vector of float color})
|
||||
0:93 Function Definition: main( ( temp void)
|
||||
|
||||
Reference in New Issue
Block a user