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:
@@ -11,7 +11,7 @@ using early_fragment_tests
|
||||
0:10 'oldVal' ( temp uint)
|
||||
0:10 imageAtomicExchange ( temp uint)
|
||||
0:10 'Values' (layout( r32ui) uniform uimage2D)
|
||||
0:? Construct uvec2 ( temp 2-component vector of uint)
|
||||
0:10 Construct uvec2 ( temp 2-component vector of uint)
|
||||
0:10 Convert float to uint ( temp uint)
|
||||
0:10 direct index ( temp float)
|
||||
0:10 Position: direct index for structure ( temp 4-component vector of float)
|
||||
@@ -67,7 +67,7 @@ using early_fragment_tests
|
||||
0:10 'oldVal' ( temp uint)
|
||||
0:10 imageAtomicExchange ( temp uint)
|
||||
0:10 'Values' (layout( r32ui) uniform uimage2D)
|
||||
0:? Construct uvec2 ( temp 2-component vector of uint)
|
||||
0:10 Construct uvec2 ( temp 2-component vector of uint)
|
||||
0:10 Convert float to uint ( temp uint)
|
||||
0:10 direct index ( temp float)
|
||||
0:10 Position: direct index for structure ( temp 4-component vector of float)
|
||||
|
||||
Reference in New Issue
Block a user