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:
tgfrerer
2021-05-11 09:42:11 +01:00
parent 9431c53c84
commit adfa0938a2
117 changed files with 6243 additions and 6243 deletions

View File

@@ -789,11 +789,11 @@ gl_FragCoord origin is upper left
0:135 Sequence
0:135 move second child to first child ( temp float)
0:135 'storeTemp' ( temp float)
0:? imageLoad ( temp float)
0:135 imageLoad ( temp float)
0:135 'g_tTex2df1' (layout( r32f) uniform image2D)
0:? Constant:
0:? 2 (const int)
0:? 3 (const int)
0:135 Constant:
0:135 2 (const int)
0:135 3 (const int)
0:135 imageStore ( temp void)
0:135 'g_tTex1df1' (layout( r32f) uniform image1D)
0:135 Constant:
@@ -1636,11 +1636,11 @@ gl_FragCoord origin is upper left
0:135 Sequence
0:135 move second child to first child ( temp float)
0:135 'storeTemp' ( temp float)
0:? imageLoad ( temp float)
0:135 imageLoad ( temp float)
0:135 'g_tTex2df1' (layout( r32f) uniform image2D)
0:? Constant:
0:? 2 (const int)
0:? 3 (const int)
0:135 Constant:
0:135 2 (const int)
0:135 3 (const int)
0:135 imageStore ( temp void)
0:135 'g_tTex1df1' (layout( r32f) uniform image1D)
0:135 Constant: