 adfa0938a2
			
		
	
	
		adfa0938a2
		
			
		
	
	
	
	
		
			
			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.
		
			
				
	
	
		
			728 lines
		
	
	
		
			33 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			728 lines
		
	
	
		
			33 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| hlsl.samplegrad.offset.dx10.frag
 | |
| Shader version: 500
 | |
| gl_FragCoord origin is upper left
 | |
| using depth_any
 | |
| 0:? Sequence
 | |
| 0:28  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
 | |
| 0:28    Function Parameters: 
 | |
| 0:?     Sequence
 | |
| 0:31      Sequence
 | |
| 0:31        move second child to first child ( temp 4-component vector of float)
 | |
| 0:31          'txval10' ( temp 4-component vector of float)
 | |
| 0:31          textureGradOffset ( temp 4-component vector of float)
 | |
| 0:31            Construct combined texture-sampler ( temp sampler1D)
 | |
| 0:31              'g_tTex1df4' (layout( binding=0) uniform texture1D)
 | |
| 0:31              'g_sSamp' (layout( binding=0) uniform sampler)
 | |
| 0:31            Constant:
 | |
| 0:31              0.100000
 | |
| 0:31            Constant:
 | |
| 0:31              1.100000
 | |
| 0:31            Constant:
 | |
| 0:31              1.200000
 | |
| 0:31            Constant:
 | |
| 0:31              1 (const int)
 | |
| 0:32      Sequence
 | |
| 0:32        move second child to first child ( temp 4-component vector of int)
 | |
| 0:32          'txval11' ( temp 4-component vector of int)
 | |
| 0:32          textureGradOffset ( temp 4-component vector of int)
 | |
| 0:32            Construct combined texture-sampler ( temp isampler1D)
 | |
| 0:32              'g_tTex1di4' ( uniform itexture1D)
 | |
| 0:32              'g_sSamp' (layout( binding=0) uniform sampler)
 | |
| 0:32            Constant:
 | |
| 0:32              0.200000
 | |
| 0:32            Constant:
 | |
| 0:32              1.100000
 | |
| 0:32            Constant:
 | |
| 0:32              1.200000
 | |
| 0:32            Constant:
 | |
| 0:32              1 (const int)
 | |
| 0:33      Sequence
 | |
| 0:33        move second child to first child ( temp 4-component vector of uint)
 | |
| 0:33          'txval12' ( temp 4-component vector of uint)
 | |
| 0:33          textureGradOffset ( temp 4-component vector of uint)
 | |
| 0:33            Construct combined texture-sampler ( temp usampler1D)
 | |
| 0:33              'g_tTex1du4' ( uniform utexture1D)
 | |
| 0:33              'g_sSamp' (layout( binding=0) uniform sampler)
 | |
| 0:33            Constant:
 | |
| 0:33              0.300000
 | |
| 0:33            Constant:
 | |
| 0:33              1.100000
 | |
| 0:33            Constant:
 | |
| 0:33              1.200000
 | |
| 0:33            Constant:
 | |
| 0:33              1 (const int)
 | |
| 0:35      Sequence
 | |
| 0:35        move second child to first child ( temp 4-component vector of float)
 | |
| 0:35          'txval20' ( temp 4-component vector of float)
 | |
| 0:35          textureGradOffset ( temp 4-component vector of float)
 | |
| 0:35            Construct combined texture-sampler ( temp sampler2D)
 | |
| 0:35              'g_tTex2df4' ( uniform texture2D)
 | |
| 0:35              'g_sSamp' (layout( binding=0) uniform sampler)
 | |
| 0:35            Constant:
 | |
| 0:35              0.100000
 | |
| 0:35              0.200000
 | |
| 0:35            Constant:
 | |
| 0:35              0.100000
 | |
| 0:35              0.200000
 | |
| 0:35            Constant:
 | |
| 0:35              1.100000
 | |
| 0:35              1.200000
 | |
| 0:35            Constant:
 | |
| 0:35              1 (const int)
 | |
| 0:35              0 (const int)
 | |
| 0:36      Sequence
 | |
| 0:36        move second child to first child ( temp 4-component vector of int)
 | |
| 0:36          'txval21' ( temp 4-component vector of int)
 | |
| 0:36          textureGradOffset ( temp 4-component vector of int)
 | |
| 0:36            Construct combined texture-sampler ( temp isampler2D)
 | |
| 0:36              'g_tTex2di4' ( uniform itexture2D)
 | |
| 0:36              'g_sSamp' (layout( binding=0) uniform sampler)
 | |
| 0:36            Constant:
 | |
| 0:36              0.300000
 | |
| 0:36              0.400000
 | |
| 0:36            Constant:
 | |
| 0:36              0.100000
 | |
| 0:36              0.200000
 | |
| 0:36            Constant:
 | |
| 0:36              1.100000
 | |
| 0:36              1.200000
 | |
| 0:36            Constant:
 | |
| 0:36              1 (const int)
 | |
| 0:36              1 (const int)
 | |
| 0:37      Sequence
 | |
| 0:37        move second child to first child ( temp 4-component vector of uint)
 | |
| 0:37          'txval22' ( temp 4-component vector of uint)
 | |
| 0:37          textureGradOffset ( temp 4-component vector of uint)
 | |
| 0:37            Construct combined texture-sampler ( temp usampler2D)
 | |
| 0:37              'g_tTex2du4' ( uniform utexture2D)
 | |
| 0:37              'g_sSamp' (layout( binding=0) uniform sampler)
 | |
| 0:37            Constant:
 | |
| 0:37              0.500000
 | |
| 0:37              0.600000
 | |
| 0:37            Constant:
 | |
| 0:37              0.100000
 | |
| 0:37              0.200000
 | |
| 0:37            Constant:
 | |
| 0:37              1.100000
 | |
| 0:37              1.200000
 | |
| 0:37            Constant:
 | |
| 0:37              1 (const int)
 | |
| 0:37              -1 (const int)
 | |
| 0:39      Sequence
 | |
| 0:39        move second child to first child ( temp 4-component vector of float)
 | |
| 0:39          'txval30' ( temp 4-component vector of float)
 | |
| 0:39          textureGradOffset ( temp 4-component vector of float)
 | |
| 0:39            Construct combined texture-sampler ( temp sampler3D)
 | |
| 0:39              'g_tTex3df4' ( uniform texture3D)
 | |
| 0:39              'g_sSamp' (layout( binding=0) uniform sampler)
 | |
| 0:39            Constant:
 | |
| 0:39              0.100000
 | |
| 0:39              0.200000
 | |
| 0:39              0.300000
 | |
| 0:39            Constant:
 | |
| 0:39              1.100000
 | |
| 0:39              1.200000
 | |
| 0:39              1.300000
 | |
| 0:39            Constant:
 | |
| 0:39              1.100000
 | |
| 0:39              1.200000
 | |
| 0:39              1.300000
 | |
| 0:39            Constant:
 | |
| 0:39              1 (const int)
 | |
| 0:39              0 (const int)
 | |
| 0:39              1 (const int)
 | |
| 0:40      Sequence
 | |
| 0:40        move second child to first child ( temp 4-component vector of int)
 | |
| 0:40          'txval31' ( temp 4-component vector of int)
 | |
| 0:40          textureGradOffset ( temp 4-component vector of int)
 | |
| 0:40            Construct combined texture-sampler ( temp isampler3D)
 | |
| 0:40              'g_tTex3di4' ( uniform itexture3D)
 | |
| 0:40              'g_sSamp' (layout( binding=0) uniform sampler)
 | |
| 0:40            Constant:
 | |
| 0:40              0.400000
 | |
| 0:40              0.500000
 | |
| 0:40              0.600000
 | |
| 0:40            Constant:
 | |
| 0:40              1.100000
 | |
| 0:40              1.200000
 | |
| 0:40              1.300000
 | |
| 0:40            Constant:
 | |
| 0:40              1.100000
 | |
| 0:40              1.200000
 | |
| 0:40              1.300000
 | |
| 0:40            Constant:
 | |
| 0:40              1 (const int)
 | |
| 0:40              1 (const int)
 | |
| 0:40              1 (const int)
 | |
| 0:41      Sequence
 | |
| 0:41        move second child to first child ( temp 4-component vector of uint)
 | |
| 0:41          'txval32' ( temp 4-component vector of uint)
 | |
| 0:41          textureGradOffset ( temp 4-component vector of uint)
 | |
| 0:41            Construct combined texture-sampler ( temp usampler3D)
 | |
| 0:41              'g_tTex3du4' ( uniform utexture3D)
 | |
| 0:41              'g_sSamp' (layout( binding=0) uniform sampler)
 | |
| 0:41            Constant:
 | |
| 0:41              0.700000
 | |
| 0:41              0.800000
 | |
| 0:41              0.900000
 | |
| 0:41            Constant:
 | |
| 0:41              1.100000
 | |
| 0:41              1.200000
 | |
| 0:41              1.300000
 | |
| 0:41            Constant:
 | |
| 0:41              1.100000
 | |
| 0:41              1.200000
 | |
| 0:41              1.300000
 | |
| 0:41            Constant:
 | |
| 0:41              1 (const int)
 | |
| 0:41              0 (const int)
 | |
| 0:41              -1 (const int)
 | |
| 0:45      move second child to first child ( temp 4-component vector of float)
 | |
| 0:45        Color: direct index for structure ( temp 4-component vector of float)
 | |
| 0:45          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
 | |
| 0:45          Constant:
 | |
| 0:45            0 (const int)
 | |
| 0:45        Constant:
 | |
| 0:45          1.000000
 | |
| 0:45          1.000000
 | |
| 0:45          1.000000
 | |
| 0:45          1.000000
 | |
| 0:46      move second child to first child ( temp float)
 | |
| 0:46        Depth: direct index for structure ( temp float)
 | |
| 0:46          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
 | |
| 0:46          Constant:
 | |
| 0:46            1 (const int)
 | |
| 0:46        Constant:
 | |
| 0:46          1.000000
 | |
| 0:48      Branch: Return with expression
 | |
| 0:48        'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
 | |
| 0:28  Function Definition: main( ( temp void)
 | |
| 0:28    Function Parameters: 
 | |
| 0:?     Sequence
 | |
| 0:28      Sequence
 | |
| 0:28        move second child to first child ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
 | |
| 0:28          'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
 | |
| 0:28          Function Call: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
 | |
| 0:28        move second child to first child ( temp 4-component vector of float)
 | |
| 0:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
 | |
| 0:28          Color: direct index for structure ( temp 4-component vector of float)
 | |
| 0:28            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
 | |
| 0:28            Constant:
 | |
| 0:28              0 (const int)
 | |
| 0:28        move second child to first child ( temp float)
 | |
| 0:?           '@entryPointOutput.Depth' ( out float FragDepth)
 | |
| 0:28          Depth: direct index for structure ( temp float)
 | |
| 0:28            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
 | |
| 0:28            Constant:
 | |
| 0:28              1 (const int)
 | |
| 0:?   Linker Objects
 | |
| 0:?     'g_sSamp' (layout( binding=0) uniform sampler)
 | |
| 0:?     'g_tTex1df4a' (layout( binding=1) uniform texture1D)
 | |
| 0:?     'g_tTex1df4' (layout( binding=0) uniform texture1D)
 | |
| 0:?     'g_tTex1di4' ( uniform itexture1D)
 | |
| 0:?     'g_tTex1du4' ( uniform utexture1D)
 | |
| 0:?     'g_tTex2df4' ( uniform texture2D)
 | |
| 0:?     'g_tTex2di4' ( uniform itexture2D)
 | |
| 0:?     'g_tTex2du4' ( uniform utexture2D)
 | |
| 0:?     'g_tTex3df4' ( uniform texture3D)
 | |
| 0:?     'g_tTex3di4' ( uniform itexture3D)
 | |
| 0:?     'g_tTex3du4' ( uniform utexture3D)
 | |
| 0:?     'g_tTexcdf4' ( uniform textureCube)
 | |
| 0:?     'g_tTexcdi4' ( uniform itextureCube)
 | |
| 0:?     'g_tTexcdu4' ( uniform utextureCube)
 | |
| 0:?     '@entryPointOutput.Depth' ( out float FragDepth)
 | |
| 0:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
 | |
| 
 | |
| 
 | |
| Linked fragment stage:
 | |
| 
 | |
| 
 | |
| Shader version: 500
 | |
| gl_FragCoord origin is upper left
 | |
| using depth_any
 | |
| 0:? Sequence
 | |
| 0:28  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
 | |
| 0:28    Function Parameters: 
 | |
| 0:?     Sequence
 | |
| 0:31      Sequence
 | |
| 0:31        move second child to first child ( temp 4-component vector of float)
 | |
| 0:31          'txval10' ( temp 4-component vector of float)
 | |
| 0:31          textureGradOffset ( temp 4-component vector of float)
 | |
| 0:31            Construct combined texture-sampler ( temp sampler1D)
 | |
| 0:31              'g_tTex1df4' (layout( binding=0) uniform texture1D)
 | |
| 0:31              'g_sSamp' (layout( binding=0) uniform sampler)
 | |
| 0:31            Constant:
 | |
| 0:31              0.100000
 | |
| 0:31            Constant:
 | |
| 0:31              1.100000
 | |
| 0:31            Constant:
 | |
| 0:31              1.200000
 | |
| 0:31            Constant:
 | |
| 0:31              1 (const int)
 | |
| 0:32      Sequence
 | |
| 0:32        move second child to first child ( temp 4-component vector of int)
 | |
| 0:32          'txval11' ( temp 4-component vector of int)
 | |
| 0:32          textureGradOffset ( temp 4-component vector of int)
 | |
| 0:32            Construct combined texture-sampler ( temp isampler1D)
 | |
| 0:32              'g_tTex1di4' ( uniform itexture1D)
 | |
| 0:32              'g_sSamp' (layout( binding=0) uniform sampler)
 | |
| 0:32            Constant:
 | |
| 0:32              0.200000
 | |
| 0:32            Constant:
 | |
| 0:32              1.100000
 | |
| 0:32            Constant:
 | |
| 0:32              1.200000
 | |
| 0:32            Constant:
 | |
| 0:32              1 (const int)
 | |
| 0:33      Sequence
 | |
| 0:33        move second child to first child ( temp 4-component vector of uint)
 | |
| 0:33          'txval12' ( temp 4-component vector of uint)
 | |
| 0:33          textureGradOffset ( temp 4-component vector of uint)
 | |
| 0:33            Construct combined texture-sampler ( temp usampler1D)
 | |
| 0:33              'g_tTex1du4' ( uniform utexture1D)
 | |
| 0:33              'g_sSamp' (layout( binding=0) uniform sampler)
 | |
| 0:33            Constant:
 | |
| 0:33              0.300000
 | |
| 0:33            Constant:
 | |
| 0:33              1.100000
 | |
| 0:33            Constant:
 | |
| 0:33              1.200000
 | |
| 0:33            Constant:
 | |
| 0:33              1 (const int)
 | |
| 0:35      Sequence
 | |
| 0:35        move second child to first child ( temp 4-component vector of float)
 | |
| 0:35          'txval20' ( temp 4-component vector of float)
 | |
| 0:35          textureGradOffset ( temp 4-component vector of float)
 | |
| 0:35            Construct combined texture-sampler ( temp sampler2D)
 | |
| 0:35              'g_tTex2df4' ( uniform texture2D)
 | |
| 0:35              'g_sSamp' (layout( binding=0) uniform sampler)
 | |
| 0:35            Constant:
 | |
| 0:35              0.100000
 | |
| 0:35              0.200000
 | |
| 0:35            Constant:
 | |
| 0:35              0.100000
 | |
| 0:35              0.200000
 | |
| 0:35            Constant:
 | |
| 0:35              1.100000
 | |
| 0:35              1.200000
 | |
| 0:35            Constant:
 | |
| 0:35              1 (const int)
 | |
| 0:35              0 (const int)
 | |
| 0:36      Sequence
 | |
| 0:36        move second child to first child ( temp 4-component vector of int)
 | |
| 0:36          'txval21' ( temp 4-component vector of int)
 | |
| 0:36          textureGradOffset ( temp 4-component vector of int)
 | |
| 0:36            Construct combined texture-sampler ( temp isampler2D)
 | |
| 0:36              'g_tTex2di4' ( uniform itexture2D)
 | |
| 0:36              'g_sSamp' (layout( binding=0) uniform sampler)
 | |
| 0:36            Constant:
 | |
| 0:36              0.300000
 | |
| 0:36              0.400000
 | |
| 0:36            Constant:
 | |
| 0:36              0.100000
 | |
| 0:36              0.200000
 | |
| 0:36            Constant:
 | |
| 0:36              1.100000
 | |
| 0:36              1.200000
 | |
| 0:36            Constant:
 | |
| 0:36              1 (const int)
 | |
| 0:36              1 (const int)
 | |
| 0:37      Sequence
 | |
| 0:37        move second child to first child ( temp 4-component vector of uint)
 | |
| 0:37          'txval22' ( temp 4-component vector of uint)
 | |
| 0:37          textureGradOffset ( temp 4-component vector of uint)
 | |
| 0:37            Construct combined texture-sampler ( temp usampler2D)
 | |
| 0:37              'g_tTex2du4' ( uniform utexture2D)
 | |
| 0:37              'g_sSamp' (layout( binding=0) uniform sampler)
 | |
| 0:37            Constant:
 | |
| 0:37              0.500000
 | |
| 0:37              0.600000
 | |
| 0:37            Constant:
 | |
| 0:37              0.100000
 | |
| 0:37              0.200000
 | |
| 0:37            Constant:
 | |
| 0:37              1.100000
 | |
| 0:37              1.200000
 | |
| 0:37            Constant:
 | |
| 0:37              1 (const int)
 | |
| 0:37              -1 (const int)
 | |
| 0:39      Sequence
 | |
| 0:39        move second child to first child ( temp 4-component vector of float)
 | |
| 0:39          'txval30' ( temp 4-component vector of float)
 | |
| 0:39          textureGradOffset ( temp 4-component vector of float)
 | |
| 0:39            Construct combined texture-sampler ( temp sampler3D)
 | |
| 0:39              'g_tTex3df4' ( uniform texture3D)
 | |
| 0:39              'g_sSamp' (layout( binding=0) uniform sampler)
 | |
| 0:39            Constant:
 | |
| 0:39              0.100000
 | |
| 0:39              0.200000
 | |
| 0:39              0.300000
 | |
| 0:39            Constant:
 | |
| 0:39              1.100000
 | |
| 0:39              1.200000
 | |
| 0:39              1.300000
 | |
| 0:39            Constant:
 | |
| 0:39              1.100000
 | |
| 0:39              1.200000
 | |
| 0:39              1.300000
 | |
| 0:39            Constant:
 | |
| 0:39              1 (const int)
 | |
| 0:39              0 (const int)
 | |
| 0:39              1 (const int)
 | |
| 0:40      Sequence
 | |
| 0:40        move second child to first child ( temp 4-component vector of int)
 | |
| 0:40          'txval31' ( temp 4-component vector of int)
 | |
| 0:40          textureGradOffset ( temp 4-component vector of int)
 | |
| 0:40            Construct combined texture-sampler ( temp isampler3D)
 | |
| 0:40              'g_tTex3di4' ( uniform itexture3D)
 | |
| 0:40              'g_sSamp' (layout( binding=0) uniform sampler)
 | |
| 0:40            Constant:
 | |
| 0:40              0.400000
 | |
| 0:40              0.500000
 | |
| 0:40              0.600000
 | |
| 0:40            Constant:
 | |
| 0:40              1.100000
 | |
| 0:40              1.200000
 | |
| 0:40              1.300000
 | |
| 0:40            Constant:
 | |
| 0:40              1.100000
 | |
| 0:40              1.200000
 | |
| 0:40              1.300000
 | |
| 0:40            Constant:
 | |
| 0:40              1 (const int)
 | |
| 0:40              1 (const int)
 | |
| 0:40              1 (const int)
 | |
| 0:41      Sequence
 | |
| 0:41        move second child to first child ( temp 4-component vector of uint)
 | |
| 0:41          'txval32' ( temp 4-component vector of uint)
 | |
| 0:41          textureGradOffset ( temp 4-component vector of uint)
 | |
| 0:41            Construct combined texture-sampler ( temp usampler3D)
 | |
| 0:41              'g_tTex3du4' ( uniform utexture3D)
 | |
| 0:41              'g_sSamp' (layout( binding=0) uniform sampler)
 | |
| 0:41            Constant:
 | |
| 0:41              0.700000
 | |
| 0:41              0.800000
 | |
| 0:41              0.900000
 | |
| 0:41            Constant:
 | |
| 0:41              1.100000
 | |
| 0:41              1.200000
 | |
| 0:41              1.300000
 | |
| 0:41            Constant:
 | |
| 0:41              1.100000
 | |
| 0:41              1.200000
 | |
| 0:41              1.300000
 | |
| 0:41            Constant:
 | |
| 0:41              1 (const int)
 | |
| 0:41              0 (const int)
 | |
| 0:41              -1 (const int)
 | |
| 0:45      move second child to first child ( temp 4-component vector of float)
 | |
| 0:45        Color: direct index for structure ( temp 4-component vector of float)
 | |
| 0:45          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
 | |
| 0:45          Constant:
 | |
| 0:45            0 (const int)
 | |
| 0:45        Constant:
 | |
| 0:45          1.000000
 | |
| 0:45          1.000000
 | |
| 0:45          1.000000
 | |
| 0:45          1.000000
 | |
| 0:46      move second child to first child ( temp float)
 | |
| 0:46        Depth: direct index for structure ( temp float)
 | |
| 0:46          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
 | |
| 0:46          Constant:
 | |
| 0:46            1 (const int)
 | |
| 0:46        Constant:
 | |
| 0:46          1.000000
 | |
| 0:48      Branch: Return with expression
 | |
| 0:48        'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
 | |
| 0:28  Function Definition: main( ( temp void)
 | |
| 0:28    Function Parameters: 
 | |
| 0:?     Sequence
 | |
| 0:28      Sequence
 | |
| 0:28        move second child to first child ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
 | |
| 0:28          'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
 | |
| 0:28          Function Call: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
 | |
| 0:28        move second child to first child ( temp 4-component vector of float)
 | |
| 0:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
 | |
| 0:28          Color: direct index for structure ( temp 4-component vector of float)
 | |
| 0:28            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
 | |
| 0:28            Constant:
 | |
| 0:28              0 (const int)
 | |
| 0:28        move second child to first child ( temp float)
 | |
| 0:?           '@entryPointOutput.Depth' ( out float FragDepth)
 | |
| 0:28          Depth: direct index for structure ( temp float)
 | |
| 0:28            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
 | |
| 0:28            Constant:
 | |
| 0:28              1 (const int)
 | |
| 0:?   Linker Objects
 | |
| 0:?     'g_sSamp' (layout( binding=0) uniform sampler)
 | |
| 0:?     'g_tTex1df4a' (layout( binding=1) uniform texture1D)
 | |
| 0:?     'g_tTex1df4' (layout( binding=0) uniform texture1D)
 | |
| 0:?     'g_tTex1di4' ( uniform itexture1D)
 | |
| 0:?     'g_tTex1du4' ( uniform utexture1D)
 | |
| 0:?     'g_tTex2df4' ( uniform texture2D)
 | |
| 0:?     'g_tTex2di4' ( uniform itexture2D)
 | |
| 0:?     'g_tTex2du4' ( uniform utexture2D)
 | |
| 0:?     'g_tTex3df4' ( uniform texture3D)
 | |
| 0:?     'g_tTex3di4' ( uniform itexture3D)
 | |
| 0:?     'g_tTex3du4' ( uniform utexture3D)
 | |
| 0:?     'g_tTexcdf4' ( uniform textureCube)
 | |
| 0:?     'g_tTexcdi4' ( uniform itextureCube)
 | |
| 0:?     'g_tTexcdu4' ( uniform utextureCube)
 | |
| 0:?     '@entryPointOutput.Depth' ( out float FragDepth)
 | |
| 0:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
 | |
| 
 | |
| // Module Version 10000
 | |
| // Generated by (magic number): 8000a
 | |
| // Id's are bound by 166
 | |
| 
 | |
|                               Capability Shader
 | |
|                               Capability Sampled1D
 | |
|                1:             ExtInstImport  "GLSL.std.450"
 | |
|                               MemoryModel Logical GLSL450
 | |
|                               EntryPoint Fragment 4  "main" 149 153
 | |
|                               ExecutionMode 4 OriginUpperLeft
 | |
|                               ExecutionMode 4 DepthReplacing
 | |
|                               Source HLSL 500
 | |
|                               Name 4  "main"
 | |
|                               Name 8  "PS_OUTPUT"
 | |
|                               MemberName 8(PS_OUTPUT) 0  "Color"
 | |
|                               MemberName 8(PS_OUTPUT) 1  "Depth"
 | |
|                               Name 10  "@main("
 | |
|                               Name 13  "txval10"
 | |
|                               Name 16  "g_tTex1df4"
 | |
|                               Name 20  "g_sSamp"
 | |
|                               Name 32  "txval11"
 | |
|                               Name 35  "g_tTex1di4"
 | |
|                               Name 45  "txval12"
 | |
|                               Name 48  "g_tTex1du4"
 | |
|                               Name 55  "txval20"
 | |
|                               Name 58  "g_tTex2df4"
 | |
|                               Name 70  "txval21"
 | |
|                               Name 73  "g_tTex2di4"
 | |
|                               Name 82  "txval22"
 | |
|                               Name 85  "g_tTex2du4"
 | |
|                               Name 96  "txval30"
 | |
|                               Name 99  "g_tTex3df4"
 | |
|                               Name 111  "txval31"
 | |
|                               Name 114  "g_tTex3di4"
 | |
|                               Name 122  "txval32"
 | |
|                               Name 125  "g_tTex3du4"
 | |
|                               Name 137  "psout"
 | |
|                               Name 146  "flattenTemp"
 | |
|                               Name 149  "@entryPointOutput.Color"
 | |
|                               Name 153  "@entryPointOutput.Depth"
 | |
|                               Name 156  "g_tTex1df4a"
 | |
|                               Name 159  "g_tTexcdf4"
 | |
|                               Name 162  "g_tTexcdi4"
 | |
|                               Name 165  "g_tTexcdu4"
 | |
|                               Decorate 16(g_tTex1df4) DescriptorSet 0
 | |
|                               Decorate 16(g_tTex1df4) Binding 0
 | |
|                               Decorate 20(g_sSamp) DescriptorSet 0
 | |
|                               Decorate 20(g_sSamp) Binding 0
 | |
|                               Decorate 35(g_tTex1di4) DescriptorSet 0
 | |
|                               Decorate 35(g_tTex1di4) Binding 2
 | |
|                               Decorate 48(g_tTex1du4) DescriptorSet 0
 | |
|                               Decorate 48(g_tTex1du4) Binding 3
 | |
|                               Decorate 58(g_tTex2df4) DescriptorSet 0
 | |
|                               Decorate 58(g_tTex2df4) Binding 4
 | |
|                               Decorate 73(g_tTex2di4) DescriptorSet 0
 | |
|                               Decorate 73(g_tTex2di4) Binding 5
 | |
|                               Decorate 85(g_tTex2du4) DescriptorSet 0
 | |
|                               Decorate 85(g_tTex2du4) Binding 6
 | |
|                               Decorate 99(g_tTex3df4) DescriptorSet 0
 | |
|                               Decorate 99(g_tTex3df4) Binding 7
 | |
|                               Decorate 114(g_tTex3di4) DescriptorSet 0
 | |
|                               Decorate 114(g_tTex3di4) Binding 8
 | |
|                               Decorate 125(g_tTex3du4) DescriptorSet 0
 | |
|                               Decorate 125(g_tTex3du4) Binding 9
 | |
|                               Decorate 149(@entryPointOutput.Color) Location 0
 | |
|                               Decorate 153(@entryPointOutput.Depth) BuiltIn FragDepth
 | |
|                               Decorate 156(g_tTex1df4a) DescriptorSet 0
 | |
|                               Decorate 156(g_tTex1df4a) Binding 1
 | |
|                               Decorate 159(g_tTexcdf4) DescriptorSet 0
 | |
|                               Decorate 159(g_tTexcdf4) Binding 0
 | |
|                               Decorate 162(g_tTexcdi4) DescriptorSet 0
 | |
|                               Decorate 162(g_tTexcdi4) Binding 0
 | |
|                               Decorate 165(g_tTexcdu4) DescriptorSet 0
 | |
|                               Decorate 165(g_tTexcdu4) Binding 0
 | |
|                2:             TypeVoid
 | |
|                3:             TypeFunction 2
 | |
|                6:             TypeFloat 32
 | |
|                7:             TypeVector 6(float) 4
 | |
|     8(PS_OUTPUT):             TypeStruct 7(fvec4) 6(float)
 | |
|                9:             TypeFunction 8(PS_OUTPUT)
 | |
|               12:             TypePointer Function 7(fvec4)
 | |
|               14:             TypeImage 6(float) 1D sampled format:Unknown
 | |
|               15:             TypePointer UniformConstant 14
 | |
|   16(g_tTex1df4):     15(ptr) Variable UniformConstant
 | |
|               18:             TypeSampler
 | |
|               19:             TypePointer UniformConstant 18
 | |
|      20(g_sSamp):     19(ptr) Variable UniformConstant
 | |
|               22:             TypeSampledImage 14
 | |
|               24:    6(float) Constant 1036831949
 | |
|               25:    6(float) Constant 1066192077
 | |
|               26:    6(float) Constant 1067030938
 | |
|               27:             TypeInt 32 1
 | |
|               28:     27(int) Constant 1
 | |
|               30:             TypeVector 27(int) 4
 | |
|               31:             TypePointer Function 30(ivec4)
 | |
|               33:             TypeImage 27(int) 1D sampled format:Unknown
 | |
|               34:             TypePointer UniformConstant 33
 | |
|   35(g_tTex1di4):     34(ptr) Variable UniformConstant
 | |
|               38:             TypeSampledImage 33
 | |
|               40:    6(float) Constant 1045220557
 | |
|               42:             TypeInt 32 0
 | |
|               43:             TypeVector 42(int) 4
 | |
|               44:             TypePointer Function 43(ivec4)
 | |
|               46:             TypeImage 42(int) 1D sampled format:Unknown
 | |
|               47:             TypePointer UniformConstant 46
 | |
|   48(g_tTex1du4):     47(ptr) Variable UniformConstant
 | |
|               51:             TypeSampledImage 46
 | |
|               53:    6(float) Constant 1050253722
 | |
|               56:             TypeImage 6(float) 2D sampled format:Unknown
 | |
|               57:             TypePointer UniformConstant 56
 | |
|   58(g_tTex2df4):     57(ptr) Variable UniformConstant
 | |
|               61:             TypeSampledImage 56
 | |
|               63:             TypeVector 6(float) 2
 | |
|               64:   63(fvec2) ConstantComposite 24 40
 | |
|               65:   63(fvec2) ConstantComposite 25 26
 | |
|               66:             TypeVector 27(int) 2
 | |
|               67:     27(int) Constant 0
 | |
|               68:   66(ivec2) ConstantComposite 28 67
 | |
|               71:             TypeImage 27(int) 2D sampled format:Unknown
 | |
|               72:             TypePointer UniformConstant 71
 | |
|   73(g_tTex2di4):     72(ptr) Variable UniformConstant
 | |
|               76:             TypeSampledImage 71
 | |
|               78:    6(float) Constant 1053609165
 | |
|               79:   63(fvec2) ConstantComposite 53 78
 | |
|               80:   66(ivec2) ConstantComposite 28 28
 | |
|               83:             TypeImage 42(int) 2D sampled format:Unknown
 | |
|               84:             TypePointer UniformConstant 83
 | |
|   85(g_tTex2du4):     84(ptr) Variable UniformConstant
 | |
|               88:             TypeSampledImage 83
 | |
|               90:    6(float) Constant 1056964608
 | |
|               91:    6(float) Constant 1058642330
 | |
|               92:   63(fvec2) ConstantComposite 90 91
 | |
|               93:     27(int) Constant 4294967295
 | |
|               94:   66(ivec2) ConstantComposite 28 93
 | |
|               97:             TypeImage 6(float) 3D sampled format:Unknown
 | |
|               98:             TypePointer UniformConstant 97
 | |
|   99(g_tTex3df4):     98(ptr) Variable UniformConstant
 | |
|              102:             TypeSampledImage 97
 | |
|              104:             TypeVector 6(float) 3
 | |
|              105:  104(fvec3) ConstantComposite 24 40 53
 | |
|              106:    6(float) Constant 1067869798
 | |
|              107:  104(fvec3) ConstantComposite 25 26 106
 | |
|              108:             TypeVector 27(int) 3
 | |
|              109:  108(ivec3) ConstantComposite 28 67 28
 | |
|              112:             TypeImage 27(int) 3D sampled format:Unknown
 | |
|              113:             TypePointer UniformConstant 112
 | |
|  114(g_tTex3di4):    113(ptr) Variable UniformConstant
 | |
|              117:             TypeSampledImage 112
 | |
|              119:  104(fvec3) ConstantComposite 78 90 91
 | |
|              120:  108(ivec3) ConstantComposite 28 28 28
 | |
|              123:             TypeImage 42(int) 3D sampled format:Unknown
 | |
|              124:             TypePointer UniformConstant 123
 | |
|  125(g_tTex3du4):    124(ptr) Variable UniformConstant
 | |
|              128:             TypeSampledImage 123
 | |
|              130:    6(float) Constant 1060320051
 | |
|              131:    6(float) Constant 1061997773
 | |
|              132:    6(float) Constant 1063675494
 | |
|              133:  104(fvec3) ConstantComposite 130 131 132
 | |
|              134:  108(ivec3) ConstantComposite 28 67 93
 | |
|              136:             TypePointer Function 8(PS_OUTPUT)
 | |
|              138:    6(float) Constant 1065353216
 | |
|              139:    7(fvec4) ConstantComposite 138 138 138 138
 | |
|              141:             TypePointer Function 6(float)
 | |
|              148:             TypePointer Output 7(fvec4)
 | |
| 149(@entryPointOutput.Color):    148(ptr) Variable Output
 | |
|              152:             TypePointer Output 6(float)
 | |
| 153(@entryPointOutput.Depth):    152(ptr) Variable Output
 | |
| 156(g_tTex1df4a):     15(ptr) Variable UniformConstant
 | |
|              157:             TypeImage 6(float) Cube sampled format:Unknown
 | |
|              158:             TypePointer UniformConstant 157
 | |
|  159(g_tTexcdf4):    158(ptr) Variable UniformConstant
 | |
|              160:             TypeImage 27(int) Cube sampled format:Unknown
 | |
|              161:             TypePointer UniformConstant 160
 | |
|  162(g_tTexcdi4):    161(ptr) Variable UniformConstant
 | |
|              163:             TypeImage 42(int) Cube sampled format:Unknown
 | |
|              164:             TypePointer UniformConstant 163
 | |
|  165(g_tTexcdu4):    164(ptr) Variable UniformConstant
 | |
|          4(main):           2 Function None 3
 | |
|                5:             Label
 | |
| 146(flattenTemp):    136(ptr) Variable Function
 | |
|              147:8(PS_OUTPUT) FunctionCall 10(@main()
 | |
|                               Store 146(flattenTemp) 147
 | |
|              150:     12(ptr) AccessChain 146(flattenTemp) 67
 | |
|              151:    7(fvec4) Load 150
 | |
|                               Store 149(@entryPointOutput.Color) 151
 | |
|              154:    141(ptr) AccessChain 146(flattenTemp) 28
 | |
|              155:    6(float) Load 154
 | |
|                               Store 153(@entryPointOutput.Depth) 155
 | |
|                               Return
 | |
|                               FunctionEnd
 | |
|       10(@main():8(PS_OUTPUT) Function None 9
 | |
|               11:             Label
 | |
|      13(txval10):     12(ptr) Variable Function
 | |
|      32(txval11):     31(ptr) Variable Function
 | |
|      45(txval12):     44(ptr) Variable Function
 | |
|      55(txval20):     12(ptr) Variable Function
 | |
|      70(txval21):     31(ptr) Variable Function
 | |
|      82(txval22):     44(ptr) Variable Function
 | |
|      96(txval30):     12(ptr) Variable Function
 | |
|     111(txval31):     31(ptr) Variable Function
 | |
|     122(txval32):     44(ptr) Variable Function
 | |
|       137(psout):    136(ptr) Variable Function
 | |
|               17:          14 Load 16(g_tTex1df4)
 | |
|               21:          18 Load 20(g_sSamp)
 | |
|               23:          22 SampledImage 17 21
 | |
|               29:    7(fvec4) ImageSampleExplicitLod 23 24 Grad ConstOffset 25 26 28
 | |
|                               Store 13(txval10) 29
 | |
|               36:          33 Load 35(g_tTex1di4)
 | |
|               37:          18 Load 20(g_sSamp)
 | |
|               39:          38 SampledImage 36 37
 | |
|               41:   30(ivec4) ImageSampleExplicitLod 39 40 Grad ConstOffset 25 26 28
 | |
|                               Store 32(txval11) 41
 | |
|               49:          46 Load 48(g_tTex1du4)
 | |
|               50:          18 Load 20(g_sSamp)
 | |
|               52:          51 SampledImage 49 50
 | |
|               54:   43(ivec4) ImageSampleExplicitLod 52 53 Grad ConstOffset 25 26 28
 | |
|                               Store 45(txval12) 54
 | |
|               59:          56 Load 58(g_tTex2df4)
 | |
|               60:          18 Load 20(g_sSamp)
 | |
|               62:          61 SampledImage 59 60
 | |
|               69:    7(fvec4) ImageSampleExplicitLod 62 64 Grad ConstOffset 64 65 68
 | |
|                               Store 55(txval20) 69
 | |
|               74:          71 Load 73(g_tTex2di4)
 | |
|               75:          18 Load 20(g_sSamp)
 | |
|               77:          76 SampledImage 74 75
 | |
|               81:   30(ivec4) ImageSampleExplicitLod 77 79 Grad ConstOffset 64 65 80
 | |
|                               Store 70(txval21) 81
 | |
|               86:          83 Load 85(g_tTex2du4)
 | |
|               87:          18 Load 20(g_sSamp)
 | |
|               89:          88 SampledImage 86 87
 | |
|               95:   43(ivec4) ImageSampleExplicitLod 89 92 Grad ConstOffset 64 65 94
 | |
|                               Store 82(txval22) 95
 | |
|              100:          97 Load 99(g_tTex3df4)
 | |
|              101:          18 Load 20(g_sSamp)
 | |
|              103:         102 SampledImage 100 101
 | |
|              110:    7(fvec4) ImageSampleExplicitLod 103 105 Grad ConstOffset 107 107 109
 | |
|                               Store 96(txval30) 110
 | |
|              115:         112 Load 114(g_tTex3di4)
 | |
|              116:          18 Load 20(g_sSamp)
 | |
|              118:         117 SampledImage 115 116
 | |
|              121:   30(ivec4) ImageSampleExplicitLod 118 119 Grad ConstOffset 107 107 120
 | |
|                               Store 111(txval31) 121
 | |
|              126:         123 Load 125(g_tTex3du4)
 | |
|              127:          18 Load 20(g_sSamp)
 | |
|              129:         128 SampledImage 126 127
 | |
|              135:   43(ivec4) ImageSampleExplicitLod 129 133 Grad ConstOffset 107 107 134
 | |
|                               Store 122(txval32) 135
 | |
|              140:     12(ptr) AccessChain 137(psout) 67
 | |
|                               Store 140 139
 | |
|              142:    141(ptr) AccessChain 137(psout) 28
 | |
|                               Store 142 138
 | |
|              143:8(PS_OUTPUT) Load 137(psout)
 | |
|                               ReturnValue 143
 | |
|                               FunctionEnd
 |