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:
@@ -13,9 +13,9 @@ using depth_any
|
||||
0:27 Construct combined texture-sampler ( temp sampler1DArray)
|
||||
0:27 'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
|
||||
0:27 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
0:27 Constant:
|
||||
0:27 0.100000
|
||||
0:27 0.200000
|
||||
0:27 Constant:
|
||||
0:27 1.100000
|
||||
0:27 Constant:
|
||||
@@ -29,9 +29,9 @@ using depth_any
|
||||
0:28 Construct combined texture-sampler ( temp isampler1DArray)
|
||||
0:28 'g_tTex1di4' ( uniform itexture1DArray)
|
||||
0:28 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
0:28 Constant:
|
||||
0:28 0.100000
|
||||
0:28 0.200000
|
||||
0:28 Constant:
|
||||
0:28 1.100000
|
||||
0:28 Constant:
|
||||
@@ -45,9 +45,9 @@ using depth_any
|
||||
0:29 Construct combined texture-sampler ( temp usampler1DArray)
|
||||
0:29 'g_tTex1du4' ( uniform utexture1DArray)
|
||||
0:29 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
0:29 Constant:
|
||||
0:29 0.100000
|
||||
0:29 0.200000
|
||||
0:29 Constant:
|
||||
0:29 1.100000
|
||||
0:29 Constant:
|
||||
@@ -61,19 +61,19 @@ using depth_any
|
||||
0:31 Construct combined texture-sampler ( temp sampler2DArray)
|
||||
0:31 'g_tTex2df4' ( uniform texture2DArray)
|
||||
0:31 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
0:? 0.300000
|
||||
0:? Constant:
|
||||
0:? 1.100000
|
||||
0:? 1.200000
|
||||
0:? Constant:
|
||||
0:? 1.100000
|
||||
0:? 1.200000
|
||||
0:? Constant:
|
||||
0:? 1 (const int)
|
||||
0:? 0 (const int)
|
||||
0:31 Constant:
|
||||
0:31 0.100000
|
||||
0:31 0.200000
|
||||
0:31 0.300000
|
||||
0:31 Constant:
|
||||
0:31 1.100000
|
||||
0:31 1.200000
|
||||
0:31 Constant:
|
||||
0:31 1.100000
|
||||
0:31 1.200000
|
||||
0:31 Constant:
|
||||
0:31 1 (const int)
|
||||
0:31 0 (const int)
|
||||
0:32 Sequence
|
||||
0:32 move second child to first child ( temp 4-component vector of int)
|
||||
0:32 'txval21' ( temp 4-component vector of int)
|
||||
@@ -81,19 +81,19 @@ using depth_any
|
||||
0:32 Construct combined texture-sampler ( temp isampler2DArray)
|
||||
0:32 'g_tTex2di4' ( uniform itexture2DArray)
|
||||
0:32 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
0:? 0.300000
|
||||
0:? Constant:
|
||||
0:? 1.100000
|
||||
0:? 1.200000
|
||||
0:? Constant:
|
||||
0:? 1.100000
|
||||
0:? 1.200000
|
||||
0:? Constant:
|
||||
0:? 1 (const int)
|
||||
0:? 0 (const int)
|
||||
0:32 Constant:
|
||||
0:32 0.100000
|
||||
0:32 0.200000
|
||||
0:32 0.300000
|
||||
0:32 Constant:
|
||||
0:32 1.100000
|
||||
0:32 1.200000
|
||||
0:32 Constant:
|
||||
0:32 1.100000
|
||||
0:32 1.200000
|
||||
0:32 Constant:
|
||||
0:32 1 (const int)
|
||||
0:32 0 (const int)
|
||||
0:33 Sequence
|
||||
0:33 move second child to first child ( temp 4-component vector of uint)
|
||||
0:33 'txval22' ( temp 4-component vector of uint)
|
||||
@@ -101,19 +101,19 @@ using depth_any
|
||||
0:33 Construct combined texture-sampler ( temp usampler2DArray)
|
||||
0:33 'g_tTex2du4' ( uniform utexture2DArray)
|
||||
0:33 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
0:? 0.300000
|
||||
0:? Constant:
|
||||
0:? 1.100000
|
||||
0:? 1.200000
|
||||
0:? Constant:
|
||||
0:? 1.100000
|
||||
0:? 1.200000
|
||||
0:? Constant:
|
||||
0:? 1 (const int)
|
||||
0:? 0 (const int)
|
||||
0:33 Constant:
|
||||
0:33 0.100000
|
||||
0:33 0.200000
|
||||
0:33 0.300000
|
||||
0:33 Constant:
|
||||
0:33 1.100000
|
||||
0:33 1.200000
|
||||
0:33 Constant:
|
||||
0:33 1.100000
|
||||
0:33 1.200000
|
||||
0:33 Constant:
|
||||
0:33 1 (const int)
|
||||
0:33 0 (const int)
|
||||
0:35 move second child to first child ( temp 4-component vector of float)
|
||||
0:35 Color: direct index for structure ( temp 4-component vector of float)
|
||||
0:35 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
|
||||
@@ -185,9 +185,9 @@ using depth_any
|
||||
0:27 Construct combined texture-sampler ( temp sampler1DArray)
|
||||
0:27 'g_tTex1df4' (layout( binding=0) uniform texture1DArray)
|
||||
0:27 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
0:27 Constant:
|
||||
0:27 0.100000
|
||||
0:27 0.200000
|
||||
0:27 Constant:
|
||||
0:27 1.100000
|
||||
0:27 Constant:
|
||||
@@ -201,9 +201,9 @@ using depth_any
|
||||
0:28 Construct combined texture-sampler ( temp isampler1DArray)
|
||||
0:28 'g_tTex1di4' ( uniform itexture1DArray)
|
||||
0:28 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
0:28 Constant:
|
||||
0:28 0.100000
|
||||
0:28 0.200000
|
||||
0:28 Constant:
|
||||
0:28 1.100000
|
||||
0:28 Constant:
|
||||
@@ -217,9 +217,9 @@ using depth_any
|
||||
0:29 Construct combined texture-sampler ( temp usampler1DArray)
|
||||
0:29 'g_tTex1du4' ( uniform utexture1DArray)
|
||||
0:29 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
0:29 Constant:
|
||||
0:29 0.100000
|
||||
0:29 0.200000
|
||||
0:29 Constant:
|
||||
0:29 1.100000
|
||||
0:29 Constant:
|
||||
@@ -233,19 +233,19 @@ using depth_any
|
||||
0:31 Construct combined texture-sampler ( temp sampler2DArray)
|
||||
0:31 'g_tTex2df4' ( uniform texture2DArray)
|
||||
0:31 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
0:? 0.300000
|
||||
0:? Constant:
|
||||
0:? 1.100000
|
||||
0:? 1.200000
|
||||
0:? Constant:
|
||||
0:? 1.100000
|
||||
0:? 1.200000
|
||||
0:? Constant:
|
||||
0:? 1 (const int)
|
||||
0:? 0 (const int)
|
||||
0:31 Constant:
|
||||
0:31 0.100000
|
||||
0:31 0.200000
|
||||
0:31 0.300000
|
||||
0:31 Constant:
|
||||
0:31 1.100000
|
||||
0:31 1.200000
|
||||
0:31 Constant:
|
||||
0:31 1.100000
|
||||
0:31 1.200000
|
||||
0:31 Constant:
|
||||
0:31 1 (const int)
|
||||
0:31 0 (const int)
|
||||
0:32 Sequence
|
||||
0:32 move second child to first child ( temp 4-component vector of int)
|
||||
0:32 'txval21' ( temp 4-component vector of int)
|
||||
@@ -253,19 +253,19 @@ using depth_any
|
||||
0:32 Construct combined texture-sampler ( temp isampler2DArray)
|
||||
0:32 'g_tTex2di4' ( uniform itexture2DArray)
|
||||
0:32 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
0:? 0.300000
|
||||
0:? Constant:
|
||||
0:? 1.100000
|
||||
0:? 1.200000
|
||||
0:? Constant:
|
||||
0:? 1.100000
|
||||
0:? 1.200000
|
||||
0:? Constant:
|
||||
0:? 1 (const int)
|
||||
0:? 0 (const int)
|
||||
0:32 Constant:
|
||||
0:32 0.100000
|
||||
0:32 0.200000
|
||||
0:32 0.300000
|
||||
0:32 Constant:
|
||||
0:32 1.100000
|
||||
0:32 1.200000
|
||||
0:32 Constant:
|
||||
0:32 1.100000
|
||||
0:32 1.200000
|
||||
0:32 Constant:
|
||||
0:32 1 (const int)
|
||||
0:32 0 (const int)
|
||||
0:33 Sequence
|
||||
0:33 move second child to first child ( temp 4-component vector of uint)
|
||||
0:33 'txval22' ( temp 4-component vector of uint)
|
||||
@@ -273,19 +273,19 @@ using depth_any
|
||||
0:33 Construct combined texture-sampler ( temp usampler2DArray)
|
||||
0:33 'g_tTex2du4' ( uniform utexture2DArray)
|
||||
0:33 'g_sSamp' (layout( binding=0) uniform sampler)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
0:? 0.300000
|
||||
0:? Constant:
|
||||
0:? 1.100000
|
||||
0:? 1.200000
|
||||
0:? Constant:
|
||||
0:? 1.100000
|
||||
0:? 1.200000
|
||||
0:? Constant:
|
||||
0:? 1 (const int)
|
||||
0:? 0 (const int)
|
||||
0:33 Constant:
|
||||
0:33 0.100000
|
||||
0:33 0.200000
|
||||
0:33 0.300000
|
||||
0:33 Constant:
|
||||
0:33 1.100000
|
||||
0:33 1.200000
|
||||
0:33 Constant:
|
||||
0:33 1.100000
|
||||
0:33 1.200000
|
||||
0:33 Constant:
|
||||
0:33 1 (const int)
|
||||
0:33 0 (const int)
|
||||
0:35 move second child to first child ( temp 4-component vector of float)
|
||||
0:35 Color: direct index for structure ( temp 4-component vector of float)
|
||||
0:35 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
|
||||
|
||||
Reference in New Issue
Block a user