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:
parent
9431c53c84
commit
adfa0938a2
117 changed files with 6243 additions and 6243 deletions
|
|
@ -14,18 +14,18 @@ ERROR: node is still EOpNull!
|
|||
0:9 'g_shadowTex' ( uniform texture2DShadow)
|
||||
0:9 'g_shadowSamplerComp' ( uniform sampler)
|
||||
0:9 Construct vec3 ( temp 3-component vector of float)
|
||||
0:? Constant:
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:9 Constant:
|
||||
0:9 0.000000
|
||||
0:9 0.000000
|
||||
0:9 Constant:
|
||||
0:9 0.000000
|
||||
0:10 ERROR: Bad aggregation op
|
||||
( temp float)
|
||||
0:10 'g_nonShadowTex' ( uniform texture2D)
|
||||
0:10 'g_shadowSampler' ( uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:10 Constant:
|
||||
0:10 0.000000
|
||||
0:10 0.000000
|
||||
0:10 Constant:
|
||||
0:10 0.000000
|
||||
0:12 Branch: Return with expression
|
||||
|
|
@ -62,18 +62,18 @@ ERROR: node is still EOpNull!
|
|||
0:9 'g_shadowTex' ( uniform texture2DShadow)
|
||||
0:9 'g_shadowSamplerComp' ( uniform sampler)
|
||||
0:9 Construct vec3 ( temp 3-component vector of float)
|
||||
0:? Constant:
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:9 Constant:
|
||||
0:9 0.000000
|
||||
0:9 0.000000
|
||||
0:9 Constant:
|
||||
0:9 0.000000
|
||||
0:10 ERROR: Bad aggregation op
|
||||
( temp float)
|
||||
0:10 'g_nonShadowTex' ( uniform texture2D)
|
||||
0:10 'g_shadowSampler' ( uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:10 Constant:
|
||||
0:10 0.000000
|
||||
0:10 0.000000
|
||||
0:10 Constant:
|
||||
0:10 0.000000
|
||||
0:12 Branch: Return with expression
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue