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:
@@ -46,9 +46,9 @@ using depth_any
|
||||
0:36 Construct combined texture-sampler ( temp sampler2D)
|
||||
0:36 'g_tTex2df4' ( uniform texture2D)
|
||||
0:36 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
0:36 Constant:
|
||||
0:36 0.100000
|
||||
0:36 0.200000
|
||||
0:36 Constant:
|
||||
0:36 0.750000
|
||||
0:37 Sequence
|
||||
@@ -58,9 +58,9 @@ using depth_any
|
||||
0:37 Construct combined texture-sampler ( temp isampler2D)
|
||||
0:37 'g_tTex2di4' ( uniform itexture2D)
|
||||
0:37 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.300000
|
||||
0:? 0.400000
|
||||
0:37 Constant:
|
||||
0:37 0.300000
|
||||
0:37 0.400000
|
||||
0:37 Constant:
|
||||
0:37 0.750000
|
||||
0:38 Sequence
|
||||
@@ -70,9 +70,9 @@ using depth_any
|
||||
0:38 Construct combined texture-sampler ( temp usampler2D)
|
||||
0:38 'g_tTex2du4' ( uniform utexture2D)
|
||||
0:38 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.500000
|
||||
0:? 0.600000
|
||||
0:38 Constant:
|
||||
0:38 0.500000
|
||||
0:38 0.600000
|
||||
0:38 Constant:
|
||||
0:38 0.750000
|
||||
0:40 Sequence
|
||||
@@ -82,10 +82,10 @@ using depth_any
|
||||
0:40 Construct combined texture-sampler ( temp sampler3D)
|
||||
0:40 'g_tTex3df4' ( uniform texture3D)
|
||||
0:40 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
0:? 0.300000
|
||||
0:40 Constant:
|
||||
0:40 0.100000
|
||||
0:40 0.200000
|
||||
0:40 0.300000
|
||||
0:40 Constant:
|
||||
0:40 0.750000
|
||||
0:41 Sequence
|
||||
@@ -95,10 +95,10 @@ using depth_any
|
||||
0:41 Construct combined texture-sampler ( temp isampler3D)
|
||||
0:41 'g_tTex3di4' ( uniform itexture3D)
|
||||
0:41 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.400000
|
||||
0:? 0.500000
|
||||
0:? 0.600000
|
||||
0:41 Constant:
|
||||
0:41 0.400000
|
||||
0:41 0.500000
|
||||
0:41 0.600000
|
||||
0:41 Constant:
|
||||
0:41 0.750000
|
||||
0:42 Sequence
|
||||
@@ -108,10 +108,10 @@ using depth_any
|
||||
0:42 Construct combined texture-sampler ( temp usampler3D)
|
||||
0:42 'g_tTex3du4' ( uniform utexture3D)
|
||||
0:42 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.700000
|
||||
0:? 0.800000
|
||||
0:? 0.900000
|
||||
0:42 Constant:
|
||||
0:42 0.700000
|
||||
0:42 0.800000
|
||||
0:42 0.900000
|
||||
0:42 Constant:
|
||||
0:42 0.750000
|
||||
0:44 Sequence
|
||||
@@ -121,10 +121,10 @@ using depth_any
|
||||
0:44 Construct combined texture-sampler ( temp samplerCube)
|
||||
0:44 'g_tTexcdf4' ( uniform textureCube)
|
||||
0:44 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
0:? 0.300000
|
||||
0:44 Constant:
|
||||
0:44 0.100000
|
||||
0:44 0.200000
|
||||
0:44 0.300000
|
||||
0:44 Constant:
|
||||
0:44 0.750000
|
||||
0:45 Sequence
|
||||
@@ -134,10 +134,10 @@ using depth_any
|
||||
0:45 Construct combined texture-sampler ( temp isamplerCube)
|
||||
0:45 'g_tTexcdi4' ( uniform itextureCube)
|
||||
0:45 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.400000
|
||||
0:? 0.500000
|
||||
0:? 0.600000
|
||||
0:45 Constant:
|
||||
0:45 0.400000
|
||||
0:45 0.500000
|
||||
0:45 0.600000
|
||||
0:45 Constant:
|
||||
0:45 0.750000
|
||||
0:46 Sequence
|
||||
@@ -147,10 +147,10 @@ using depth_any
|
||||
0:46 Construct combined texture-sampler ( temp usamplerCube)
|
||||
0:46 'g_tTexcdu4' ( uniform utextureCube)
|
||||
0:46 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.700000
|
||||
0:? 0.800000
|
||||
0:? 0.900000
|
||||
0:46 Constant:
|
||||
0:46 0.700000
|
||||
0:46 0.800000
|
||||
0:46 0.900000
|
||||
0:46 Constant:
|
||||
0:46 0.750000
|
||||
0:48 move second child to first child ( temp 4-component vector of float)
|
||||
@@ -261,9 +261,9 @@ using depth_any
|
||||
0:36 Construct combined texture-sampler ( temp sampler2D)
|
||||
0:36 'g_tTex2df4' ( uniform texture2D)
|
||||
0:36 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
0:36 Constant:
|
||||
0:36 0.100000
|
||||
0:36 0.200000
|
||||
0:36 Constant:
|
||||
0:36 0.750000
|
||||
0:37 Sequence
|
||||
@@ -273,9 +273,9 @@ using depth_any
|
||||
0:37 Construct combined texture-sampler ( temp isampler2D)
|
||||
0:37 'g_tTex2di4' ( uniform itexture2D)
|
||||
0:37 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.300000
|
||||
0:? 0.400000
|
||||
0:37 Constant:
|
||||
0:37 0.300000
|
||||
0:37 0.400000
|
||||
0:37 Constant:
|
||||
0:37 0.750000
|
||||
0:38 Sequence
|
||||
@@ -285,9 +285,9 @@ using depth_any
|
||||
0:38 Construct combined texture-sampler ( temp usampler2D)
|
||||
0:38 'g_tTex2du4' ( uniform utexture2D)
|
||||
0:38 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.500000
|
||||
0:? 0.600000
|
||||
0:38 Constant:
|
||||
0:38 0.500000
|
||||
0:38 0.600000
|
||||
0:38 Constant:
|
||||
0:38 0.750000
|
||||
0:40 Sequence
|
||||
@@ -297,10 +297,10 @@ using depth_any
|
||||
0:40 Construct combined texture-sampler ( temp sampler3D)
|
||||
0:40 'g_tTex3df4' ( uniform texture3D)
|
||||
0:40 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
0:? 0.300000
|
||||
0:40 Constant:
|
||||
0:40 0.100000
|
||||
0:40 0.200000
|
||||
0:40 0.300000
|
||||
0:40 Constant:
|
||||
0:40 0.750000
|
||||
0:41 Sequence
|
||||
@@ -310,10 +310,10 @@ using depth_any
|
||||
0:41 Construct combined texture-sampler ( temp isampler3D)
|
||||
0:41 'g_tTex3di4' ( uniform itexture3D)
|
||||
0:41 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.400000
|
||||
0:? 0.500000
|
||||
0:? 0.600000
|
||||
0:41 Constant:
|
||||
0:41 0.400000
|
||||
0:41 0.500000
|
||||
0:41 0.600000
|
||||
0:41 Constant:
|
||||
0:41 0.750000
|
||||
0:42 Sequence
|
||||
@@ -323,10 +323,10 @@ using depth_any
|
||||
0:42 Construct combined texture-sampler ( temp usampler3D)
|
||||
0:42 'g_tTex3du4' ( uniform utexture3D)
|
||||
0:42 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.700000
|
||||
0:? 0.800000
|
||||
0:? 0.900000
|
||||
0:42 Constant:
|
||||
0:42 0.700000
|
||||
0:42 0.800000
|
||||
0:42 0.900000
|
||||
0:42 Constant:
|
||||
0:42 0.750000
|
||||
0:44 Sequence
|
||||
@@ -336,10 +336,10 @@ using depth_any
|
||||
0:44 Construct combined texture-sampler ( temp samplerCube)
|
||||
0:44 'g_tTexcdf4' ( uniform textureCube)
|
||||
0:44 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
0:? 0.300000
|
||||
0:44 Constant:
|
||||
0:44 0.100000
|
||||
0:44 0.200000
|
||||
0:44 0.300000
|
||||
0:44 Constant:
|
||||
0:44 0.750000
|
||||
0:45 Sequence
|
||||
@@ -349,10 +349,10 @@ using depth_any
|
||||
0:45 Construct combined texture-sampler ( temp isamplerCube)
|
||||
0:45 'g_tTexcdi4' ( uniform itextureCube)
|
||||
0:45 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.400000
|
||||
0:? 0.500000
|
||||
0:? 0.600000
|
||||
0:45 Constant:
|
||||
0:45 0.400000
|
||||
0:45 0.500000
|
||||
0:45 0.600000
|
||||
0:45 Constant:
|
||||
0:45 0.750000
|
||||
0:46 Sequence
|
||||
@@ -362,10 +362,10 @@ using depth_any
|
||||
0:46 Construct combined texture-sampler ( temp usamplerCube)
|
||||
0:46 'g_tTexcdu4' ( uniform utextureCube)
|
||||
0:46 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.700000
|
||||
0:? 0.800000
|
||||
0:? 0.900000
|
||||
0:46 Constant:
|
||||
0:46 0.700000
|
||||
0:46 0.800000
|
||||
0:46 0.900000
|
||||
0:46 Constant:
|
||||
0:46 0.750000
|
||||
0:48 move second child to first child ( temp 4-component vector of float)
|
||||
|
||||
Reference in New Issue
Block a user