Commit 02f1c80d by Jaebaek Seo

Fix unit test failures

parent a5f9118e
...@@ -3,13 +3,20 @@ Shader version: 500 ...@@ -3,13 +3,20 @@ Shader version: 500
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
using depth_any using depth_any
0:? Sequence 0:? Sequence
0:23 Function Definition: getOffset( ( temp 2-component vector of int)
0:23 Function Parameters:
0:? Sequence
0:24 Branch: Return with expression
0:24 Constant:
0:24 1 (const int)
0:24 1 (const int)
0:28 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:28 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:28 Function Parameters: 0:28 Function Parameters:
0:? Sequence 0:? Sequence
0:32 textureFetch ( temp 4-component vector of float) 0:32 textureFetch ( temp 4-component vector of float)
0:32 'g_tTex2dmsf4' ( uniform texture2DMS) 0:32 'g_tTex2dmsf4' ( uniform texture2DMS)
0:32 c2: direct index for structure ( uniform 2-component vector of int) 0:32 c2: direct index for structure ( uniform 2-component vector of int)
0:32 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:32 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:32 Constant: 0:32 Constant:
0:32 1 (const uint) 0:32 1 (const uint)
0:32 Constant: 0:32 Constant:
...@@ -17,7 +24,7 @@ using depth_any ...@@ -17,7 +24,7 @@ using depth_any
0:33 textureFetch ( temp 4-component vector of int) 0:33 textureFetch ( temp 4-component vector of int)
0:33 'g_tTex2dmsi4' ( uniform itexture2DMS) 0:33 'g_tTex2dmsi4' ( uniform itexture2DMS)
0:33 c2: direct index for structure ( uniform 2-component vector of int) 0:33 c2: direct index for structure ( uniform 2-component vector of int)
0:33 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:33 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:33 Constant: 0:33 Constant:
0:33 1 (const uint) 0:33 1 (const uint)
0:33 Constant: 0:33 Constant:
...@@ -25,7 +32,7 @@ using depth_any ...@@ -25,7 +32,7 @@ using depth_any
0:34 textureFetch ( temp 4-component vector of uint) 0:34 textureFetch ( temp 4-component vector of uint)
0:34 'g_tTex2dmsu4' ( uniform utexture2DMS) 0:34 'g_tTex2dmsu4' ( uniform utexture2DMS)
0:34 c2: direct index for structure ( uniform 2-component vector of int) 0:34 c2: direct index for structure ( uniform 2-component vector of int)
0:34 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:34 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:34 Constant: 0:34 Constant:
0:34 1 (const uint) 0:34 1 (const uint)
0:34 Constant: 0:34 Constant:
...@@ -33,43 +40,34 @@ using depth_any ...@@ -33,43 +40,34 @@ using depth_any
0:37 textureFetchOffset ( temp 4-component vector of float) 0:37 textureFetchOffset ( temp 4-component vector of float)
0:37 'g_tTex2dmsf4' ( uniform texture2DMS) 0:37 'g_tTex2dmsf4' ( uniform texture2DMS)
0:37 c2: direct index for structure ( uniform 2-component vector of int) 0:37 c2: direct index for structure ( uniform 2-component vector of int)
0:37 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:37 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:37 Constant: 0:37 Constant:
0:37 1 (const uint) 0:37 1 (const uint)
0:37 Constant: 0:37 Constant:
0:37 3 (const int) 0:37 3 (const int)
0:37 o2: direct index for structure ( uniform 2-component vector of int) 0:37 Function Call: getOffset( ( temp 2-component vector of int)
0:37 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:37 Constant:
0:37 5 (const uint)
0:38 textureFetchOffset ( temp 4-component vector of int) 0:38 textureFetchOffset ( temp 4-component vector of int)
0:38 'g_tTex2dmsi4' ( uniform itexture2DMS) 0:38 'g_tTex2dmsi4' ( uniform itexture2DMS)
0:38 c2: direct index for structure ( uniform 2-component vector of int) 0:38 c2: direct index for structure ( uniform 2-component vector of int)
0:38 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:38 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:38 Constant: 0:38 Constant:
0:38 1 (const uint) 0:38 1 (const uint)
0:38 Constant: 0:38 Constant:
0:38 3 (const int) 0:38 3 (const int)
0:38 o2: direct index for structure ( uniform 2-component vector of int) 0:38 Function Call: getOffset( ( temp 2-component vector of int)
0:38 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:38 Constant:
0:38 5 (const uint)
0:39 textureFetchOffset ( temp 4-component vector of uint) 0:39 textureFetchOffset ( temp 4-component vector of uint)
0:39 'g_tTex2dmsu4' ( uniform utexture2DMS) 0:39 'g_tTex2dmsu4' ( uniform utexture2DMS)
0:39 c2: direct index for structure ( uniform 2-component vector of int) 0:39 c2: direct index for structure ( uniform 2-component vector of int)
0:39 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:39 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:39 Constant: 0:39 Constant:
0:39 1 (const uint) 0:39 1 (const uint)
0:39 Constant: 0:39 Constant:
0:39 3 (const int) 0:39 3 (const int)
0:39 o2: direct index for structure ( uniform 2-component vector of int) 0:39 Function Call: getOffset( ( temp 2-component vector of int)
0:39 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:39 Constant:
0:39 5 (const uint)
0:42 textureFetch ( temp 4-component vector of float) 0:42 textureFetch ( temp 4-component vector of float)
0:42 'g_tTex2dmsf4a' ( uniform texture2DMSArray) 0:42 'g_tTex2dmsf4a' ( uniform texture2DMSArray)
0:42 c3: direct index for structure ( uniform 3-component vector of int) 0:42 c3: direct index for structure ( uniform 3-component vector of int)
0:42 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:42 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:42 Constant: 0:42 Constant:
0:42 2 (const uint) 0:42 2 (const uint)
0:42 Constant: 0:42 Constant:
...@@ -77,7 +75,7 @@ using depth_any ...@@ -77,7 +75,7 @@ using depth_any
0:43 textureFetch ( temp 4-component vector of int) 0:43 textureFetch ( temp 4-component vector of int)
0:43 'g_tTex2dmsi4a' ( uniform itexture2DMSArray) 0:43 'g_tTex2dmsi4a' ( uniform itexture2DMSArray)
0:43 c3: direct index for structure ( uniform 3-component vector of int) 0:43 c3: direct index for structure ( uniform 3-component vector of int)
0:43 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:43 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:43 Constant: 0:43 Constant:
0:43 2 (const uint) 0:43 2 (const uint)
0:43 Constant: 0:43 Constant:
...@@ -85,7 +83,7 @@ using depth_any ...@@ -85,7 +83,7 @@ using depth_any
0:44 textureFetch ( temp 4-component vector of uint) 0:44 textureFetch ( temp 4-component vector of uint)
0:44 'g_tTex2dmsu4a' ( uniform utexture2DMSArray) 0:44 'g_tTex2dmsu4a' ( uniform utexture2DMSArray)
0:44 c3: direct index for structure ( uniform 3-component vector of int) 0:44 c3: direct index for structure ( uniform 3-component vector of int)
0:44 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:44 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:44 Constant: 0:44 Constant:
0:44 2 (const uint) 0:44 2 (const uint)
0:44 Constant: 0:44 Constant:
...@@ -93,39 +91,30 @@ using depth_any ...@@ -93,39 +91,30 @@ using depth_any
0:47 textureFetchOffset ( temp 4-component vector of float) 0:47 textureFetchOffset ( temp 4-component vector of float)
0:47 'g_tTex2dmsf4a' ( uniform texture2DMSArray) 0:47 'g_tTex2dmsf4a' ( uniform texture2DMSArray)
0:47 c3: direct index for structure ( uniform 3-component vector of int) 0:47 c3: direct index for structure ( uniform 3-component vector of int)
0:47 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:47 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:47 Constant: 0:47 Constant:
0:47 2 (const uint) 0:47 2 (const uint)
0:47 Constant: 0:47 Constant:
0:47 3 (const int) 0:47 3 (const int)
0:47 o2: direct index for structure ( uniform 2-component vector of int) 0:47 Function Call: getOffset( ( temp 2-component vector of int)
0:47 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:47 Constant:
0:47 5 (const uint)
0:48 textureFetchOffset ( temp 4-component vector of int) 0:48 textureFetchOffset ( temp 4-component vector of int)
0:48 'g_tTex2dmsi4a' ( uniform itexture2DMSArray) 0:48 'g_tTex2dmsi4a' ( uniform itexture2DMSArray)
0:48 c3: direct index for structure ( uniform 3-component vector of int) 0:48 c3: direct index for structure ( uniform 3-component vector of int)
0:48 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:48 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:48 Constant: 0:48 Constant:
0:48 2 (const uint) 0:48 2 (const uint)
0:48 Constant: 0:48 Constant:
0:48 3 (const int) 0:48 3 (const int)
0:48 o2: direct index for structure ( uniform 2-component vector of int) 0:48 Function Call: getOffset( ( temp 2-component vector of int)
0:48 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:48 Constant:
0:48 5 (const uint)
0:49 textureFetchOffset ( temp 4-component vector of uint) 0:49 textureFetchOffset ( temp 4-component vector of uint)
0:49 'g_tTex2dmsu4a' ( uniform utexture2DMSArray) 0:49 'g_tTex2dmsu4a' ( uniform utexture2DMSArray)
0:49 c3: direct index for structure ( uniform 3-component vector of int) 0:49 c3: direct index for structure ( uniform 3-component vector of int)
0:49 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:49 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:49 Constant: 0:49 Constant:
0:49 2 (const uint) 0:49 2 (const uint)
0:49 Constant: 0:49 Constant:
0:49 3 (const int) 0:49 3 (const int)
0:49 o2: direct index for structure ( uniform 2-component vector of int) 0:49 Function Call: getOffset( ( temp 2-component vector of int)
0:49 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:49 Constant:
0:49 5 (const uint)
0:51 move second child to first child ( temp 4-component vector of float) 0:51 move second child to first child ( temp 4-component vector of float)
0:51 Color: direct index for structure ( temp 4-component vector of float) 0:51 Color: direct index for structure ( temp 4-component vector of float)
0:51 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:51 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
...@@ -172,7 +161,7 @@ using depth_any ...@@ -172,7 +161,7 @@ using depth_any
0:? 'g_tTex2dmsf4a' ( uniform texture2DMSArray) 0:? 'g_tTex2dmsf4a' ( uniform texture2DMSArray)
0:? 'g_tTex2dmsi4a' ( uniform itexture2DMSArray) 0:? 'g_tTex2dmsi4a' ( uniform itexture2DMSArray)
0:? 'g_tTex2dmsu4a' ( uniform utexture2DMSArray) 0:? 'g_tTex2dmsu4a' ( uniform utexture2DMSArray)
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:? '@entryPointOutput.Depth' ( out float FragDepth) 0:? '@entryPointOutput.Depth' ( out float FragDepth)
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
...@@ -184,13 +173,20 @@ Shader version: 500 ...@@ -184,13 +173,20 @@ Shader version: 500
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
using depth_any using depth_any
0:? Sequence 0:? Sequence
0:23 Function Definition: getOffset( ( temp 2-component vector of int)
0:23 Function Parameters:
0:? Sequence
0:24 Branch: Return with expression
0:24 Constant:
0:24 1 (const int)
0:24 1 (const int)
0:28 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:28 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:28 Function Parameters: 0:28 Function Parameters:
0:? Sequence 0:? Sequence
0:32 textureFetch ( temp 4-component vector of float) 0:32 textureFetch ( temp 4-component vector of float)
0:32 'g_tTex2dmsf4' ( uniform texture2DMS) 0:32 'g_tTex2dmsf4' ( uniform texture2DMS)
0:32 c2: direct index for structure ( uniform 2-component vector of int) 0:32 c2: direct index for structure ( uniform 2-component vector of int)
0:32 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:32 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:32 Constant: 0:32 Constant:
0:32 1 (const uint) 0:32 1 (const uint)
0:32 Constant: 0:32 Constant:
...@@ -198,7 +194,7 @@ using depth_any ...@@ -198,7 +194,7 @@ using depth_any
0:33 textureFetch ( temp 4-component vector of int) 0:33 textureFetch ( temp 4-component vector of int)
0:33 'g_tTex2dmsi4' ( uniform itexture2DMS) 0:33 'g_tTex2dmsi4' ( uniform itexture2DMS)
0:33 c2: direct index for structure ( uniform 2-component vector of int) 0:33 c2: direct index for structure ( uniform 2-component vector of int)
0:33 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:33 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:33 Constant: 0:33 Constant:
0:33 1 (const uint) 0:33 1 (const uint)
0:33 Constant: 0:33 Constant:
...@@ -206,7 +202,7 @@ using depth_any ...@@ -206,7 +202,7 @@ using depth_any
0:34 textureFetch ( temp 4-component vector of uint) 0:34 textureFetch ( temp 4-component vector of uint)
0:34 'g_tTex2dmsu4' ( uniform utexture2DMS) 0:34 'g_tTex2dmsu4' ( uniform utexture2DMS)
0:34 c2: direct index for structure ( uniform 2-component vector of int) 0:34 c2: direct index for structure ( uniform 2-component vector of int)
0:34 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:34 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:34 Constant: 0:34 Constant:
0:34 1 (const uint) 0:34 1 (const uint)
0:34 Constant: 0:34 Constant:
...@@ -214,43 +210,34 @@ using depth_any ...@@ -214,43 +210,34 @@ using depth_any
0:37 textureFetchOffset ( temp 4-component vector of float) 0:37 textureFetchOffset ( temp 4-component vector of float)
0:37 'g_tTex2dmsf4' ( uniform texture2DMS) 0:37 'g_tTex2dmsf4' ( uniform texture2DMS)
0:37 c2: direct index for structure ( uniform 2-component vector of int) 0:37 c2: direct index for structure ( uniform 2-component vector of int)
0:37 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:37 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:37 Constant: 0:37 Constant:
0:37 1 (const uint) 0:37 1 (const uint)
0:37 Constant: 0:37 Constant:
0:37 3 (const int) 0:37 3 (const int)
0:37 o2: direct index for structure ( uniform 2-component vector of int) 0:37 Function Call: getOffset( ( temp 2-component vector of int)
0:37 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:37 Constant:
0:37 5 (const uint)
0:38 textureFetchOffset ( temp 4-component vector of int) 0:38 textureFetchOffset ( temp 4-component vector of int)
0:38 'g_tTex2dmsi4' ( uniform itexture2DMS) 0:38 'g_tTex2dmsi4' ( uniform itexture2DMS)
0:38 c2: direct index for structure ( uniform 2-component vector of int) 0:38 c2: direct index for structure ( uniform 2-component vector of int)
0:38 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:38 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:38 Constant: 0:38 Constant:
0:38 1 (const uint) 0:38 1 (const uint)
0:38 Constant: 0:38 Constant:
0:38 3 (const int) 0:38 3 (const int)
0:38 o2: direct index for structure ( uniform 2-component vector of int) 0:38 Function Call: getOffset( ( temp 2-component vector of int)
0:38 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:38 Constant:
0:38 5 (const uint)
0:39 textureFetchOffset ( temp 4-component vector of uint) 0:39 textureFetchOffset ( temp 4-component vector of uint)
0:39 'g_tTex2dmsu4' ( uniform utexture2DMS) 0:39 'g_tTex2dmsu4' ( uniform utexture2DMS)
0:39 c2: direct index for structure ( uniform 2-component vector of int) 0:39 c2: direct index for structure ( uniform 2-component vector of int)
0:39 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:39 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:39 Constant: 0:39 Constant:
0:39 1 (const uint) 0:39 1 (const uint)
0:39 Constant: 0:39 Constant:
0:39 3 (const int) 0:39 3 (const int)
0:39 o2: direct index for structure ( uniform 2-component vector of int) 0:39 Function Call: getOffset( ( temp 2-component vector of int)
0:39 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:39 Constant:
0:39 5 (const uint)
0:42 textureFetch ( temp 4-component vector of float) 0:42 textureFetch ( temp 4-component vector of float)
0:42 'g_tTex2dmsf4a' ( uniform texture2DMSArray) 0:42 'g_tTex2dmsf4a' ( uniform texture2DMSArray)
0:42 c3: direct index for structure ( uniform 3-component vector of int) 0:42 c3: direct index for structure ( uniform 3-component vector of int)
0:42 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:42 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:42 Constant: 0:42 Constant:
0:42 2 (const uint) 0:42 2 (const uint)
0:42 Constant: 0:42 Constant:
...@@ -258,7 +245,7 @@ using depth_any ...@@ -258,7 +245,7 @@ using depth_any
0:43 textureFetch ( temp 4-component vector of int) 0:43 textureFetch ( temp 4-component vector of int)
0:43 'g_tTex2dmsi4a' ( uniform itexture2DMSArray) 0:43 'g_tTex2dmsi4a' ( uniform itexture2DMSArray)
0:43 c3: direct index for structure ( uniform 3-component vector of int) 0:43 c3: direct index for structure ( uniform 3-component vector of int)
0:43 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:43 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:43 Constant: 0:43 Constant:
0:43 2 (const uint) 0:43 2 (const uint)
0:43 Constant: 0:43 Constant:
...@@ -266,7 +253,7 @@ using depth_any ...@@ -266,7 +253,7 @@ using depth_any
0:44 textureFetch ( temp 4-component vector of uint) 0:44 textureFetch ( temp 4-component vector of uint)
0:44 'g_tTex2dmsu4a' ( uniform utexture2DMSArray) 0:44 'g_tTex2dmsu4a' ( uniform utexture2DMSArray)
0:44 c3: direct index for structure ( uniform 3-component vector of int) 0:44 c3: direct index for structure ( uniform 3-component vector of int)
0:44 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:44 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:44 Constant: 0:44 Constant:
0:44 2 (const uint) 0:44 2 (const uint)
0:44 Constant: 0:44 Constant:
...@@ -274,39 +261,30 @@ using depth_any ...@@ -274,39 +261,30 @@ using depth_any
0:47 textureFetchOffset ( temp 4-component vector of float) 0:47 textureFetchOffset ( temp 4-component vector of float)
0:47 'g_tTex2dmsf4a' ( uniform texture2DMSArray) 0:47 'g_tTex2dmsf4a' ( uniform texture2DMSArray)
0:47 c3: direct index for structure ( uniform 3-component vector of int) 0:47 c3: direct index for structure ( uniform 3-component vector of int)
0:47 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:47 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:47 Constant: 0:47 Constant:
0:47 2 (const uint) 0:47 2 (const uint)
0:47 Constant: 0:47 Constant:
0:47 3 (const int) 0:47 3 (const int)
0:47 o2: direct index for structure ( uniform 2-component vector of int) 0:47 Function Call: getOffset( ( temp 2-component vector of int)
0:47 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:47 Constant:
0:47 5 (const uint)
0:48 textureFetchOffset ( temp 4-component vector of int) 0:48 textureFetchOffset ( temp 4-component vector of int)
0:48 'g_tTex2dmsi4a' ( uniform itexture2DMSArray) 0:48 'g_tTex2dmsi4a' ( uniform itexture2DMSArray)
0:48 c3: direct index for structure ( uniform 3-component vector of int) 0:48 c3: direct index for structure ( uniform 3-component vector of int)
0:48 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:48 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:48 Constant: 0:48 Constant:
0:48 2 (const uint) 0:48 2 (const uint)
0:48 Constant: 0:48 Constant:
0:48 3 (const int) 0:48 3 (const int)
0:48 o2: direct index for structure ( uniform 2-component vector of int) 0:48 Function Call: getOffset( ( temp 2-component vector of int)
0:48 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:48 Constant:
0:48 5 (const uint)
0:49 textureFetchOffset ( temp 4-component vector of uint) 0:49 textureFetchOffset ( temp 4-component vector of uint)
0:49 'g_tTex2dmsu4a' ( uniform utexture2DMSArray) 0:49 'g_tTex2dmsu4a' ( uniform utexture2DMSArray)
0:49 c3: direct index for structure ( uniform 3-component vector of int) 0:49 c3: direct index for structure ( uniform 3-component vector of int)
0:49 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:49 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:49 Constant: 0:49 Constant:
0:49 2 (const uint) 0:49 2 (const uint)
0:49 Constant: 0:49 Constant:
0:49 3 (const int) 0:49 3 (const int)
0:49 o2: direct index for structure ( uniform 2-component vector of int) 0:49 Function Call: getOffset( ( temp 2-component vector of int)
0:49 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:49 Constant:
0:49 5 (const uint)
0:51 move second child to first child ( temp 4-component vector of float) 0:51 move second child to first child ( temp 4-component vector of float)
0:51 Color: direct index for structure ( temp 4-component vector of float) 0:51 Color: direct index for structure ( temp 4-component vector of float)
0:51 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:51 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
...@@ -353,208 +331,199 @@ using depth_any ...@@ -353,208 +331,199 @@ using depth_any
0:? 'g_tTex2dmsf4a' ( uniform texture2DMSArray) 0:? 'g_tTex2dmsf4a' ( uniform texture2DMSArray)
0:? 'g_tTex2dmsi4a' ( uniform itexture2DMSArray) 0:? 'g_tTex2dmsi4a' ( uniform itexture2DMSArray)
0:? 'g_tTex2dmsu4a' ( uniform utexture2DMSArray) 0:? 'g_tTex2dmsu4a' ( uniform utexture2DMSArray)
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:? '@entryPointOutput.Depth' ( out float FragDepth) 0:? '@entryPointOutput.Depth' ( out float FragDepth)
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
Validation failed
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 8000a // Generated by (magic number): 8000a
// Id's are bound by 130 // Id's are bound by 129
Capability Shader Capability Shader
Capability ImageGatherExtended Capability ImageGatherExtended
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 120 124 EntryPoint Fragment 4 "main" 119 123
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
ExecutionMode 4 DepthReplacing ExecutionMode 4 DepthReplacing
Source HLSL 500 Source HLSL 500
Name 4 "main" Name 4 "main"
Name 8 "PS_OUTPUT" Name 9 "getOffset("
MemberName 8(PS_OUTPUT) 0 "Color" Name 13 "PS_OUTPUT"
MemberName 8(PS_OUTPUT) 1 "Depth" MemberName 13(PS_OUTPUT) 0 "Color"
Name 10 "@main(" MemberName 13(PS_OUTPUT) 1 "Depth"
Name 14 "g_tTex2dmsf4" Name 15 "@main("
Name 20 "$Global" Name 23 "g_tTex2dmsf4"
MemberName 20($Global) 0 "c1" Name 27 "$Global"
MemberName 20($Global) 1 "c2" MemberName 27($Global) 0 "c1"
MemberName 20($Global) 2 "c3" MemberName 27($Global) 1 "c2"
MemberName 20($Global) 3 "c4" MemberName 27($Global) 2 "c3"
MemberName 20($Global) 4 "o1" MemberName 27($Global) 3 "c4"
MemberName 20($Global) 5 "o2" Name 29 ""
MemberName 20($Global) 6 "o3" Name 37 "g_tTex2dmsi4"
MemberName 20($Global) 7 "o4" Name 45 "g_tTex2dmsu4"
Name 22 "" Name 68 "g_tTex2dmsf4a"
Name 31 "g_tTex2dmsi4" Name 77 "g_tTex2dmsi4a"
Name 39 "g_tTex2dmsu4" Name 84 "g_tTex2dmsu4a"
Name 66 "g_tTex2dmsf4a" Name 105 "psout"
Name 75 "g_tTex2dmsi4a" Name 116 "flattenTemp"
Name 82 "g_tTex2dmsu4a" Name 119 "@entryPointOutput.Color"
Name 106 "psout" Name 123 "@entryPointOutput.Depth"
Name 117 "flattenTemp" Name 128 "g_sSamp"
Name 120 "@entryPointOutput.Color" Decorate 23(g_tTex2dmsf4) DescriptorSet 0
Name 124 "@entryPointOutput.Depth" Decorate 23(g_tTex2dmsf4) Binding 1
Name 129 "g_sSamp" MemberDecorate 27($Global) 0 Offset 0
Decorate 14(g_tTex2dmsf4) DescriptorSet 0 MemberDecorate 27($Global) 1 Offset 8
Decorate 14(g_tTex2dmsf4) Binding 1 MemberDecorate 27($Global) 2 Offset 16
MemberDecorate 20($Global) 0 Offset 0 MemberDecorate 27($Global) 3 Offset 32
MemberDecorate 20($Global) 1 Offset 8 Decorate 27($Global) Block
MemberDecorate 20($Global) 2 Offset 16 Decorate 29 DescriptorSet 0
MemberDecorate 20($Global) 3 Offset 32 Decorate 29 Binding 7
MemberDecorate 20($Global) 4 Offset 48 Decorate 37(g_tTex2dmsi4) DescriptorSet 0
MemberDecorate 20($Global) 5 Offset 56 Decorate 37(g_tTex2dmsi4) Binding 2
MemberDecorate 20($Global) 6 Offset 64 Decorate 45(g_tTex2dmsu4) DescriptorSet 0
MemberDecorate 20($Global) 7 Offset 80 Decorate 45(g_tTex2dmsu4) Binding 3
Decorate 20($Global) Block Decorate 68(g_tTex2dmsf4a) DescriptorSet 0
Decorate 22 DescriptorSet 0 Decorate 68(g_tTex2dmsf4a) Binding 4
Decorate 22 Binding 7 Decorate 77(g_tTex2dmsi4a) DescriptorSet 0
Decorate 31(g_tTex2dmsi4) DescriptorSet 0 Decorate 77(g_tTex2dmsi4a) Binding 5
Decorate 31(g_tTex2dmsi4) Binding 2 Decorate 84(g_tTex2dmsu4a) DescriptorSet 0
Decorate 39(g_tTex2dmsu4) DescriptorSet 0 Decorate 84(g_tTex2dmsu4a) Binding 6
Decorate 39(g_tTex2dmsu4) Binding 3 Decorate 119(@entryPointOutput.Color) Location 0
Decorate 66(g_tTex2dmsf4a) DescriptorSet 0 Decorate 123(@entryPointOutput.Depth) BuiltIn FragDepth
Decorate 66(g_tTex2dmsf4a) Binding 4 Decorate 128(g_sSamp) DescriptorSet 0
Decorate 75(g_tTex2dmsi4a) DescriptorSet 0 Decorate 128(g_sSamp) Binding 0
Decorate 75(g_tTex2dmsi4a) Binding 5
Decorate 82(g_tTex2dmsu4a) DescriptorSet 0
Decorate 82(g_tTex2dmsu4a) Binding 6
Decorate 120(@entryPointOutput.Color) Location 0
Decorate 124(@entryPointOutput.Depth) BuiltIn FragDepth
Decorate 129(g_sSamp) DescriptorSet 0
Decorate 129(g_sSamp) Binding 0
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeInt 32 1
7: TypeVector 6(float) 4 7: TypeVector 6(int) 2
8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float) 8: TypeFunction 7(ivec2)
9: TypeFunction 8(PS_OUTPUT) 11: TypeFloat 32
12: TypeImage 6(float) 2D multi-sampled sampled format:Unknown 12: TypeVector 11(float) 4
13: TypePointer UniformConstant 12 13(PS_OUTPUT): TypeStruct 12(fvec4) 11(float)
14(g_tTex2dmsf4): 13(ptr) Variable UniformConstant 14: TypeFunction 13(PS_OUTPUT)
16: TypeInt 32 1 17: 6(int) Constant 1
17: TypeVector 16(int) 2 18: 7(ivec2) ConstantComposite 17 17
18: TypeVector 16(int) 3 21: TypeImage 11(float) 2D multi-sampled sampled format:Unknown
19: TypeVector 16(int) 4 22: TypePointer UniformConstant 21
20($Global): TypeStruct 16(int) 17(ivec2) 18(ivec3) 19(ivec4) 16(int) 17(ivec2) 18(ivec3) 19(ivec4) 23(g_tTex2dmsf4): 22(ptr) Variable UniformConstant
21: TypePointer Uniform 20($Global) 25: TypeVector 6(int) 3
22: 21(ptr) Variable Uniform 26: TypeVector 6(int) 4
23: 16(int) Constant 1 27($Global): TypeStruct 6(int) 7(ivec2) 25(ivec3) 26(ivec4)
24: TypePointer Uniform 17(ivec2) 28: TypePointer Uniform 27($Global)
27: 16(int) Constant 3 29: 28(ptr) Variable Uniform
29: TypeImage 16(int) 2D multi-sampled sampled format:Unknown 30: TypePointer Uniform 7(ivec2)
30: TypePointer UniformConstant 29 33: 6(int) Constant 3
31(g_tTex2dmsi4): 30(ptr) Variable UniformConstant 35: TypeImage 6(int) 2D multi-sampled sampled format:Unknown
36: TypeInt 32 0 36: TypePointer UniformConstant 35
37: TypeImage 36(int) 2D multi-sampled sampled format:Unknown 37(g_tTex2dmsi4): 36(ptr) Variable UniformConstant
38: TypePointer UniformConstant 37 42: TypeInt 32 0
39(g_tTex2dmsu4): 38(ptr) Variable UniformConstant 43: TypeImage 42(int) 2D multi-sampled sampled format:Unknown
43: TypeVector 36(int) 4 44: TypePointer UniformConstant 43
48: 16(int) Constant 5 45(g_tTex2dmsu4): 44(ptr) Variable UniformConstant
64: TypeImage 6(float) 2D array multi-sampled sampled format:Unknown 49: TypeVector 42(int) 4
65: TypePointer UniformConstant 64 66: TypeImage 11(float) 2D array multi-sampled sampled format:Unknown
66(g_tTex2dmsf4a): 65(ptr) Variable UniformConstant 67: TypePointer UniformConstant 66
68: 16(int) Constant 2 68(g_tTex2dmsf4a): 67(ptr) Variable UniformConstant
69: TypePointer Uniform 18(ivec3) 70: 6(int) Constant 2
73: TypeImage 16(int) 2D array multi-sampled sampled format:Unknown 71: TypePointer Uniform 25(ivec3)
74: TypePointer UniformConstant 73 75: TypeImage 6(int) 2D array multi-sampled sampled format:Unknown
75(g_tTex2dmsi4a): 74(ptr) Variable UniformConstant 76: TypePointer UniformConstant 75
80: TypeImage 36(int) 2D array multi-sampled sampled format:Unknown 77(g_tTex2dmsi4a): 76(ptr) Variable UniformConstant
81: TypePointer UniformConstant 80 82: TypeImage 42(int) 2D array multi-sampled sampled format:Unknown
82(g_tTex2dmsu4a): 81(ptr) Variable UniformConstant 83: TypePointer UniformConstant 82
105: TypePointer Function 8(PS_OUTPUT) 84(g_tTex2dmsu4a): 83(ptr) Variable UniformConstant
107: 16(int) Constant 0 104: TypePointer Function 13(PS_OUTPUT)
108: 6(float) Constant 1065353216 106: 6(int) Constant 0
109: 7(fvec4) ConstantComposite 108 108 108 108 107: 11(float) Constant 1065353216
110: TypePointer Function 7(fvec4) 108: 12(fvec4) ConstantComposite 107 107 107 107
112: TypePointer Function 6(float) 109: TypePointer Function 12(fvec4)
119: TypePointer Output 7(fvec4) 111: TypePointer Function 11(float)
120(@entryPointOutput.Color): 119(ptr) Variable Output 118: TypePointer Output 12(fvec4)
123: TypePointer Output 6(float) 119(@entryPointOutput.Color): 118(ptr) Variable Output
124(@entryPointOutput.Depth): 123(ptr) Variable Output 122: TypePointer Output 11(float)
127: TypeSampler 123(@entryPointOutput.Depth): 122(ptr) Variable Output
128: TypePointer UniformConstant 127 126: TypeSampler
129(g_sSamp): 128(ptr) Variable UniformConstant 127: TypePointer UniformConstant 126
128(g_sSamp): 127(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
117(flattenTemp): 105(ptr) Variable Function 116(flattenTemp): 104(ptr) Variable Function
118:8(PS_OUTPUT) FunctionCall 10(@main() 117:13(PS_OUTPUT) FunctionCall 15(@main()
Store 117(flattenTemp) 118 Store 116(flattenTemp) 117
121: 110(ptr) AccessChain 117(flattenTemp) 107 120: 109(ptr) AccessChain 116(flattenTemp) 106
122: 7(fvec4) Load 121 121: 12(fvec4) Load 120
Store 120(@entryPointOutput.Color) 122 Store 119(@entryPointOutput.Color) 121
125: 112(ptr) AccessChain 117(flattenTemp) 23 124: 111(ptr) AccessChain 116(flattenTemp) 17
126: 6(float) Load 125 125: 11(float) Load 124
Store 124(@entryPointOutput.Depth) 126 Store 123(@entryPointOutput.Depth) 125
Return Return
FunctionEnd FunctionEnd
10(@main():8(PS_OUTPUT) Function None 9 9(getOffset(): 7(ivec2) Function None 8
11: Label 10: Label
106(psout): 105(ptr) Variable Function ReturnValue 18
15: 12 Load 14(g_tTex2dmsf4) FunctionEnd
25: 24(ptr) AccessChain 22 23 15(@main():13(PS_OUTPUT) Function None 14
26: 17(ivec2) Load 25 16: Label
28: 7(fvec4) ImageFetch 15 26 Sample 27 105(psout): 104(ptr) Variable Function
32: 29 Load 31(g_tTex2dmsi4) 24: 21 Load 23(g_tTex2dmsf4)
33: 24(ptr) AccessChain 22 23 31: 30(ptr) AccessChain 29 17
34: 17(ivec2) Load 33 32: 7(ivec2) Load 31
35: 19(ivec4) ImageFetch 32 34 Sample 27 34: 12(fvec4) ImageFetch 24 32 Sample 33
40: 37 Load 39(g_tTex2dmsu4) 38: 35 Load 37(g_tTex2dmsi4)
41: 24(ptr) AccessChain 22 23 39: 30(ptr) AccessChain 29 17
42: 17(ivec2) Load 41 40: 7(ivec2) Load 39
44: 43(ivec4) ImageFetch 40 42 Sample 27 41: 26(ivec4) ImageFetch 38 40 Sample 33
45: 12 Load 14(g_tTex2dmsf4) 46: 43 Load 45(g_tTex2dmsu4)
46: 24(ptr) AccessChain 22 23 47: 30(ptr) AccessChain 29 17
47: 17(ivec2) Load 46 48: 7(ivec2) Load 47
49: 24(ptr) AccessChain 22 48 50: 49(ivec4) ImageFetch 46 48 Sample 33
50: 17(ivec2) Load 49 51: 21 Load 23(g_tTex2dmsf4)
51: 7(fvec4) ImageFetch 45 47 Offset Sample 50 27 52: 30(ptr) AccessChain 29 17
52: 29 Load 31(g_tTex2dmsi4) 53: 7(ivec2) Load 52
53: 24(ptr) AccessChain 22 23 54: 7(ivec2) FunctionCall 9(getOffset()
54: 17(ivec2) Load 53 55: 12(fvec4) ImageFetch 51 53 Offset Sample 54 33
55: 24(ptr) AccessChain 22 48 56: 35 Load 37(g_tTex2dmsi4)
56: 17(ivec2) Load 55 57: 30(ptr) AccessChain 29 17
57: 19(ivec4) ImageFetch 52 54 Offset Sample 56 27 58: 7(ivec2) Load 57
58: 37 Load 39(g_tTex2dmsu4) 59: 7(ivec2) FunctionCall 9(getOffset()
59: 24(ptr) AccessChain 22 23 60: 26(ivec4) ImageFetch 56 58 Offset Sample 59 33
60: 17(ivec2) Load 59 61: 43 Load 45(g_tTex2dmsu4)
61: 24(ptr) AccessChain 22 48 62: 30(ptr) AccessChain 29 17
62: 17(ivec2) Load 61 63: 7(ivec2) Load 62
63: 43(ivec4) ImageFetch 58 60 Offset Sample 62 27 64: 7(ivec2) FunctionCall 9(getOffset()
67: 64 Load 66(g_tTex2dmsf4a) 65: 49(ivec4) ImageFetch 61 63 Offset Sample 64 33
70: 69(ptr) AccessChain 22 68 69: 66 Load 68(g_tTex2dmsf4a)
71: 18(ivec3) Load 70 72: 71(ptr) AccessChain 29 70
72: 7(fvec4) ImageFetch 67 71 Sample 27 73: 25(ivec3) Load 72
76: 73 Load 75(g_tTex2dmsi4a) 74: 12(fvec4) ImageFetch 69 73 Sample 33
77: 69(ptr) AccessChain 22 68 78: 75 Load 77(g_tTex2dmsi4a)
78: 18(ivec3) Load 77 79: 71(ptr) AccessChain 29 70
79: 19(ivec4) ImageFetch 76 78 Sample 27 80: 25(ivec3) Load 79
83: 80 Load 82(g_tTex2dmsu4a) 81: 26(ivec4) ImageFetch 78 80 Sample 33
84: 69(ptr) AccessChain 22 68 85: 82 Load 84(g_tTex2dmsu4a)
85: 18(ivec3) Load 84 86: 71(ptr) AccessChain 29 70
86: 43(ivec4) ImageFetch 83 85 Sample 27 87: 25(ivec3) Load 86
87: 64 Load 66(g_tTex2dmsf4a) 88: 49(ivec4) ImageFetch 85 87 Sample 33
88: 69(ptr) AccessChain 22 68 89: 66 Load 68(g_tTex2dmsf4a)
89: 18(ivec3) Load 88 90: 71(ptr) AccessChain 29 70
90: 24(ptr) AccessChain 22 48 91: 25(ivec3) Load 90
91: 17(ivec2) Load 90 92: 7(ivec2) FunctionCall 9(getOffset()
92: 7(fvec4) ImageFetch 87 89 Offset Sample 91 27 93: 12(fvec4) ImageFetch 89 91 Offset Sample 92 33
93: 73 Load 75(g_tTex2dmsi4a) 94: 75 Load 77(g_tTex2dmsi4a)
94: 69(ptr) AccessChain 22 68 95: 71(ptr) AccessChain 29 70
95: 18(ivec3) Load 94 96: 25(ivec3) Load 95
96: 24(ptr) AccessChain 22 48 97: 7(ivec2) FunctionCall 9(getOffset()
97: 17(ivec2) Load 96 98: 26(ivec4) ImageFetch 94 96 Offset Sample 97 33
98: 19(ivec4) ImageFetch 93 95 Offset Sample 97 27 99: 82 Load 84(g_tTex2dmsu4a)
99: 80 Load 82(g_tTex2dmsu4a) 100: 71(ptr) AccessChain 29 70
100: 69(ptr) AccessChain 22 68 101: 25(ivec3) Load 100
101: 18(ivec3) Load 100 102: 7(ivec2) FunctionCall 9(getOffset()
102: 24(ptr) AccessChain 22 48 103: 49(ivec4) ImageFetch 99 101 Offset Sample 102 33
103: 17(ivec2) Load 102 110: 109(ptr) AccessChain 105(psout) 106
104: 43(ivec4) ImageFetch 99 101 Offset Sample 103 27 Store 110 108
111: 110(ptr) AccessChain 106(psout) 107 112: 111(ptr) AccessChain 105(psout) 17
Store 111 109 Store 112 107
113: 112(ptr) AccessChain 106(psout) 23 113:13(PS_OUTPUT) Load 105(psout)
Store 113 108 ReturnValue 113
114:8(PS_OUTPUT) Load 106(psout)
ReturnValue 114
FunctionEnd FunctionEnd
...@@ -3,254 +3,248 @@ Shader version: 500 ...@@ -3,254 +3,248 @@ Shader version: 500
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
using depth_any using depth_any
0:? Sequence 0:? Sequence
0:48 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:43 Function Definition: getOffset1( ( temp int)
0:43 Function Parameters:
0:? Sequence
0:44 Branch: Return with expression
0:44 Constant:
0:44 1 (const int)
0:48 Function Definition: getOffset2( ( temp 2-component vector of int)
0:48 Function Parameters: 0:48 Function Parameters:
0:? Sequence 0:? Sequence
0:52 textureFetchOffset ( temp 4-component vector of float) 0:49 Branch: Return with expression
0:52 'g_tTex1df4' (layout( binding=0) uniform texture1D) 0:49 Constant:
0:52 vector swizzle ( temp int) 0:49 1 (const int)
0:52 c2: direct index for structure ( uniform 2-component vector of int) 0:49 1 (const int)
0:52 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:53 Function Definition: getOffset3( ( temp 3-component vector of int)
0:52 Constant: 0:53 Function Parameters:
0:52 1 (const uint) 0:? Sequence
0:52 Sequence 0:54 Branch: Return with expression
0:52 Constant:
0:52 0 (const int)
0:52 direct index ( temp int)
0:52 c2: direct index for structure ( uniform 2-component vector of int)
0:52 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:52 Constant:
0:52 1 (const uint)
0:52 Constant:
0:52 1 (const int)
0:52 o1: direct index for structure ( uniform int)
0:52 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:52 Constant:
0:52 4 (const uint)
0:53 textureFetchOffset ( temp 4-component vector of int)
0:53 'g_tTex1di4' ( uniform itexture1D)
0:53 vector swizzle ( temp int)
0:53 c2: direct index for structure ( uniform 2-component vector of int)
0:53 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:53 Constant:
0:53 1 (const uint)
0:53 Sequence
0:53 Constant:
0:53 0 (const int)
0:53 direct index ( temp int)
0:53 c2: direct index for structure ( uniform 2-component vector of int)
0:53 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:53 Constant:
0:53 1 (const uint)
0:53 Constant:
0:53 1 (const int)
0:53 o1: direct index for structure ( uniform int)
0:53 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:53 Constant:
0:53 4 (const uint)
0:54 textureFetchOffset ( temp 4-component vector of uint)
0:54 'g_tTex1du4' ( uniform utexture1D)
0:54 vector swizzle ( temp int)
0:54 c2: direct index for structure ( uniform 2-component vector of int)
0:54 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:54 Constant:
0:54 1 (const uint)
0:54 Sequence
0:54 Constant:
0:54 0 (const int)
0:54 direct index ( temp int)
0:54 c2: direct index for structure ( uniform 2-component vector of int)
0:54 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:54 Constant:
0:54 1 (const uint)
0:54 Constant: 0:54 Constant:
0:54 1 (const int) 0:54 1 (const int)
0:54 o1: direct index for structure ( uniform int) 0:54 1 (const int)
0:54 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:54 1 (const int)
0:54 Constant: 0:58 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:54 4 (const uint) 0:58 Function Parameters:
0:57 textureFetchOffset ( temp 4-component vector of float) 0:? Sequence
0:57 'g_tTex2df4' ( uniform texture2D)
0:57 vector swizzle ( temp 2-component vector of int)
0:57 c3: direct index for structure ( uniform 3-component vector of int)
0:57 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:57 Constant:
0:57 2 (const uint)
0:57 Sequence
0:57 Constant:
0:57 0 (const int)
0:57 Constant:
0:57 1 (const int)
0:57 direct index ( temp int)
0:57 c3: direct index for structure ( uniform 3-component vector of int)
0:57 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:57 Constant:
0:57 2 (const uint)
0:57 Constant:
0:57 2 (const int)
0:57 o2: direct index for structure ( uniform 2-component vector of int)
0:57 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:57 Constant:
0:57 5 (const uint)
0:58 textureFetchOffset ( temp 4-component vector of int)
0:58 'g_tTex2di4' ( uniform itexture2D)
0:58 vector swizzle ( temp 2-component vector of int)
0:58 c3: direct index for structure ( uniform 3-component vector of int)
0:58 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:58 Constant:
0:58 2 (const uint)
0:58 Sequence
0:58 Constant:
0:58 0 (const int)
0:58 Constant:
0:58 1 (const int)
0:58 direct index ( temp int)
0:58 c3: direct index for structure ( uniform 3-component vector of int)
0:58 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:58 Constant:
0:58 2 (const uint)
0:58 Constant:
0:58 2 (const int)
0:58 o2: direct index for structure ( uniform 2-component vector of int)
0:58 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:58 Constant:
0:58 5 (const uint)
0:59 textureFetchOffset ( temp 4-component vector of uint)
0:59 'g_tTex2du4' ( uniform utexture2D)
0:59 vector swizzle ( temp 2-component vector of int)
0:59 c3: direct index for structure ( uniform 3-component vector of int)
0:59 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:59 Constant:
0:59 2 (const uint)
0:59 Sequence
0:59 Constant:
0:59 0 (const int)
0:59 Constant:
0:59 1 (const int)
0:59 direct index ( temp int)
0:59 c3: direct index for structure ( uniform 3-component vector of int)
0:59 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:59 Constant:
0:59 2 (const uint)
0:59 Constant:
0:59 2 (const int)
0:59 o2: direct index for structure ( uniform 2-component vector of int)
0:59 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:59 Constant:
0:59 5 (const uint)
0:62 textureFetchOffset ( temp 4-component vector of float) 0:62 textureFetchOffset ( temp 4-component vector of float)
0:62 'g_tTex3df4' ( uniform texture3D) 0:62 'g_tTex1df4' (layout( binding=0) uniform texture1D)
0:62 vector swizzle ( temp 3-component vector of int) 0:62 vector swizzle ( temp int)
0:62 c4: direct index for structure ( uniform 4-component vector of int) 0:62 c2: direct index for structure ( uniform 2-component vector of int)
0:62 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:62 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:62 Constant: 0:62 Constant:
0:62 3 (const uint) 0:62 1 (const uint)
0:62 Sequence 0:62 Sequence
0:62 Constant: 0:62 Constant:
0:62 0 (const int) 0:62 0 (const int)
0:62 Constant:
0:62 1 (const int)
0:62 Constant:
0:62 2 (const int)
0:62 direct index ( temp int) 0:62 direct index ( temp int)
0:62 c4: direct index for structure ( uniform 4-component vector of int) 0:62 c2: direct index for structure ( uniform 2-component vector of int)
0:62 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:62 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:62 Constant:
0:62 3 (const uint)
0:62 Constant: 0:62 Constant:
0:62 3 (const int) 0:62 1 (const uint)
0:62 o3: direct index for structure ( uniform 3-component vector of int)
0:62 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:62 Constant: 0:62 Constant:
0:62 6 (const uint) 0:62 1 (const int)
0:62 Function Call: getOffset1( ( temp int)
0:63 textureFetchOffset ( temp 4-component vector of int) 0:63 textureFetchOffset ( temp 4-component vector of int)
0:63 'g_tTex3di4' ( uniform itexture3D) 0:63 'g_tTex1di4' ( uniform itexture1D)
0:63 vector swizzle ( temp 3-component vector of int) 0:63 vector swizzle ( temp int)
0:63 c4: direct index for structure ( uniform 4-component vector of int) 0:63 c2: direct index for structure ( uniform 2-component vector of int)
0:63 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:63 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:63 Constant: 0:63 Constant:
0:63 3 (const uint) 0:63 1 (const uint)
0:63 Sequence 0:63 Sequence
0:63 Constant: 0:63 Constant:
0:63 0 (const int) 0:63 0 (const int)
0:63 Constant:
0:63 1 (const int)
0:63 Constant:
0:63 2 (const int)
0:63 direct index ( temp int) 0:63 direct index ( temp int)
0:63 c4: direct index for structure ( uniform 4-component vector of int) 0:63 c2: direct index for structure ( uniform 2-component vector of int)
0:63 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:63 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:63 Constant:
0:63 3 (const uint)
0:63 Constant: 0:63 Constant:
0:63 3 (const int) 0:63 1 (const uint)
0:63 o3: direct index for structure ( uniform 3-component vector of int)
0:63 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:63 Constant: 0:63 Constant:
0:63 6 (const uint) 0:63 1 (const int)
0:63 Function Call: getOffset1( ( temp int)
0:64 textureFetchOffset ( temp 4-component vector of uint) 0:64 textureFetchOffset ( temp 4-component vector of uint)
0:64 'g_tTex3du4' ( uniform utexture3D) 0:64 'g_tTex1du4' ( uniform utexture1D)
0:64 vector swizzle ( temp 3-component vector of int) 0:64 vector swizzle ( temp int)
0:64 c4: direct index for structure ( uniform 4-component vector of int) 0:64 c2: direct index for structure ( uniform 2-component vector of int)
0:64 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:64 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:64 Constant: 0:64 Constant:
0:64 3 (const uint) 0:64 1 (const uint)
0:64 Sequence 0:64 Sequence
0:64 Constant: 0:64 Constant:
0:64 0 (const int) 0:64 0 (const int)
0:64 Constant:
0:64 1 (const int)
0:64 Constant:
0:64 2 (const int)
0:64 direct index ( temp int) 0:64 direct index ( temp int)
0:64 c4: direct index for structure ( uniform 4-component vector of int) 0:64 c2: direct index for structure ( uniform 2-component vector of int)
0:64 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:64 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:64 Constant: 0:64 Constant:
0:64 3 (const uint) 0:64 1 (const uint)
0:64 Constant: 0:64 Constant:
0:64 3 (const int) 0:64 1 (const int)
0:64 o3: direct index for structure ( uniform 3-component vector of int) 0:64 Function Call: getOffset1( ( temp int)
0:64 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:67 textureFetchOffset ( temp 4-component vector of float)
0:64 Constant: 0:67 'g_tTex2df4' ( uniform texture2D)
0:64 6 (const uint) 0:67 vector swizzle ( temp 2-component vector of int)
0:72 move second child to first child ( temp 4-component vector of float) 0:67 c3: direct index for structure ( uniform 3-component vector of int)
0:72 Color: direct index for structure ( temp 4-component vector of float) 0:67 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:72 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:67 Constant:
0:67 2 (const uint)
0:67 Sequence
0:67 Constant:
0:67 0 (const int)
0:67 Constant:
0:67 1 (const int)
0:67 direct index ( temp int)
0:67 c3: direct index for structure ( uniform 3-component vector of int)
0:67 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:67 Constant:
0:67 2 (const uint)
0:67 Constant:
0:67 2 (const int)
0:67 Function Call: getOffset2( ( temp 2-component vector of int)
0:68 textureFetchOffset ( temp 4-component vector of int)
0:68 'g_tTex2di4' ( uniform itexture2D)
0:68 vector swizzle ( temp 2-component vector of int)
0:68 c3: direct index for structure ( uniform 3-component vector of int)
0:68 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:68 Constant:
0:68 2 (const uint)
0:68 Sequence
0:68 Constant:
0:68 0 (const int)
0:68 Constant:
0:68 1 (const int)
0:68 direct index ( temp int)
0:68 c3: direct index for structure ( uniform 3-component vector of int)
0:68 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:68 Constant:
0:68 2 (const uint)
0:68 Constant:
0:68 2 (const int)
0:68 Function Call: getOffset2( ( temp 2-component vector of int)
0:69 textureFetchOffset ( temp 4-component vector of uint)
0:69 'g_tTex2du4' ( uniform utexture2D)
0:69 vector swizzle ( temp 2-component vector of int)
0:69 c3: direct index for structure ( uniform 3-component vector of int)
0:69 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:69 Constant:
0:69 2 (const uint)
0:69 Sequence
0:69 Constant:
0:69 0 (const int)
0:69 Constant:
0:69 1 (const int)
0:69 direct index ( temp int)
0:69 c3: direct index for structure ( uniform 3-component vector of int)
0:69 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:69 Constant:
0:69 2 (const uint)
0:69 Constant:
0:69 2 (const int)
0:69 Function Call: getOffset2( ( temp 2-component vector of int)
0:72 textureFetchOffset ( temp 4-component vector of float)
0:72 'g_tTex3df4' ( uniform texture3D)
0:72 vector swizzle ( temp 3-component vector of int)
0:72 c4: direct index for structure ( uniform 4-component vector of int)
0:72 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:72 Constant:
0:72 3 (const uint)
0:72 Sequence
0:72 Constant: 0:72 Constant:
0:72 0 (const int) 0:72 0 (const int)
0:72 Constant: 0:72 Constant:
0:72 1.000000 0:72 1 (const int)
0:72 1.000000 0:72 Constant:
0:72 1.000000 0:72 2 (const int)
0:72 1.000000 0:72 direct index ( temp int)
0:73 move second child to first child ( temp float) 0:72 c4: direct index for structure ( uniform 4-component vector of int)
0:73 Depth: direct index for structure ( temp float) 0:72 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:73 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:72 Constant:
0:72 3 (const uint)
0:72 Constant:
0:72 3 (const int)
0:72 Function Call: getOffset3( ( temp 3-component vector of int)
0:73 textureFetchOffset ( temp 4-component vector of int)
0:73 'g_tTex3di4' ( uniform itexture3D)
0:73 vector swizzle ( temp 3-component vector of int)
0:73 c4: direct index for structure ( uniform 4-component vector of int)
0:73 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:73 Constant:
0:73 3 (const uint)
0:73 Sequence
0:73 Constant:
0:73 0 (const int)
0:73 Constant: 0:73 Constant:
0:73 1 (const int) 0:73 1 (const int)
0:73 Constant: 0:73 Constant:
0:73 1.000000 0:73 2 (const int)
0:75 Branch: Return with expression 0:73 direct index ( temp int)
0:75 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:73 c4: direct index for structure ( uniform 4-component vector of int)
0:48 Function Definition: main( ( temp void) 0:73 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:48 Function Parameters: 0:73 Constant:
0:73 3 (const uint)
0:73 Constant:
0:73 3 (const int)
0:73 Function Call: getOffset3( ( temp 3-component vector of int)
0:74 textureFetchOffset ( temp 4-component vector of uint)
0:74 'g_tTex3du4' ( uniform utexture3D)
0:74 vector swizzle ( temp 3-component vector of int)
0:74 c4: direct index for structure ( uniform 4-component vector of int)
0:74 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:74 Constant:
0:74 3 (const uint)
0:74 Sequence
0:74 Constant:
0:74 0 (const int)
0:74 Constant:
0:74 1 (const int)
0:74 Constant:
0:74 2 (const int)
0:74 direct index ( temp int)
0:74 c4: direct index for structure ( uniform 4-component vector of int)
0:74 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:74 Constant:
0:74 3 (const uint)
0:74 Constant:
0:74 3 (const int)
0:74 Function Call: getOffset3( ( temp 3-component vector of int)
0:82 move second child to first child ( temp 4-component vector of float)
0:82 Color: direct index for structure ( temp 4-component vector of float)
0:82 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:82 Constant:
0:82 0 (const int)
0:82 Constant:
0:82 1.000000
0:82 1.000000
0:82 1.000000
0:82 1.000000
0:83 move second child to first child ( temp float)
0:83 Depth: direct index for structure ( temp float)
0:83 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:83 Constant:
0:83 1 (const int)
0:83 Constant:
0:83 1.000000
0:85 Branch: Return with expression
0:85 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:58 Function Definition: main( ( temp void)
0:58 Function Parameters:
0:? Sequence 0:? Sequence
0:48 Sequence 0:58 Sequence
0:48 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:58 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:48 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:58 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:48 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:58 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:48 move second child to first child ( temp 4-component vector of float) 0:58 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:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
0:48 Color: direct index for structure ( temp 4-component vector of float) 0:58 Color: direct index for structure ( temp 4-component vector of float)
0:48 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:58 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:48 Constant: 0:58 Constant:
0:48 0 (const int) 0:58 0 (const int)
0:48 move second child to first child ( temp float) 0:58 move second child to first child ( temp float)
0:? '@entryPointOutput.Depth' ( out float FragDepth) 0:? '@entryPointOutput.Depth' ( out float FragDepth)
0:48 Depth: direct index for structure ( temp float) 0:58 Depth: direct index for structure ( temp float)
0:48 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:58 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:48 Constant: 0:58 Constant:
0:48 1 (const int) 0:58 1 (const int)
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout( binding=0) uniform sampler) 0:? 'g_sSamp' (layout( binding=0) uniform sampler)
0:? 'g_tTex1df4' (layout( binding=0) uniform texture1D) 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1D)
...@@ -274,7 +268,7 @@ using depth_any ...@@ -274,7 +268,7 @@ using depth_any
0:? 'g_tTexcdf4a' ( uniform textureCubeArray) 0:? 'g_tTexcdf4a' ( uniform textureCubeArray)
0:? 'g_tTexcdi4a' ( uniform itextureCubeArray) 0:? 'g_tTexcdi4a' ( uniform itextureCubeArray)
0:? 'g_tTexcdu4a' ( uniform utextureCubeArray) 0:? 'g_tTexcdu4a' ( uniform utextureCubeArray)
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:? '@entryPointOutput.Depth' ( out float FragDepth) 0:? '@entryPointOutput.Depth' ( out float FragDepth)
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
...@@ -286,254 +280,248 @@ Shader version: 500 ...@@ -286,254 +280,248 @@ Shader version: 500
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
using depth_any using depth_any
0:? Sequence 0:? Sequence
0:48 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:43 Function Definition: getOffset1( ( temp int)
0:43 Function Parameters:
0:? Sequence
0:44 Branch: Return with expression
0:44 Constant:
0:44 1 (const int)
0:48 Function Definition: getOffset2( ( temp 2-component vector of int)
0:48 Function Parameters: 0:48 Function Parameters:
0:? Sequence 0:? Sequence
0:52 textureFetchOffset ( temp 4-component vector of float) 0:49 Branch: Return with expression
0:52 'g_tTex1df4' (layout( binding=0) uniform texture1D) 0:49 Constant:
0:52 vector swizzle ( temp int) 0:49 1 (const int)
0:52 c2: direct index for structure ( uniform 2-component vector of int) 0:49 1 (const int)
0:52 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:53 Function Definition: getOffset3( ( temp 3-component vector of int)
0:52 Constant: 0:53 Function Parameters:
0:52 1 (const uint) 0:? Sequence
0:52 Sequence 0:54 Branch: Return with expression
0:52 Constant:
0:52 0 (const int)
0:52 direct index ( temp int)
0:52 c2: direct index for structure ( uniform 2-component vector of int)
0:52 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:52 Constant:
0:52 1 (const uint)
0:52 Constant:
0:52 1 (const int)
0:52 o1: direct index for structure ( uniform int)
0:52 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:52 Constant:
0:52 4 (const uint)
0:53 textureFetchOffset ( temp 4-component vector of int)
0:53 'g_tTex1di4' ( uniform itexture1D)
0:53 vector swizzle ( temp int)
0:53 c2: direct index for structure ( uniform 2-component vector of int)
0:53 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:53 Constant:
0:53 1 (const uint)
0:53 Sequence
0:53 Constant:
0:53 0 (const int)
0:53 direct index ( temp int)
0:53 c2: direct index for structure ( uniform 2-component vector of int)
0:53 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:53 Constant:
0:53 1 (const uint)
0:53 Constant:
0:53 1 (const int)
0:53 o1: direct index for structure ( uniform int)
0:53 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:53 Constant:
0:53 4 (const uint)
0:54 textureFetchOffset ( temp 4-component vector of uint)
0:54 'g_tTex1du4' ( uniform utexture1D)
0:54 vector swizzle ( temp int)
0:54 c2: direct index for structure ( uniform 2-component vector of int)
0:54 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:54 Constant:
0:54 1 (const uint)
0:54 Sequence
0:54 Constant:
0:54 0 (const int)
0:54 direct index ( temp int)
0:54 c2: direct index for structure ( uniform 2-component vector of int)
0:54 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:54 Constant:
0:54 1 (const uint)
0:54 Constant: 0:54 Constant:
0:54 1 (const int) 0:54 1 (const int)
0:54 o1: direct index for structure ( uniform int) 0:54 1 (const int)
0:54 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:54 1 (const int)
0:54 Constant: 0:58 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:54 4 (const uint) 0:58 Function Parameters:
0:57 textureFetchOffset ( temp 4-component vector of float) 0:? Sequence
0:57 'g_tTex2df4' ( uniform texture2D)
0:57 vector swizzle ( temp 2-component vector of int)
0:57 c3: direct index for structure ( uniform 3-component vector of int)
0:57 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:57 Constant:
0:57 2 (const uint)
0:57 Sequence
0:57 Constant:
0:57 0 (const int)
0:57 Constant:
0:57 1 (const int)
0:57 direct index ( temp int)
0:57 c3: direct index for structure ( uniform 3-component vector of int)
0:57 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:57 Constant:
0:57 2 (const uint)
0:57 Constant:
0:57 2 (const int)
0:57 o2: direct index for structure ( uniform 2-component vector of int)
0:57 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:57 Constant:
0:57 5 (const uint)
0:58 textureFetchOffset ( temp 4-component vector of int)
0:58 'g_tTex2di4' ( uniform itexture2D)
0:58 vector swizzle ( temp 2-component vector of int)
0:58 c3: direct index for structure ( uniform 3-component vector of int)
0:58 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:58 Constant:
0:58 2 (const uint)
0:58 Sequence
0:58 Constant:
0:58 0 (const int)
0:58 Constant:
0:58 1 (const int)
0:58 direct index ( temp int)
0:58 c3: direct index for structure ( uniform 3-component vector of int)
0:58 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:58 Constant:
0:58 2 (const uint)
0:58 Constant:
0:58 2 (const int)
0:58 o2: direct index for structure ( uniform 2-component vector of int)
0:58 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:58 Constant:
0:58 5 (const uint)
0:59 textureFetchOffset ( temp 4-component vector of uint)
0:59 'g_tTex2du4' ( uniform utexture2D)
0:59 vector swizzle ( temp 2-component vector of int)
0:59 c3: direct index for structure ( uniform 3-component vector of int)
0:59 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:59 Constant:
0:59 2 (const uint)
0:59 Sequence
0:59 Constant:
0:59 0 (const int)
0:59 Constant:
0:59 1 (const int)
0:59 direct index ( temp int)
0:59 c3: direct index for structure ( uniform 3-component vector of int)
0:59 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:59 Constant:
0:59 2 (const uint)
0:59 Constant:
0:59 2 (const int)
0:59 o2: direct index for structure ( uniform 2-component vector of int)
0:59 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:59 Constant:
0:59 5 (const uint)
0:62 textureFetchOffset ( temp 4-component vector of float) 0:62 textureFetchOffset ( temp 4-component vector of float)
0:62 'g_tTex3df4' ( uniform texture3D) 0:62 'g_tTex1df4' (layout( binding=0) uniform texture1D)
0:62 vector swizzle ( temp 3-component vector of int) 0:62 vector swizzle ( temp int)
0:62 c4: direct index for structure ( uniform 4-component vector of int) 0:62 c2: direct index for structure ( uniform 2-component vector of int)
0:62 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:62 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:62 Constant: 0:62 Constant:
0:62 3 (const uint) 0:62 1 (const uint)
0:62 Sequence 0:62 Sequence
0:62 Constant: 0:62 Constant:
0:62 0 (const int) 0:62 0 (const int)
0:62 Constant:
0:62 1 (const int)
0:62 Constant:
0:62 2 (const int)
0:62 direct index ( temp int) 0:62 direct index ( temp int)
0:62 c4: direct index for structure ( uniform 4-component vector of int) 0:62 c2: direct index for structure ( uniform 2-component vector of int)
0:62 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:62 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:62 Constant:
0:62 3 (const uint)
0:62 Constant: 0:62 Constant:
0:62 3 (const int) 0:62 1 (const uint)
0:62 o3: direct index for structure ( uniform 3-component vector of int)
0:62 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:62 Constant: 0:62 Constant:
0:62 6 (const uint) 0:62 1 (const int)
0:62 Function Call: getOffset1( ( temp int)
0:63 textureFetchOffset ( temp 4-component vector of int) 0:63 textureFetchOffset ( temp 4-component vector of int)
0:63 'g_tTex3di4' ( uniform itexture3D) 0:63 'g_tTex1di4' ( uniform itexture1D)
0:63 vector swizzle ( temp 3-component vector of int) 0:63 vector swizzle ( temp int)
0:63 c4: direct index for structure ( uniform 4-component vector of int) 0:63 c2: direct index for structure ( uniform 2-component vector of int)
0:63 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:63 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:63 Constant: 0:63 Constant:
0:63 3 (const uint) 0:63 1 (const uint)
0:63 Sequence 0:63 Sequence
0:63 Constant: 0:63 Constant:
0:63 0 (const int) 0:63 0 (const int)
0:63 Constant:
0:63 1 (const int)
0:63 Constant:
0:63 2 (const int)
0:63 direct index ( temp int) 0:63 direct index ( temp int)
0:63 c4: direct index for structure ( uniform 4-component vector of int) 0:63 c2: direct index for structure ( uniform 2-component vector of int)
0:63 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:63 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:63 Constant: 0:63 Constant:
0:63 3 (const uint) 0:63 1 (const uint)
0:63 Constant: 0:63 Constant:
0:63 3 (const int) 0:63 1 (const int)
0:63 o3: direct index for structure ( uniform 3-component vector of int) 0:63 Function Call: getOffset1( ( temp int)
0:63 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:63 Constant:
0:63 6 (const uint)
0:64 textureFetchOffset ( temp 4-component vector of uint) 0:64 textureFetchOffset ( temp 4-component vector of uint)
0:64 'g_tTex3du4' ( uniform utexture3D) 0:64 'g_tTex1du4' ( uniform utexture1D)
0:64 vector swizzle ( temp 3-component vector of int) 0:64 vector swizzle ( temp int)
0:64 c4: direct index for structure ( uniform 4-component vector of int) 0:64 c2: direct index for structure ( uniform 2-component vector of int)
0:64 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:64 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:64 Constant: 0:64 Constant:
0:64 3 (const uint) 0:64 1 (const uint)
0:64 Sequence 0:64 Sequence
0:64 Constant: 0:64 Constant:
0:64 0 (const int) 0:64 0 (const int)
0:64 Constant:
0:64 1 (const int)
0:64 Constant:
0:64 2 (const int)
0:64 direct index ( temp int) 0:64 direct index ( temp int)
0:64 c4: direct index for structure ( uniform 4-component vector of int) 0:64 c2: direct index for structure ( uniform 2-component vector of int)
0:64 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:64 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:64 Constant:
0:64 3 (const uint)
0:64 Constant: 0:64 Constant:
0:64 3 (const int) 0:64 1 (const uint)
0:64 o3: direct index for structure ( uniform 3-component vector of int)
0:64 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:64 Constant: 0:64 Constant:
0:64 6 (const uint) 0:64 1 (const int)
0:72 move second child to first child ( temp 4-component vector of float) 0:64 Function Call: getOffset1( ( temp int)
0:72 Color: direct index for structure ( temp 4-component vector of float) 0:67 textureFetchOffset ( temp 4-component vector of float)
0:72 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:67 'g_tTex2df4' ( uniform texture2D)
0:67 vector swizzle ( temp 2-component vector of int)
0:67 c3: direct index for structure ( uniform 3-component vector of int)
0:67 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:67 Constant:
0:67 2 (const uint)
0:67 Sequence
0:67 Constant:
0:67 0 (const int)
0:67 Constant:
0:67 1 (const int)
0:67 direct index ( temp int)
0:67 c3: direct index for structure ( uniform 3-component vector of int)
0:67 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:67 Constant:
0:67 2 (const uint)
0:67 Constant:
0:67 2 (const int)
0:67 Function Call: getOffset2( ( temp 2-component vector of int)
0:68 textureFetchOffset ( temp 4-component vector of int)
0:68 'g_tTex2di4' ( uniform itexture2D)
0:68 vector swizzle ( temp 2-component vector of int)
0:68 c3: direct index for structure ( uniform 3-component vector of int)
0:68 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:68 Constant:
0:68 2 (const uint)
0:68 Sequence
0:68 Constant:
0:68 0 (const int)
0:68 Constant:
0:68 1 (const int)
0:68 direct index ( temp int)
0:68 c3: direct index for structure ( uniform 3-component vector of int)
0:68 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:68 Constant:
0:68 2 (const uint)
0:68 Constant:
0:68 2 (const int)
0:68 Function Call: getOffset2( ( temp 2-component vector of int)
0:69 textureFetchOffset ( temp 4-component vector of uint)
0:69 'g_tTex2du4' ( uniform utexture2D)
0:69 vector swizzle ( temp 2-component vector of int)
0:69 c3: direct index for structure ( uniform 3-component vector of int)
0:69 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:69 Constant:
0:69 2 (const uint)
0:69 Sequence
0:69 Constant:
0:69 0 (const int)
0:69 Constant:
0:69 1 (const int)
0:69 direct index ( temp int)
0:69 c3: direct index for structure ( uniform 3-component vector of int)
0:69 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:69 Constant:
0:69 2 (const uint)
0:69 Constant:
0:69 2 (const int)
0:69 Function Call: getOffset2( ( temp 2-component vector of int)
0:72 textureFetchOffset ( temp 4-component vector of float)
0:72 'g_tTex3df4' ( uniform texture3D)
0:72 vector swizzle ( temp 3-component vector of int)
0:72 c4: direct index for structure ( uniform 4-component vector of int)
0:72 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:72 Constant:
0:72 3 (const uint)
0:72 Sequence
0:72 Constant: 0:72 Constant:
0:72 0 (const int) 0:72 0 (const int)
0:72 Constant: 0:72 Constant:
0:72 1.000000 0:72 1 (const int)
0:72 1.000000 0:72 Constant:
0:72 1.000000 0:72 2 (const int)
0:72 1.000000 0:72 direct index ( temp int)
0:73 move second child to first child ( temp float) 0:72 c4: direct index for structure ( uniform 4-component vector of int)
0:73 Depth: direct index for structure ( temp float) 0:72 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:73 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:72 Constant:
0:72 3 (const uint)
0:72 Constant:
0:72 3 (const int)
0:72 Function Call: getOffset3( ( temp 3-component vector of int)
0:73 textureFetchOffset ( temp 4-component vector of int)
0:73 'g_tTex3di4' ( uniform itexture3D)
0:73 vector swizzle ( temp 3-component vector of int)
0:73 c4: direct index for structure ( uniform 4-component vector of int)
0:73 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:73 Constant:
0:73 3 (const uint)
0:73 Sequence
0:73 Constant:
0:73 0 (const int)
0:73 Constant: 0:73 Constant:
0:73 1 (const int) 0:73 1 (const int)
0:73 Constant: 0:73 Constant:
0:73 1.000000 0:73 2 (const int)
0:75 Branch: Return with expression 0:73 direct index ( temp int)
0:75 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:73 c4: direct index for structure ( uniform 4-component vector of int)
0:48 Function Definition: main( ( temp void) 0:73 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:48 Function Parameters: 0:73 Constant:
0:73 3 (const uint)
0:73 Constant:
0:73 3 (const int)
0:73 Function Call: getOffset3( ( temp 3-component vector of int)
0:74 textureFetchOffset ( temp 4-component vector of uint)
0:74 'g_tTex3du4' ( uniform utexture3D)
0:74 vector swizzle ( temp 3-component vector of int)
0:74 c4: direct index for structure ( uniform 4-component vector of int)
0:74 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:74 Constant:
0:74 3 (const uint)
0:74 Sequence
0:74 Constant:
0:74 0 (const int)
0:74 Constant:
0:74 1 (const int)
0:74 Constant:
0:74 2 (const int)
0:74 direct index ( temp int)
0:74 c4: direct index for structure ( uniform 4-component vector of int)
0:74 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:74 Constant:
0:74 3 (const uint)
0:74 Constant:
0:74 3 (const int)
0:74 Function Call: getOffset3( ( temp 3-component vector of int)
0:82 move second child to first child ( temp 4-component vector of float)
0:82 Color: direct index for structure ( temp 4-component vector of float)
0:82 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:82 Constant:
0:82 0 (const int)
0:82 Constant:
0:82 1.000000
0:82 1.000000
0:82 1.000000
0:82 1.000000
0:83 move second child to first child ( temp float)
0:83 Depth: direct index for structure ( temp float)
0:83 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:83 Constant:
0:83 1 (const int)
0:83 Constant:
0:83 1.000000
0:85 Branch: Return with expression
0:85 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:58 Function Definition: main( ( temp void)
0:58 Function Parameters:
0:? Sequence 0:? Sequence
0:48 Sequence 0:58 Sequence
0:48 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:58 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:48 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:58 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:48 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:58 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:48 move second child to first child ( temp 4-component vector of float) 0:58 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:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
0:48 Color: direct index for structure ( temp 4-component vector of float) 0:58 Color: direct index for structure ( temp 4-component vector of float)
0:48 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:58 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:48 Constant: 0:58 Constant:
0:48 0 (const int) 0:58 0 (const int)
0:48 move second child to first child ( temp float) 0:58 move second child to first child ( temp float)
0:? '@entryPointOutput.Depth' ( out float FragDepth) 0:? '@entryPointOutput.Depth' ( out float FragDepth)
0:48 Depth: direct index for structure ( temp float) 0:58 Depth: direct index for structure ( temp float)
0:48 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:58 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:48 Constant: 0:58 Constant:
0:48 1 (const int) 0:58 1 (const int)
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout( binding=0) uniform sampler) 0:? 'g_sSamp' (layout( binding=0) uniform sampler)
0:? 'g_tTex1df4' (layout( binding=0) uniform texture1D) 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1D)
...@@ -557,14 +545,13 @@ using depth_any ...@@ -557,14 +545,13 @@ using depth_any
0:? 'g_tTexcdf4a' ( uniform textureCubeArray) 0:? 'g_tTexcdf4a' ( uniform textureCubeArray)
0:? 'g_tTexcdi4a' ( uniform itextureCubeArray) 0:? 'g_tTexcdi4a' ( uniform itextureCubeArray)
0:? 'g_tTexcdu4a' ( uniform utextureCubeArray) 0:? 'g_tTexcdu4a' ( uniform utextureCubeArray)
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:? '@entryPointOutput.Depth' ( out float FragDepth) 0:? '@entryPointOutput.Depth' ( out float FragDepth)
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
Validation failed
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 8000a // Generated by (magic number): 8000a
// Id's are bound by 201 // Id's are bound by 205
Capability Shader Capability Shader
Capability ImageGatherExtended Capability ImageGatherExtended
...@@ -572,311 +559,310 @@ Validation failed ...@@ -572,311 +559,310 @@ Validation failed
Capability SampledCubeArray Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 155 159 EntryPoint Fragment 4 "main" 159 163
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
ExecutionMode 4 DepthReplacing ExecutionMode 4 DepthReplacing
Source HLSL 500 Source HLSL 500
Name 4 "main" Name 4 "main"
Name 8 "PS_OUTPUT" Name 8 "getOffset1("
MemberName 8(PS_OUTPUT) 0 "Color" Name 12 "getOffset2("
MemberName 8(PS_OUTPUT) 1 "Depth" Name 16 "getOffset3("
Name 10 "@main(" Name 20 "PS_OUTPUT"
Name 14 "g_tTex1df4" MemberName 20(PS_OUTPUT) 0 "Color"
Name 20 "$Global" MemberName 20(PS_OUTPUT) 1 "Depth"
MemberName 20($Global) 0 "c1" Name 22 "@main("
MemberName 20($Global) 1 "c2" Name 35 "g_tTex1df4"
MemberName 20($Global) 2 "c3" Name 38 "$Global"
MemberName 20($Global) 3 "c4" MemberName 38($Global) 0 "c1"
MemberName 20($Global) 4 "o1" MemberName 38($Global) 1 "c2"
MemberName 20($Global) 5 "o2" MemberName 38($Global) 2 "c3"
MemberName 20($Global) 6 "o3" MemberName 38($Global) 3 "c4"
MemberName 20($Global) 7 "o4" Name 40 ""
Name 22 "" Name 53 "g_tTex1di4"
Name 38 "g_tTex1di4" Name 63 "g_tTex1du4"
Name 49 "g_tTex1du4" Name 74 "g_tTex2df4"
Name 61 "g_tTex2df4" Name 88 "g_tTex2di4"
Name 78 "g_tTex2di4" Name 99 "g_tTex2du4"
Name 90 "g_tTex2du4" Name 110 "g_tTex3df4"
Name 102 "g_tTex3df4" Name 124 "g_tTex3di4"
Name 118 "g_tTex3di4" Name 135 "g_tTex3du4"
Name 130 "g_tTex3du4" Name 145 "psout"
Name 141 "psout" Name 156 "flattenTemp"
Name 152 "flattenTemp" Name 159 "@entryPointOutput.Color"
Name 155 "@entryPointOutput.Color" Name 163 "@entryPointOutput.Depth"
Name 159 "@entryPointOutput.Depth" Name 168 "g_sSamp"
Name 164 "g_sSamp" Name 171 "g_tTexcdf4"
Name 167 "g_tTexcdf4" Name 174 "g_tTexcdi4"
Name 170 "g_tTexcdi4" Name 177 "g_tTexcdu4"
Name 173 "g_tTexcdu4" Name 180 "g_tTex1df4a"
Name 176 "g_tTex1df4a" Name 183 "g_tTex1di4a"
Name 179 "g_tTex1di4a" Name 186 "g_tTex1du4a"
Name 182 "g_tTex1du4a" Name 189 "g_tTex2df4a"
Name 185 "g_tTex2df4a" Name 192 "g_tTex2di4a"
Name 188 "g_tTex2di4a" Name 195 "g_tTex2du4a"
Name 191 "g_tTex2du4a" Name 198 "g_tTexcdf4a"
Name 194 "g_tTexcdf4a" Name 201 "g_tTexcdi4a"
Name 197 "g_tTexcdi4a" Name 204 "g_tTexcdu4a"
Name 200 "g_tTexcdu4a" Decorate 35(g_tTex1df4) DescriptorSet 0
Decorate 14(g_tTex1df4) DescriptorSet 0 Decorate 35(g_tTex1df4) Binding 0
Decorate 14(g_tTex1df4) Binding 0 MemberDecorate 38($Global) 0 Offset 0
MemberDecorate 20($Global) 0 Offset 0 MemberDecorate 38($Global) 1 Offset 8
MemberDecorate 20($Global) 1 Offset 8 MemberDecorate 38($Global) 2 Offset 16
MemberDecorate 20($Global) 2 Offset 16 MemberDecorate 38($Global) 3 Offset 32
MemberDecorate 20($Global) 3 Offset 32 Decorate 38($Global) Block
MemberDecorate 20($Global) 4 Offset 48 Decorate 40 DescriptorSet 0
MemberDecorate 20($Global) 5 Offset 56 Decorate 40 Binding 9
MemberDecorate 20($Global) 6 Offset 64 Decorate 53(g_tTex1di4) DescriptorSet 0
MemberDecorate 20($Global) 7 Offset 80 Decorate 53(g_tTex1di4) Binding 1
Decorate 20($Global) Block Decorate 63(g_tTex1du4) DescriptorSet 0
Decorate 22 DescriptorSet 0 Decorate 63(g_tTex1du4) Binding 2
Decorate 22 Binding 9 Decorate 74(g_tTex2df4) DescriptorSet 0
Decorate 38(g_tTex1di4) DescriptorSet 0 Decorate 74(g_tTex2df4) Binding 3
Decorate 38(g_tTex1di4) Binding 1 Decorate 88(g_tTex2di4) DescriptorSet 0
Decorate 49(g_tTex1du4) DescriptorSet 0 Decorate 88(g_tTex2di4) Binding 4
Decorate 49(g_tTex1du4) Binding 2 Decorate 99(g_tTex2du4) DescriptorSet 0
Decorate 61(g_tTex2df4) DescriptorSet 0 Decorate 99(g_tTex2du4) Binding 5
Decorate 61(g_tTex2df4) Binding 3 Decorate 110(g_tTex3df4) DescriptorSet 0
Decorate 78(g_tTex2di4) DescriptorSet 0 Decorate 110(g_tTex3df4) Binding 6
Decorate 78(g_tTex2di4) Binding 4 Decorate 124(g_tTex3di4) DescriptorSet 0
Decorate 90(g_tTex2du4) DescriptorSet 0 Decorate 124(g_tTex3di4) Binding 7
Decorate 90(g_tTex2du4) Binding 5 Decorate 135(g_tTex3du4) DescriptorSet 0
Decorate 102(g_tTex3df4) DescriptorSet 0 Decorate 135(g_tTex3du4) Binding 8
Decorate 102(g_tTex3df4) Binding 6 Decorate 159(@entryPointOutput.Color) Location 0
Decorate 118(g_tTex3di4) DescriptorSet 0 Decorate 163(@entryPointOutput.Depth) BuiltIn FragDepth
Decorate 118(g_tTex3di4) Binding 7 Decorate 168(g_sSamp) DescriptorSet 0
Decorate 130(g_tTex3du4) DescriptorSet 0 Decorate 168(g_sSamp) Binding 0
Decorate 130(g_tTex3du4) Binding 8 Decorate 171(g_tTexcdf4) DescriptorSet 0
Decorate 155(@entryPointOutput.Color) Location 0 Decorate 171(g_tTexcdf4) Binding 0
Decorate 159(@entryPointOutput.Depth) BuiltIn FragDepth Decorate 174(g_tTexcdi4) DescriptorSet 0
Decorate 164(g_sSamp) DescriptorSet 0 Decorate 174(g_tTexcdi4) Binding 0
Decorate 164(g_sSamp) Binding 0 Decorate 177(g_tTexcdu4) DescriptorSet 0
Decorate 167(g_tTexcdf4) DescriptorSet 0 Decorate 177(g_tTexcdu4) Binding 0
Decorate 167(g_tTexcdf4) Binding 0 Decorate 180(g_tTex1df4a) DescriptorSet 0
Decorate 170(g_tTexcdi4) DescriptorSet 0 Decorate 180(g_tTex1df4a) Binding 0
Decorate 170(g_tTexcdi4) Binding 0 Decorate 183(g_tTex1di4a) DescriptorSet 0
Decorate 173(g_tTexcdu4) DescriptorSet 0 Decorate 183(g_tTex1di4a) Binding 0
Decorate 173(g_tTexcdu4) Binding 0 Decorate 186(g_tTex1du4a) DescriptorSet 0
Decorate 176(g_tTex1df4a) DescriptorSet 0 Decorate 186(g_tTex1du4a) Binding 0
Decorate 176(g_tTex1df4a) Binding 0 Decorate 189(g_tTex2df4a) DescriptorSet 0
Decorate 179(g_tTex1di4a) DescriptorSet 0 Decorate 189(g_tTex2df4a) Binding 0
Decorate 179(g_tTex1di4a) Binding 0 Decorate 192(g_tTex2di4a) DescriptorSet 0
Decorate 182(g_tTex1du4a) DescriptorSet 0 Decorate 192(g_tTex2di4a) Binding 0
Decorate 182(g_tTex1du4a) Binding 0 Decorate 195(g_tTex2du4a) DescriptorSet 0
Decorate 185(g_tTex2df4a) DescriptorSet 0 Decorate 195(g_tTex2du4a) Binding 0
Decorate 185(g_tTex2df4a) Binding 0 Decorate 198(g_tTexcdf4a) DescriptorSet 0
Decorate 188(g_tTex2di4a) DescriptorSet 0 Decorate 198(g_tTexcdf4a) Binding 0
Decorate 188(g_tTex2di4a) Binding 0 Decorate 201(g_tTexcdi4a) DescriptorSet 0
Decorate 191(g_tTex2du4a) DescriptorSet 0 Decorate 201(g_tTexcdi4a) Binding 0
Decorate 191(g_tTex2du4a) Binding 0 Decorate 204(g_tTexcdu4a) DescriptorSet 0
Decorate 194(g_tTexcdf4a) DescriptorSet 0 Decorate 204(g_tTexcdu4a) Binding 0
Decorate 194(g_tTexcdf4a) Binding 0
Decorate 197(g_tTexcdi4a) DescriptorSet 0
Decorate 197(g_tTexcdi4a) Binding 0
Decorate 200(g_tTexcdu4a) DescriptorSet 0
Decorate 200(g_tTexcdu4a) Binding 0
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeInt 32 1
7: TypeVector 6(float) 4 7: TypeFunction 6(int)
8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float) 10: TypeVector 6(int) 2
9: TypeFunction 8(PS_OUTPUT) 11: TypeFunction 10(ivec2)
12: TypeImage 6(float) 1D sampled format:Unknown 14: TypeVector 6(int) 3
13: TypePointer UniformConstant 12 15: TypeFunction 14(ivec3)
14(g_tTex1df4): 13(ptr) Variable UniformConstant 18: TypeFloat 32
16: TypeInt 32 1 19: TypeVector 18(float) 4
17: TypeVector 16(int) 2 20(PS_OUTPUT): TypeStruct 19(fvec4) 18(float)
18: TypeVector 16(int) 3 21: TypeFunction 20(PS_OUTPUT)
19: TypeVector 16(int) 4 24: 6(int) Constant 1
20($Global): TypeStruct 16(int) 17(ivec2) 18(ivec3) 19(ivec4) 16(int) 17(ivec2) 18(ivec3) 19(ivec4) 27: 10(ivec2) ConstantComposite 24 24
21: TypePointer Uniform 20($Global) 30: 14(ivec3) ConstantComposite 24 24 24
22: 21(ptr) Variable Uniform 33: TypeImage 18(float) 1D sampled format:Unknown
23: 16(int) Constant 1 34: TypePointer UniformConstant 33
24: TypeInt 32 0 35(g_tTex1df4): 34(ptr) Variable UniformConstant
25: 24(int) Constant 0 37: TypeVector 6(int) 4
26: TypePointer Uniform 16(int) 38($Global): TypeStruct 6(int) 10(ivec2) 14(ivec3) 37(ivec4)
29: 24(int) Constant 1 39: TypePointer Uniform 38($Global)
32: 16(int) Constant 4 40: 39(ptr) Variable Uniform
36: TypeImage 16(int) 1D sampled format:Unknown 41: TypeInt 32 0
37: TypePointer UniformConstant 36 42: 41(int) Constant 0
38(g_tTex1di4): 37(ptr) Variable UniformConstant 43: TypePointer Uniform 6(int)
47: TypeImage 24(int) 1D sampled format:Unknown 46: 41(int) Constant 1
48: TypePointer UniformConstant 47 51: TypeImage 6(int) 1D sampled format:Unknown
49(g_tTex1du4): 48(ptr) Variable UniformConstant 52: TypePointer UniformConstant 51
57: TypeVector 24(int) 4 53(g_tTex1di4): 52(ptr) Variable UniformConstant
59: TypeImage 6(float) 2D sampled format:Unknown 61: TypeImage 41(int) 1D sampled format:Unknown
60: TypePointer UniformConstant 59 62: TypePointer UniformConstant 61
61(g_tTex2df4): 60(ptr) Variable UniformConstant 63(g_tTex1du4): 62(ptr) Variable UniformConstant
63: 16(int) Constant 2 70: TypeVector 41(int) 4
64: TypePointer Uniform 18(ivec3) 72: TypeImage 18(float) 2D sampled format:Unknown
68: 24(int) Constant 2 73: TypePointer UniformConstant 72
71: 16(int) Constant 5 74(g_tTex2df4): 73(ptr) Variable UniformConstant
72: TypePointer Uniform 17(ivec2) 76: 6(int) Constant 2
76: TypeImage 16(int) 2D sampled format:Unknown 77: TypePointer Uniform 14(ivec3)
77: TypePointer UniformConstant 76 81: 41(int) Constant 2
78(g_tTex2di4): 77(ptr) Variable UniformConstant 86: TypeImage 6(int) 2D sampled format:Unknown
88: TypeImage 24(int) 2D sampled format:Unknown 87: TypePointer UniformConstant 86
89: TypePointer UniformConstant 88 88(g_tTex2di4): 87(ptr) Variable UniformConstant
90(g_tTex2du4): 89(ptr) Variable UniformConstant 97: TypeImage 41(int) 2D sampled format:Unknown
100: TypeImage 6(float) 3D sampled format:Unknown 98: TypePointer UniformConstant 97
101: TypePointer UniformConstant 100 99(g_tTex2du4): 98(ptr) Variable UniformConstant
102(g_tTex3df4): 101(ptr) Variable UniformConstant 108: TypeImage 18(float) 3D sampled format:Unknown
104: 16(int) Constant 3 109: TypePointer UniformConstant 108
105: TypePointer Uniform 19(ivec4) 110(g_tTex3df4): 109(ptr) Variable UniformConstant
109: 24(int) Constant 3 112: 6(int) Constant 3
112: 16(int) Constant 6 113: TypePointer Uniform 37(ivec4)
116: TypeImage 16(int) 3D sampled format:Unknown 117: 41(int) Constant 3
117: TypePointer UniformConstant 116 122: TypeImage 6(int) 3D sampled format:Unknown
118(g_tTex3di4): 117(ptr) Variable UniformConstant 123: TypePointer UniformConstant 122
128: TypeImage 24(int) 3D sampled format:Unknown 124(g_tTex3di4): 123(ptr) Variable UniformConstant
129: TypePointer UniformConstant 128 133: TypeImage 41(int) 3D sampled format:Unknown
130(g_tTex3du4): 129(ptr) Variable UniformConstant 134: TypePointer UniformConstant 133
140: TypePointer Function 8(PS_OUTPUT) 135(g_tTex3du4): 134(ptr) Variable UniformConstant
142: 16(int) Constant 0 144: TypePointer Function 20(PS_OUTPUT)
143: 6(float) Constant 1065353216 146: 6(int) Constant 0
144: 7(fvec4) ConstantComposite 143 143 143 143 147: 18(float) Constant 1065353216
145: TypePointer Function 7(fvec4) 148: 19(fvec4) ConstantComposite 147 147 147 147
147: TypePointer Function 6(float) 149: TypePointer Function 19(fvec4)
154: TypePointer Output 7(fvec4) 151: TypePointer Function 18(float)
155(@entryPointOutput.Color): 154(ptr) Variable Output 158: TypePointer Output 19(fvec4)
158: TypePointer Output 6(float) 159(@entryPointOutput.Color): 158(ptr) Variable Output
159(@entryPointOutput.Depth): 158(ptr) Variable Output 162: TypePointer Output 18(float)
162: TypeSampler 163(@entryPointOutput.Depth): 162(ptr) Variable Output
163: TypePointer UniformConstant 162 166: TypeSampler
164(g_sSamp): 163(ptr) Variable UniformConstant 167: TypePointer UniformConstant 166
165: TypeImage 6(float) Cube sampled format:Unknown 168(g_sSamp): 167(ptr) Variable UniformConstant
166: TypePointer UniformConstant 165 169: TypeImage 18(float) Cube sampled format:Unknown
167(g_tTexcdf4): 166(ptr) Variable UniformConstant 170: TypePointer UniformConstant 169
168: TypeImage 16(int) Cube sampled format:Unknown 171(g_tTexcdf4): 170(ptr) Variable UniformConstant
169: TypePointer UniformConstant 168 172: TypeImage 6(int) Cube sampled format:Unknown
170(g_tTexcdi4): 169(ptr) Variable UniformConstant 173: TypePointer UniformConstant 172
171: TypeImage 24(int) Cube sampled format:Unknown 174(g_tTexcdi4): 173(ptr) Variable UniformConstant
172: TypePointer UniformConstant 171 175: TypeImage 41(int) Cube sampled format:Unknown
173(g_tTexcdu4): 172(ptr) Variable UniformConstant 176: TypePointer UniformConstant 175
174: TypeImage 6(float) 1D array sampled format:Unknown 177(g_tTexcdu4): 176(ptr) Variable UniformConstant
175: TypePointer UniformConstant 174 178: TypeImage 18(float) 1D array sampled format:Unknown
176(g_tTex1df4a): 175(ptr) Variable UniformConstant 179: TypePointer UniformConstant 178
177: TypeImage 16(int) 1D array sampled format:Unknown 180(g_tTex1df4a): 179(ptr) Variable UniformConstant
178: TypePointer UniformConstant 177 181: TypeImage 6(int) 1D array sampled format:Unknown
179(g_tTex1di4a): 178(ptr) Variable UniformConstant 182: TypePointer UniformConstant 181
180: TypeImage 24(int) 1D array sampled format:Unknown 183(g_tTex1di4a): 182(ptr) Variable UniformConstant
181: TypePointer UniformConstant 180 184: TypeImage 41(int) 1D array sampled format:Unknown
182(g_tTex1du4a): 181(ptr) Variable UniformConstant 185: TypePointer UniformConstant 184
183: TypeImage 6(float) 2D array sampled format:Unknown 186(g_tTex1du4a): 185(ptr) Variable UniformConstant
184: TypePointer UniformConstant 183 187: TypeImage 18(float) 2D array sampled format:Unknown
185(g_tTex2df4a): 184(ptr) Variable UniformConstant 188: TypePointer UniformConstant 187
186: TypeImage 16(int) 2D array sampled format:Unknown 189(g_tTex2df4a): 188(ptr) Variable UniformConstant
187: TypePointer UniformConstant 186 190: TypeImage 6(int) 2D array sampled format:Unknown
188(g_tTex2di4a): 187(ptr) Variable UniformConstant 191: TypePointer UniformConstant 190
189: TypeImage 24(int) 2D array sampled format:Unknown 192(g_tTex2di4a): 191(ptr) Variable UniformConstant
190: TypePointer UniformConstant 189 193: TypeImage 41(int) 2D array sampled format:Unknown
191(g_tTex2du4a): 190(ptr) Variable UniformConstant 194: TypePointer UniformConstant 193
192: TypeImage 6(float) Cube array sampled format:Unknown 195(g_tTex2du4a): 194(ptr) Variable UniformConstant
193: TypePointer UniformConstant 192 196: TypeImage 18(float) Cube array sampled format:Unknown
194(g_tTexcdf4a): 193(ptr) Variable UniformConstant 197: TypePointer UniformConstant 196
195: TypeImage 16(int) Cube array sampled format:Unknown 198(g_tTexcdf4a): 197(ptr) Variable UniformConstant
196: TypePointer UniformConstant 195 199: TypeImage 6(int) Cube array sampled format:Unknown
197(g_tTexcdi4a): 196(ptr) Variable UniformConstant 200: TypePointer UniformConstant 199
198: TypeImage 24(int) Cube array sampled format:Unknown 201(g_tTexcdi4a): 200(ptr) Variable UniformConstant
199: TypePointer UniformConstant 198 202: TypeImage 41(int) Cube array sampled format:Unknown
200(g_tTexcdu4a): 199(ptr) Variable UniformConstant 203: TypePointer UniformConstant 202
204(g_tTexcdu4a): 203(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
152(flattenTemp): 140(ptr) Variable Function 156(flattenTemp): 144(ptr) Variable Function
153:8(PS_OUTPUT) FunctionCall 10(@main() 157:20(PS_OUTPUT) FunctionCall 22(@main()
Store 152(flattenTemp) 153 Store 156(flattenTemp) 157
156: 145(ptr) AccessChain 152(flattenTemp) 142 160: 149(ptr) AccessChain 156(flattenTemp) 146
157: 7(fvec4) Load 156 161: 19(fvec4) Load 160
Store 155(@entryPointOutput.Color) 157 Store 159(@entryPointOutput.Color) 161
160: 147(ptr) AccessChain 152(flattenTemp) 23 164: 151(ptr) AccessChain 156(flattenTemp) 24
161: 6(float) Load 160 165: 18(float) Load 164
Store 159(@entryPointOutput.Depth) 161 Store 163(@entryPointOutput.Depth) 165
Return Return
FunctionEnd FunctionEnd
10(@main():8(PS_OUTPUT) Function None 9 8(getOffset1(): 6(int) Function None 7
11: Label 9: Label
141(psout): 140(ptr) Variable Function ReturnValue 24
15: 12 Load 14(g_tTex1df4) FunctionEnd
27: 26(ptr) AccessChain 22 23 25 12(getOffset2(): 10(ivec2) Function None 11
28: 16(int) Load 27 13: Label
30: 26(ptr) AccessChain 22 23 29 ReturnValue 27
31: 16(int) Load 30 FunctionEnd
33: 26(ptr) AccessChain 22 32 16(getOffset3(): 14(ivec3) Function None 15
34: 16(int) Load 33 17: Label
35: 7(fvec4) ImageFetch 15 28 Lod Offset 31 34 ReturnValue 30
39: 36 Load 38(g_tTex1di4) FunctionEnd
40: 26(ptr) AccessChain 22 23 25 22(@main():20(PS_OUTPUT) Function None 21
41: 16(int) Load 40 23: Label
42: 26(ptr) AccessChain 22 23 29 145(psout): 144(ptr) Variable Function
43: 16(int) Load 42 36: 33 Load 35(g_tTex1df4)
44: 26(ptr) AccessChain 22 32 44: 43(ptr) AccessChain 40 24 42
45: 16(int) Load 44 45: 6(int) Load 44
46: 19(ivec4) ImageFetch 39 41 Lod Offset 43 45 47: 43(ptr) AccessChain 40 24 46
50: 47 Load 49(g_tTex1du4) 48: 6(int) Load 47
51: 26(ptr) AccessChain 22 23 25 49: 6(int) FunctionCall 8(getOffset1()
52: 16(int) Load 51 50: 19(fvec4) ImageFetch 36 45 Lod Offset 48 49
53: 26(ptr) AccessChain 22 23 29 54: 51 Load 53(g_tTex1di4)
54: 16(int) Load 53 55: 43(ptr) AccessChain 40 24 42
55: 26(ptr) AccessChain 22 32 56: 6(int) Load 55
56: 16(int) Load 55 57: 43(ptr) AccessChain 40 24 46
58: 57(ivec4) ImageFetch 50 52 Lod Offset 54 56 58: 6(int) Load 57
62: 59 Load 61(g_tTex2df4) 59: 6(int) FunctionCall 8(getOffset1()
65: 64(ptr) AccessChain 22 63 60: 37(ivec4) ImageFetch 54 56 Lod Offset 58 59
66: 18(ivec3) Load 65 64: 61 Load 63(g_tTex1du4)
67: 17(ivec2) VectorShuffle 66 66 0 1 65: 43(ptr) AccessChain 40 24 42
69: 26(ptr) AccessChain 22 63 68 66: 6(int) Load 65
70: 16(int) Load 69 67: 43(ptr) AccessChain 40 24 46
73: 72(ptr) AccessChain 22 71 68: 6(int) Load 67
74: 17(ivec2) Load 73 69: 6(int) FunctionCall 8(getOffset1()
75: 7(fvec4) ImageFetch 62 67 Lod Offset 70 74 71: 70(ivec4) ImageFetch 64 66 Lod Offset 68 69
79: 76 Load 78(g_tTex2di4) 75: 72 Load 74(g_tTex2df4)
80: 64(ptr) AccessChain 22 63 78: 77(ptr) AccessChain 40 76
81: 18(ivec3) Load 80 79: 14(ivec3) Load 78
82: 17(ivec2) VectorShuffle 81 81 0 1 80: 10(ivec2) VectorShuffle 79 79 0 1
83: 26(ptr) AccessChain 22 63 68 82: 43(ptr) AccessChain 40 76 81
84: 16(int) Load 83 83: 6(int) Load 82
85: 72(ptr) AccessChain 22 71 84: 10(ivec2) FunctionCall 12(getOffset2()
86: 17(ivec2) Load 85 85: 19(fvec4) ImageFetch 75 80 Lod Offset 83 84
87: 19(ivec4) ImageFetch 79 82 Lod Offset 84 86 89: 86 Load 88(g_tTex2di4)
91: 88 Load 90(g_tTex2du4) 90: 77(ptr) AccessChain 40 76
92: 64(ptr) AccessChain 22 63 91: 14(ivec3) Load 90
93: 18(ivec3) Load 92 92: 10(ivec2) VectorShuffle 91 91 0 1
94: 17(ivec2) VectorShuffle 93 93 0 1 93: 43(ptr) AccessChain 40 76 81
95: 26(ptr) AccessChain 22 63 68 94: 6(int) Load 93
96: 16(int) Load 95 95: 10(ivec2) FunctionCall 12(getOffset2()
97: 72(ptr) AccessChain 22 71 96: 37(ivec4) ImageFetch 89 92 Lod Offset 94 95
98: 17(ivec2) Load 97 100: 97 Load 99(g_tTex2du4)
99: 57(ivec4) ImageFetch 91 94 Lod Offset 96 98 101: 77(ptr) AccessChain 40 76
103: 100 Load 102(g_tTex3df4) 102: 14(ivec3) Load 101
106: 105(ptr) AccessChain 22 104 103: 10(ivec2) VectorShuffle 102 102 0 1
107: 19(ivec4) Load 106 104: 43(ptr) AccessChain 40 76 81
108: 18(ivec3) VectorShuffle 107 107 0 1 2 105: 6(int) Load 104
110: 26(ptr) AccessChain 22 104 109 106: 10(ivec2) FunctionCall 12(getOffset2()
111: 16(int) Load 110 107: 70(ivec4) ImageFetch 100 103 Lod Offset 105 106
113: 64(ptr) AccessChain 22 112 111: 108 Load 110(g_tTex3df4)
114: 18(ivec3) Load 113 114: 113(ptr) AccessChain 40 112
115: 7(fvec4) ImageFetch 103 108 Lod Offset 111 114 115: 37(ivec4) Load 114
119: 116 Load 118(g_tTex3di4) 116: 14(ivec3) VectorShuffle 115 115 0 1 2
120: 105(ptr) AccessChain 22 104 118: 43(ptr) AccessChain 40 112 117
121: 19(ivec4) Load 120 119: 6(int) Load 118
122: 18(ivec3) VectorShuffle 121 121 0 1 2 120: 14(ivec3) FunctionCall 16(getOffset3()
123: 26(ptr) AccessChain 22 104 109 121: 19(fvec4) ImageFetch 111 116 Lod Offset 119 120
124: 16(int) Load 123 125: 122 Load 124(g_tTex3di4)
125: 64(ptr) AccessChain 22 112 126: 113(ptr) AccessChain 40 112
126: 18(ivec3) Load 125 127: 37(ivec4) Load 126
127: 19(ivec4) ImageFetch 119 122 Lod Offset 124 126 128: 14(ivec3) VectorShuffle 127 127 0 1 2
131: 128 Load 130(g_tTex3du4) 129: 43(ptr) AccessChain 40 112 117
132: 105(ptr) AccessChain 22 104 130: 6(int) Load 129
133: 19(ivec4) Load 132 131: 14(ivec3) FunctionCall 16(getOffset3()
134: 18(ivec3) VectorShuffle 133 133 0 1 2 132: 37(ivec4) ImageFetch 125 128 Lod Offset 130 131
135: 26(ptr) AccessChain 22 104 109 136: 133 Load 135(g_tTex3du4)
136: 16(int) Load 135 137: 113(ptr) AccessChain 40 112
137: 64(ptr) AccessChain 22 112 138: 37(ivec4) Load 137
138: 18(ivec3) Load 137 139: 14(ivec3) VectorShuffle 138 138 0 1 2
139: 57(ivec4) ImageFetch 131 134 Lod Offset 136 138 140: 43(ptr) AccessChain 40 112 117
146: 145(ptr) AccessChain 141(psout) 142 141: 6(int) Load 140
Store 146 144 142: 14(ivec3) FunctionCall 16(getOffset3()
148: 147(ptr) AccessChain 141(psout) 23 143: 70(ivec4) ImageFetch 136 139 Lod Offset 141 142
Store 148 143 150: 149(ptr) AccessChain 145(psout) 146
149:8(PS_OUTPUT) Load 141(psout) Store 150 148
ReturnValue 149 152: 151(ptr) AccessChain 145(psout) 24
Store 152 147
153:20(PS_OUTPUT) Load 145(psout)
ReturnValue 153
FunctionEnd FunctionEnd
...@@ -3,191 +3,186 @@ Shader version: 500 ...@@ -3,191 +3,186 @@ Shader version: 500
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
using depth_any using depth_any
0:? Sequence 0:? Sequence
0:48 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:43 Function Definition: getOffset1( ( temp int)
0:43 Function Parameters:
0:? Sequence
0:44 Branch: Return with expression
0:44 Constant:
0:44 1 (const int)
0:48 Function Definition: getOffset2( ( temp 2-component vector of int)
0:48 Function Parameters: 0:48 Function Parameters:
0:? Sequence 0:? Sequence
0:52 textureFetchOffset ( temp 4-component vector of float) 0:49 Branch: Return with expression
0:52 'g_tTex1df4a' ( uniform texture1DArray) 0:49 Constant:
0:52 vector swizzle ( temp 2-component vector of int) 0:49 1 (const int)
0:52 c3: direct index for structure ( uniform 3-component vector of int) 0:49 1 (const int)
0:52 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:53 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:52 Constant: 0:53 Function Parameters:
0:52 2 (const uint) 0:? Sequence
0:52 Sequence
0:52 Constant:
0:52 0 (const int)
0:52 Constant:
0:52 1 (const int)
0:52 direct index ( temp int)
0:52 c3: direct index for structure ( uniform 3-component vector of int)
0:52 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:52 Constant:
0:52 2 (const uint)
0:52 Constant:
0:52 2 (const int)
0:52 o1: direct index for structure ( uniform int)
0:52 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:52 Constant:
0:52 4 (const uint)
0:53 textureFetchOffset ( temp 4-component vector of int)
0:53 'g_tTex1di4a' ( uniform itexture1DArray)
0:53 vector swizzle ( temp 2-component vector of int)
0:53 c3: direct index for structure ( uniform 3-component vector of int)
0:53 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:53 Constant:
0:53 2 (const uint)
0:53 Sequence
0:53 Constant:
0:53 0 (const int)
0:53 Constant:
0:53 1 (const int)
0:53 direct index ( temp int)
0:53 c3: direct index for structure ( uniform 3-component vector of int)
0:53 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:53 Constant:
0:53 2 (const uint)
0:53 Constant:
0:53 2 (const int)
0:53 o1: direct index for structure ( uniform int)
0:53 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:53 Constant:
0:53 4 (const uint)
0:54 textureFetchOffset ( temp 4-component vector of uint)
0:54 'g_tTex1du4a' ( uniform utexture1DArray)
0:54 vector swizzle ( temp 2-component vector of int)
0:54 c3: direct index for structure ( uniform 3-component vector of int)
0:54 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:54 Constant:
0:54 2 (const uint)
0:54 Sequence
0:54 Constant:
0:54 0 (const int)
0:54 Constant:
0:54 1 (const int)
0:54 direct index ( temp int)
0:54 c3: direct index for structure ( uniform 3-component vector of int)
0:54 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:54 Constant:
0:54 2 (const uint)
0:54 Constant:
0:54 2 (const int)
0:54 o1: direct index for structure ( uniform int)
0:54 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:54 Constant:
0:54 4 (const uint)
0:57 textureFetchOffset ( temp 4-component vector of float) 0:57 textureFetchOffset ( temp 4-component vector of float)
0:57 'g_tTex2df4a' ( uniform texture2DArray) 0:57 'g_tTex1df4a' ( uniform texture1DArray)
0:57 vector swizzle ( temp 3-component vector of int) 0:57 vector swizzle ( temp 2-component vector of int)
0:57 c4: direct index for structure ( uniform 4-component vector of int) 0:57 c3: direct index for structure ( uniform 3-component vector of int)
0:57 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:57 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:57 Constant: 0:57 Constant:
0:57 3 (const uint) 0:57 2 (const uint)
0:57 Sequence 0:57 Sequence
0:57 Constant: 0:57 Constant:
0:57 0 (const int) 0:57 0 (const int)
0:57 Constant: 0:57 Constant:
0:57 1 (const int) 0:57 1 (const int)
0:57 Constant:
0:57 2 (const int)
0:57 direct index ( temp int) 0:57 direct index ( temp int)
0:57 c4: direct index for structure ( uniform 4-component vector of int) 0:57 c3: direct index for structure ( uniform 3-component vector of int)
0:57 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:57 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:57 Constant:
0:57 3 (const uint)
0:57 Constant: 0:57 Constant:
0:57 3 (const int) 0:57 2 (const uint)
0:57 o2: direct index for structure ( uniform 2-component vector of int)
0:57 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:57 Constant: 0:57 Constant:
0:57 5 (const uint) 0:57 2 (const int)
0:57 Function Call: getOffset1( ( temp int)
0:58 textureFetchOffset ( temp 4-component vector of int) 0:58 textureFetchOffset ( temp 4-component vector of int)
0:58 'g_tTex2di4a' ( uniform itexture2DArray) 0:58 'g_tTex1di4a' ( uniform itexture1DArray)
0:58 vector swizzle ( temp 3-component vector of int) 0:58 vector swizzle ( temp 2-component vector of int)
0:58 c4: direct index for structure ( uniform 4-component vector of int) 0:58 c3: direct index for structure ( uniform 3-component vector of int)
0:58 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:58 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:58 Constant: 0:58 Constant:
0:58 3 (const uint) 0:58 2 (const uint)
0:58 Sequence 0:58 Sequence
0:58 Constant: 0:58 Constant:
0:58 0 (const int) 0:58 0 (const int)
0:58 Constant: 0:58 Constant:
0:58 1 (const int) 0:58 1 (const int)
0:58 Constant:
0:58 2 (const int)
0:58 direct index ( temp int) 0:58 direct index ( temp int)
0:58 c4: direct index for structure ( uniform 4-component vector of int) 0:58 c3: direct index for structure ( uniform 3-component vector of int)
0:58 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:58 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:58 Constant: 0:58 Constant:
0:58 3 (const uint) 0:58 2 (const uint)
0:58 Constant: 0:58 Constant:
0:58 3 (const int) 0:58 2 (const int)
0:58 o2: direct index for structure ( uniform 2-component vector of int) 0:58 Function Call: getOffset1( ( temp int)
0:58 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:58 Constant:
0:58 5 (const uint)
0:59 textureFetchOffset ( temp 4-component vector of uint) 0:59 textureFetchOffset ( temp 4-component vector of uint)
0:59 'g_tTex2du4a' ( uniform utexture2DArray) 0:59 'g_tTex1du4a' ( uniform utexture1DArray)
0:59 vector swizzle ( temp 3-component vector of int) 0:59 vector swizzle ( temp 2-component vector of int)
0:59 c4: direct index for structure ( uniform 4-component vector of int) 0:59 c3: direct index for structure ( uniform 3-component vector of int)
0:59 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:59 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:59 Constant: 0:59 Constant:
0:59 3 (const uint) 0:59 2 (const uint)
0:59 Sequence 0:59 Sequence
0:59 Constant: 0:59 Constant:
0:59 0 (const int) 0:59 0 (const int)
0:59 Constant: 0:59 Constant:
0:59 1 (const int) 0:59 1 (const int)
0:59 Constant:
0:59 2 (const int)
0:59 direct index ( temp int) 0:59 direct index ( temp int)
0:59 c4: direct index for structure ( uniform 4-component vector of int) 0:59 c3: direct index for structure ( uniform 3-component vector of int)
0:59 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:59 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:59 Constant: 0:59 Constant:
0:59 3 (const uint) 0:59 2 (const uint)
0:59 Constant: 0:59 Constant:
0:59 3 (const int) 0:59 2 (const int)
0:59 o2: direct index for structure ( uniform 2-component vector of int) 0:59 Function Call: getOffset1( ( temp int)
0:59 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:62 textureFetchOffset ( temp 4-component vector of float)
0:59 Constant: 0:62 'g_tTex2df4a' ( uniform texture2DArray)
0:59 5 (const uint) 0:62 vector swizzle ( temp 3-component vector of int)
0:65 move second child to first child ( temp 4-component vector of float) 0:62 c4: direct index for structure ( uniform 4-component vector of int)
0:65 Color: direct index for structure ( temp 4-component vector of float) 0:62 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:65 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:62 Constant:
0:65 Constant: 0:62 3 (const uint)
0:65 0 (const int) 0:62 Sequence
0:65 Constant: 0:62 Constant:
0:65 1.000000 0:62 0 (const int)
0:65 1.000000 0:62 Constant:
0:65 1.000000 0:62 1 (const int)
0:65 1.000000 0:62 Constant:
0:66 move second child to first child ( temp float) 0:62 2 (const int)
0:66 Depth: direct index for structure ( temp float) 0:62 direct index ( temp int)
0:66 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:62 c4: direct index for structure ( uniform 4-component vector of int)
0:66 Constant: 0:62 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:66 1 (const int) 0:62 Constant:
0:66 Constant: 0:62 3 (const uint)
0:66 1.000000 0:62 Constant:
0:68 Branch: Return with expression 0:62 3 (const int)
0:68 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:62 Function Call: getOffset2( ( temp 2-component vector of int)
0:48 Function Definition: main( ( temp void) 0:63 textureFetchOffset ( temp 4-component vector of int)
0:48 Function Parameters: 0:63 'g_tTex2di4a' ( uniform itexture2DArray)
0:63 vector swizzle ( temp 3-component vector of int)
0:63 c4: direct index for structure ( uniform 4-component vector of int)
0:63 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:63 Constant:
0:63 3 (const uint)
0:63 Sequence
0:63 Constant:
0:63 0 (const int)
0:63 Constant:
0:63 1 (const int)
0:63 Constant:
0:63 2 (const int)
0:63 direct index ( temp int)
0:63 c4: direct index for structure ( uniform 4-component vector of int)
0:63 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:63 Constant:
0:63 3 (const uint)
0:63 Constant:
0:63 3 (const int)
0:63 Function Call: getOffset2( ( temp 2-component vector of int)
0:64 textureFetchOffset ( temp 4-component vector of uint)
0:64 'g_tTex2du4a' ( uniform utexture2DArray)
0:64 vector swizzle ( temp 3-component vector of int)
0:64 c4: direct index for structure ( uniform 4-component vector of int)
0:64 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:64 Constant:
0:64 3 (const uint)
0:64 Sequence
0:64 Constant:
0:64 0 (const int)
0:64 Constant:
0:64 1 (const int)
0:64 Constant:
0:64 2 (const int)
0:64 direct index ( temp int)
0:64 c4: direct index for structure ( uniform 4-component vector of int)
0:64 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:64 Constant:
0:64 3 (const uint)
0:64 Constant:
0:64 3 (const int)
0:64 Function Call: getOffset2( ( temp 2-component vector of int)
0:70 move second child to first child ( temp 4-component vector of float)
0:70 Color: direct index for structure ( temp 4-component vector of float)
0:70 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:70 Constant:
0:70 0 (const int)
0:70 Constant:
0:70 1.000000
0:70 1.000000
0:70 1.000000
0:70 1.000000
0:71 move second child to first child ( temp float)
0:71 Depth: direct index for structure ( temp float)
0:71 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:71 Constant:
0:71 1 (const int)
0:71 Constant:
0:71 1.000000
0:73 Branch: Return with expression
0:73 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:53 Function Definition: main( ( temp void)
0:53 Function Parameters:
0:? Sequence 0:? Sequence
0:48 Sequence 0:53 Sequence
0:48 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:53 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:48 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:53 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:48 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:53 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:48 move second child to first child ( temp 4-component vector of float) 0:53 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:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
0:48 Color: direct index for structure ( temp 4-component vector of float) 0:53 Color: direct index for structure ( temp 4-component vector of float)
0:48 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:53 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:48 Constant: 0:53 Constant:
0:48 0 (const int) 0:53 0 (const int)
0:48 move second child to first child ( temp float) 0:53 move second child to first child ( temp float)
0:? '@entryPointOutput.Depth' ( out float FragDepth) 0:? '@entryPointOutput.Depth' ( out float FragDepth)
0:48 Depth: direct index for structure ( temp float) 0:53 Depth: direct index for structure ( temp float)
0:48 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:53 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:48 Constant: 0:53 Constant:
0:48 1 (const int) 0:53 1 (const int)
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout( binding=0) uniform sampler) 0:? 'g_sSamp' (layout( binding=0) uniform sampler)
0:? 'g_tTex1df4' (layout( binding=0) uniform texture1D) 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1D)
...@@ -211,7 +206,7 @@ using depth_any ...@@ -211,7 +206,7 @@ using depth_any
0:? 'g_tTexcdf4a' ( uniform textureCubeArray) 0:? 'g_tTexcdf4a' ( uniform textureCubeArray)
0:? 'g_tTexcdi4a' ( uniform itextureCubeArray) 0:? 'g_tTexcdi4a' ( uniform itextureCubeArray)
0:? 'g_tTexcdu4a' ( uniform utextureCubeArray) 0:? 'g_tTexcdu4a' ( uniform utextureCubeArray)
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:? '@entryPointOutput.Depth' ( out float FragDepth) 0:? '@entryPointOutput.Depth' ( out float FragDepth)
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
...@@ -223,191 +218,186 @@ Shader version: 500 ...@@ -223,191 +218,186 @@ Shader version: 500
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
using depth_any using depth_any
0:? Sequence 0:? Sequence
0:48 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:43 Function Definition: getOffset1( ( temp int)
0:43 Function Parameters:
0:? Sequence
0:44 Branch: Return with expression
0:44 Constant:
0:44 1 (const int)
0:48 Function Definition: getOffset2( ( temp 2-component vector of int)
0:48 Function Parameters: 0:48 Function Parameters:
0:? Sequence 0:? Sequence
0:52 textureFetchOffset ( temp 4-component vector of float) 0:49 Branch: Return with expression
0:52 'g_tTex1df4a' ( uniform texture1DArray) 0:49 Constant:
0:52 vector swizzle ( temp 2-component vector of int) 0:49 1 (const int)
0:52 c3: direct index for structure ( uniform 3-component vector of int) 0:49 1 (const int)
0:52 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:53 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:52 Constant: 0:53 Function Parameters:
0:52 2 (const uint) 0:? Sequence
0:52 Sequence
0:52 Constant:
0:52 0 (const int)
0:52 Constant:
0:52 1 (const int)
0:52 direct index ( temp int)
0:52 c3: direct index for structure ( uniform 3-component vector of int)
0:52 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:52 Constant:
0:52 2 (const uint)
0:52 Constant:
0:52 2 (const int)
0:52 o1: direct index for structure ( uniform int)
0:52 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:52 Constant:
0:52 4 (const uint)
0:53 textureFetchOffset ( temp 4-component vector of int)
0:53 'g_tTex1di4a' ( uniform itexture1DArray)
0:53 vector swizzle ( temp 2-component vector of int)
0:53 c3: direct index for structure ( uniform 3-component vector of int)
0:53 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:53 Constant:
0:53 2 (const uint)
0:53 Sequence
0:53 Constant:
0:53 0 (const int)
0:53 Constant:
0:53 1 (const int)
0:53 direct index ( temp int)
0:53 c3: direct index for structure ( uniform 3-component vector of int)
0:53 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:53 Constant:
0:53 2 (const uint)
0:53 Constant:
0:53 2 (const int)
0:53 o1: direct index for structure ( uniform int)
0:53 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:53 Constant:
0:53 4 (const uint)
0:54 textureFetchOffset ( temp 4-component vector of uint)
0:54 'g_tTex1du4a' ( uniform utexture1DArray)
0:54 vector swizzle ( temp 2-component vector of int)
0:54 c3: direct index for structure ( uniform 3-component vector of int)
0:54 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:54 Constant:
0:54 2 (const uint)
0:54 Sequence
0:54 Constant:
0:54 0 (const int)
0:54 Constant:
0:54 1 (const int)
0:54 direct index ( temp int)
0:54 c3: direct index for structure ( uniform 3-component vector of int)
0:54 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:54 Constant:
0:54 2 (const uint)
0:54 Constant:
0:54 2 (const int)
0:54 o1: direct index for structure ( uniform int)
0:54 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:54 Constant:
0:54 4 (const uint)
0:57 textureFetchOffset ( temp 4-component vector of float) 0:57 textureFetchOffset ( temp 4-component vector of float)
0:57 'g_tTex2df4a' ( uniform texture2DArray) 0:57 'g_tTex1df4a' ( uniform texture1DArray)
0:57 vector swizzle ( temp 3-component vector of int) 0:57 vector swizzle ( temp 2-component vector of int)
0:57 c4: direct index for structure ( uniform 4-component vector of int) 0:57 c3: direct index for structure ( uniform 3-component vector of int)
0:57 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:57 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:57 Constant: 0:57 Constant:
0:57 3 (const uint) 0:57 2 (const uint)
0:57 Sequence 0:57 Sequence
0:57 Constant: 0:57 Constant:
0:57 0 (const int) 0:57 0 (const int)
0:57 Constant: 0:57 Constant:
0:57 1 (const int) 0:57 1 (const int)
0:57 Constant:
0:57 2 (const int)
0:57 direct index ( temp int) 0:57 direct index ( temp int)
0:57 c4: direct index for structure ( uniform 4-component vector of int) 0:57 c3: direct index for structure ( uniform 3-component vector of int)
0:57 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:57 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:57 Constant: 0:57 Constant:
0:57 3 (const uint) 0:57 2 (const uint)
0:57 Constant: 0:57 Constant:
0:57 3 (const int) 0:57 2 (const int)
0:57 o2: direct index for structure ( uniform 2-component vector of int) 0:57 Function Call: getOffset1( ( temp int)
0:57 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:57 Constant:
0:57 5 (const uint)
0:58 textureFetchOffset ( temp 4-component vector of int) 0:58 textureFetchOffset ( temp 4-component vector of int)
0:58 'g_tTex2di4a' ( uniform itexture2DArray) 0:58 'g_tTex1di4a' ( uniform itexture1DArray)
0:58 vector swizzle ( temp 3-component vector of int) 0:58 vector swizzle ( temp 2-component vector of int)
0:58 c4: direct index for structure ( uniform 4-component vector of int) 0:58 c3: direct index for structure ( uniform 3-component vector of int)
0:58 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:58 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:58 Constant: 0:58 Constant:
0:58 3 (const uint) 0:58 2 (const uint)
0:58 Sequence 0:58 Sequence
0:58 Constant: 0:58 Constant:
0:58 0 (const int) 0:58 0 (const int)
0:58 Constant: 0:58 Constant:
0:58 1 (const int) 0:58 1 (const int)
0:58 Constant:
0:58 2 (const int)
0:58 direct index ( temp int) 0:58 direct index ( temp int)
0:58 c4: direct index for structure ( uniform 4-component vector of int) 0:58 c3: direct index for structure ( uniform 3-component vector of int)
0:58 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:58 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:58 Constant:
0:58 3 (const uint)
0:58 Constant: 0:58 Constant:
0:58 3 (const int) 0:58 2 (const uint)
0:58 o2: direct index for structure ( uniform 2-component vector of int)
0:58 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:58 Constant: 0:58 Constant:
0:58 5 (const uint) 0:58 2 (const int)
0:58 Function Call: getOffset1( ( temp int)
0:59 textureFetchOffset ( temp 4-component vector of uint) 0:59 textureFetchOffset ( temp 4-component vector of uint)
0:59 'g_tTex2du4a' ( uniform utexture2DArray) 0:59 'g_tTex1du4a' ( uniform utexture1DArray)
0:59 vector swizzle ( temp 3-component vector of int) 0:59 vector swizzle ( temp 2-component vector of int)
0:59 c4: direct index for structure ( uniform 4-component vector of int) 0:59 c3: direct index for structure ( uniform 3-component vector of int)
0:59 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:59 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:59 Constant: 0:59 Constant:
0:59 3 (const uint) 0:59 2 (const uint)
0:59 Sequence 0:59 Sequence
0:59 Constant: 0:59 Constant:
0:59 0 (const int) 0:59 0 (const int)
0:59 Constant: 0:59 Constant:
0:59 1 (const int) 0:59 1 (const int)
0:59 Constant:
0:59 2 (const int)
0:59 direct index ( temp int) 0:59 direct index ( temp int)
0:59 c4: direct index for structure ( uniform 4-component vector of int) 0:59 c3: direct index for structure ( uniform 3-component vector of int)
0:59 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:59 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:59 Constant:
0:59 3 (const uint)
0:59 Constant: 0:59 Constant:
0:59 3 (const int) 0:59 2 (const uint)
0:59 o2: direct index for structure ( uniform 2-component vector of int)
0:59 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
0:59 Constant: 0:59 Constant:
0:59 5 (const uint) 0:59 2 (const int)
0:65 move second child to first child ( temp 4-component vector of float) 0:59 Function Call: getOffset1( ( temp int)
0:65 Color: direct index for structure ( temp 4-component vector of float) 0:62 textureFetchOffset ( temp 4-component vector of float)
0:65 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:62 'g_tTex2df4a' ( uniform texture2DArray)
0:65 Constant: 0:62 vector swizzle ( temp 3-component vector of int)
0:65 0 (const int) 0:62 c4: direct index for structure ( uniform 4-component vector of int)
0:65 Constant: 0:62 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:65 1.000000 0:62 Constant:
0:65 1.000000 0:62 3 (const uint)
0:65 1.000000 0:62 Sequence
0:65 1.000000 0:62 Constant:
0:66 move second child to first child ( temp float) 0:62 0 (const int)
0:66 Depth: direct index for structure ( temp float) 0:62 Constant:
0:66 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:62 1 (const int)
0:66 Constant: 0:62 Constant:
0:66 1 (const int) 0:62 2 (const int)
0:66 Constant: 0:62 direct index ( temp int)
0:66 1.000000 0:62 c4: direct index for structure ( uniform 4-component vector of int)
0:68 Branch: Return with expression 0:62 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:68 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:62 Constant:
0:48 Function Definition: main( ( temp void) 0:62 3 (const uint)
0:48 Function Parameters: 0:62 Constant:
0:62 3 (const int)
0:62 Function Call: getOffset2( ( temp 2-component vector of int)
0:63 textureFetchOffset ( temp 4-component vector of int)
0:63 'g_tTex2di4a' ( uniform itexture2DArray)
0:63 vector swizzle ( temp 3-component vector of int)
0:63 c4: direct index for structure ( uniform 4-component vector of int)
0:63 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:63 Constant:
0:63 3 (const uint)
0:63 Sequence
0:63 Constant:
0:63 0 (const int)
0:63 Constant:
0:63 1 (const int)
0:63 Constant:
0:63 2 (const int)
0:63 direct index ( temp int)
0:63 c4: direct index for structure ( uniform 4-component vector of int)
0:63 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:63 Constant:
0:63 3 (const uint)
0:63 Constant:
0:63 3 (const int)
0:63 Function Call: getOffset2( ( temp 2-component vector of int)
0:64 textureFetchOffset ( temp 4-component vector of uint)
0:64 'g_tTex2du4a' ( uniform utexture2DArray)
0:64 vector swizzle ( temp 3-component vector of int)
0:64 c4: direct index for structure ( uniform 4-component vector of int)
0:64 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:64 Constant:
0:64 3 (const uint)
0:64 Sequence
0:64 Constant:
0:64 0 (const int)
0:64 Constant:
0:64 1 (const int)
0:64 Constant:
0:64 2 (const int)
0:64 direct index ( temp int)
0:64 c4: direct index for structure ( uniform 4-component vector of int)
0:64 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:64 Constant:
0:64 3 (const uint)
0:64 Constant:
0:64 3 (const int)
0:64 Function Call: getOffset2( ( temp 2-component vector of int)
0:70 move second child to first child ( temp 4-component vector of float)
0:70 Color: direct index for structure ( temp 4-component vector of float)
0:70 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:70 Constant:
0:70 0 (const int)
0:70 Constant:
0:70 1.000000
0:70 1.000000
0:70 1.000000
0:70 1.000000
0:71 move second child to first child ( temp float)
0:71 Depth: direct index for structure ( temp float)
0:71 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:71 Constant:
0:71 1 (const int)
0:71 Constant:
0:71 1.000000
0:73 Branch: Return with expression
0:73 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:53 Function Definition: main( ( temp void)
0:53 Function Parameters:
0:? Sequence 0:? Sequence
0:48 Sequence 0:53 Sequence
0:48 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:53 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:48 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:53 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:48 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:53 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:48 move second child to first child ( temp 4-component vector of float) 0:53 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:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
0:48 Color: direct index for structure ( temp 4-component vector of float) 0:53 Color: direct index for structure ( temp 4-component vector of float)
0:48 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:53 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:48 Constant: 0:53 Constant:
0:48 0 (const int) 0:53 0 (const int)
0:48 move second child to first child ( temp float) 0:53 move second child to first child ( temp float)
0:? '@entryPointOutput.Depth' ( out float FragDepth) 0:? '@entryPointOutput.Depth' ( out float FragDepth)
0:48 Depth: direct index for structure ( temp float) 0:53 Depth: direct index for structure ( temp float)
0:48 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:53 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
0:48 Constant: 0:53 Constant:
0:48 1 (const int) 0:53 1 (const int)
0:? Linker Objects 0:? Linker Objects
0:? 'g_sSamp' (layout( binding=0) uniform sampler) 0:? 'g_sSamp' (layout( binding=0) uniform sampler)
0:? 'g_tTex1df4' (layout( binding=0) uniform texture1D) 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1D)
...@@ -431,14 +421,13 @@ using depth_any ...@@ -431,14 +421,13 @@ using depth_any
0:? 'g_tTexcdf4a' ( uniform textureCubeArray) 0:? 'g_tTexcdf4a' ( uniform textureCubeArray)
0:? 'g_tTexcdi4a' ( uniform itextureCubeArray) 0:? 'g_tTexcdi4a' ( uniform itextureCubeArray)
0:? 'g_tTexcdu4a' ( uniform utextureCubeArray) 0:? 'g_tTexcdu4a' ( uniform utextureCubeArray)
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4}) 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4})
0:? '@entryPointOutput.Depth' ( out float FragDepth) 0:? '@entryPointOutput.Depth' ( out float FragDepth)
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
Validation failed
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 8000a // Generated by (magic number): 8000a
// Id's are bound by 174 // Id's are bound by 176
Capability Shader Capability Shader
Capability ImageGatherExtended Capability ImageGatherExtended
...@@ -446,284 +435,280 @@ Validation failed ...@@ -446,284 +435,280 @@ Validation failed
Capability SampledCubeArray Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 119 123 EntryPoint Fragment 4 "main" 121 125
ExecutionMode 4 OriginUpperLeft ExecutionMode 4 OriginUpperLeft
ExecutionMode 4 DepthReplacing ExecutionMode 4 DepthReplacing
Source HLSL 500 Source HLSL 500
Name 4 "main" Name 4 "main"
Name 8 "PS_OUTPUT" Name 8 "getOffset1("
MemberName 8(PS_OUTPUT) 0 "Color" Name 12 "getOffset2("
MemberName 8(PS_OUTPUT) 1 "Depth" Name 16 "PS_OUTPUT"
Name 10 "@main(" MemberName 16(PS_OUTPUT) 0 "Color"
Name 14 "g_tTex1df4a" MemberName 16(PS_OUTPUT) 1 "Depth"
Name 20 "$Global" Name 18 "@main("
MemberName 20($Global) 0 "c1" Name 28 "g_tTex1df4a"
MemberName 20($Global) 1 "c2" Name 32 "$Global"
MemberName 20($Global) 2 "c3" MemberName 32($Global) 0 "c1"
MemberName 20($Global) 3 "c4" MemberName 32($Global) 1 "c2"
MemberName 20($Global) 4 "o1" MemberName 32($Global) 2 "c3"
MemberName 20($Global) 5 "o2" MemberName 32($Global) 3 "c4"
MemberName 20($Global) 6 "o3" Name 34 ""
MemberName 20($Global) 7 "o4" Name 49 "g_tTex1di4a"
Name 22 "" Name 60 "g_tTex1du4a"
Name 39 "g_tTex1di4a" Name 72 "g_tTex2df4a"
Name 51 "g_tTex1du4a" Name 86 "g_tTex2di4a"
Name 64 "g_tTex2df4a" Name 97 "g_tTex2du4a"
Name 81 "g_tTex2di4a" Name 107 "psout"
Name 93 "g_tTex2du4a" Name 118 "flattenTemp"
Name 104 "psout" Name 121 "@entryPointOutput.Color"
Name 116 "flattenTemp" Name 125 "@entryPointOutput.Depth"
Name 119 "@entryPointOutput.Color" Name 130 "g_sSamp"
Name 123 "@entryPointOutput.Depth" Name 133 "g_tTex1df4"
Name 128 "g_sSamp" Name 136 "g_tTex1di4"
Name 131 "g_tTex1df4" Name 139 "g_tTex1du4"
Name 134 "g_tTex1di4" Name 142 "g_tTex2df4"
Name 137 "g_tTex1du4" Name 145 "g_tTex2di4"
Name 140 "g_tTex2df4" Name 148 "g_tTex2du4"
Name 143 "g_tTex2di4" Name 151 "g_tTex3df4"
Name 146 "g_tTex2du4" Name 154 "g_tTex3di4"
Name 149 "g_tTex3df4" Name 157 "g_tTex3du4"
Name 152 "g_tTex3di4" Name 160 "g_tTexcdf4"
Name 155 "g_tTex3du4" Name 163 "g_tTexcdi4"
Name 158 "g_tTexcdf4" Name 166 "g_tTexcdu4"
Name 161 "g_tTexcdi4" Name 169 "g_tTexcdf4a"
Name 164 "g_tTexcdu4" Name 172 "g_tTexcdi4a"
Name 167 "g_tTexcdf4a" Name 175 "g_tTexcdu4a"
Name 170 "g_tTexcdi4a" Decorate 28(g_tTex1df4a) DescriptorSet 0
Name 173 "g_tTexcdu4a" Decorate 28(g_tTex1df4a) Binding 1
Decorate 14(g_tTex1df4a) DescriptorSet 0 MemberDecorate 32($Global) 0 Offset 0
Decorate 14(g_tTex1df4a) Binding 1 MemberDecorate 32($Global) 1 Offset 8
MemberDecorate 20($Global) 0 Offset 0 MemberDecorate 32($Global) 2 Offset 16
MemberDecorate 20($Global) 1 Offset 8 MemberDecorate 32($Global) 3 Offset 32
MemberDecorate 20($Global) 2 Offset 16 Decorate 32($Global) Block
MemberDecorate 20($Global) 3 Offset 32 Decorate 34 DescriptorSet 0
MemberDecorate 20($Global) 4 Offset 48 Decorate 34 Binding 7
MemberDecorate 20($Global) 5 Offset 56 Decorate 49(g_tTex1di4a) DescriptorSet 0
MemberDecorate 20($Global) 6 Offset 64 Decorate 49(g_tTex1di4a) Binding 2
MemberDecorate 20($Global) 7 Offset 80 Decorate 60(g_tTex1du4a) DescriptorSet 0
Decorate 20($Global) Block Decorate 60(g_tTex1du4a) Binding 3
Decorate 22 DescriptorSet 0 Decorate 72(g_tTex2df4a) DescriptorSet 0
Decorate 22 Binding 7 Decorate 72(g_tTex2df4a) Binding 4
Decorate 39(g_tTex1di4a) DescriptorSet 0 Decorate 86(g_tTex2di4a) DescriptorSet 0
Decorate 39(g_tTex1di4a) Binding 2 Decorate 86(g_tTex2di4a) Binding 5
Decorate 51(g_tTex1du4a) DescriptorSet 0 Decorate 97(g_tTex2du4a) DescriptorSet 0
Decorate 51(g_tTex1du4a) Binding 3 Decorate 97(g_tTex2du4a) Binding 6
Decorate 64(g_tTex2df4a) DescriptorSet 0 Decorate 121(@entryPointOutput.Color) Location 0
Decorate 64(g_tTex2df4a) Binding 4 Decorate 125(@entryPointOutput.Depth) BuiltIn FragDepth
Decorate 81(g_tTex2di4a) DescriptorSet 0 Decorate 130(g_sSamp) DescriptorSet 0
Decorate 81(g_tTex2di4a) Binding 5 Decorate 130(g_sSamp) Binding 0
Decorate 93(g_tTex2du4a) DescriptorSet 0 Decorate 133(g_tTex1df4) DescriptorSet 0
Decorate 93(g_tTex2du4a) Binding 6 Decorate 133(g_tTex1df4) Binding 0
Decorate 119(@entryPointOutput.Color) Location 0 Decorate 136(g_tTex1di4) DescriptorSet 0
Decorate 123(@entryPointOutput.Depth) BuiltIn FragDepth Decorate 136(g_tTex1di4) Binding 0
Decorate 128(g_sSamp) DescriptorSet 0 Decorate 139(g_tTex1du4) DescriptorSet 0
Decorate 128(g_sSamp) Binding 0 Decorate 139(g_tTex1du4) Binding 0
Decorate 131(g_tTex1df4) DescriptorSet 0 Decorate 142(g_tTex2df4) DescriptorSet 0
Decorate 131(g_tTex1df4) Binding 0 Decorate 142(g_tTex2df4) Binding 0
Decorate 134(g_tTex1di4) DescriptorSet 0 Decorate 145(g_tTex2di4) DescriptorSet 0
Decorate 134(g_tTex1di4) Binding 0 Decorate 145(g_tTex2di4) Binding 0
Decorate 137(g_tTex1du4) DescriptorSet 0 Decorate 148(g_tTex2du4) DescriptorSet 0
Decorate 137(g_tTex1du4) Binding 0 Decorate 148(g_tTex2du4) Binding 0
Decorate 140(g_tTex2df4) DescriptorSet 0 Decorate 151(g_tTex3df4) DescriptorSet 0
Decorate 140(g_tTex2df4) Binding 0 Decorate 151(g_tTex3df4) Binding 0
Decorate 143(g_tTex2di4) DescriptorSet 0 Decorate 154(g_tTex3di4) DescriptorSet 0
Decorate 143(g_tTex2di4) Binding 0 Decorate 154(g_tTex3di4) Binding 0
Decorate 146(g_tTex2du4) DescriptorSet 0 Decorate 157(g_tTex3du4) DescriptorSet 0
Decorate 146(g_tTex2du4) Binding 0 Decorate 157(g_tTex3du4) Binding 0
Decorate 149(g_tTex3df4) DescriptorSet 0 Decorate 160(g_tTexcdf4) DescriptorSet 0
Decorate 149(g_tTex3df4) Binding 0 Decorate 160(g_tTexcdf4) Binding 0
Decorate 152(g_tTex3di4) DescriptorSet 0 Decorate 163(g_tTexcdi4) DescriptorSet 0
Decorate 152(g_tTex3di4) Binding 0 Decorate 163(g_tTexcdi4) Binding 0
Decorate 155(g_tTex3du4) DescriptorSet 0 Decorate 166(g_tTexcdu4) DescriptorSet 0
Decorate 155(g_tTex3du4) Binding 0 Decorate 166(g_tTexcdu4) Binding 0
Decorate 158(g_tTexcdf4) DescriptorSet 0 Decorate 169(g_tTexcdf4a) DescriptorSet 0
Decorate 158(g_tTexcdf4) Binding 0 Decorate 169(g_tTexcdf4a) Binding 0
Decorate 161(g_tTexcdi4) DescriptorSet 0 Decorate 172(g_tTexcdi4a) DescriptorSet 0
Decorate 161(g_tTexcdi4) Binding 0 Decorate 172(g_tTexcdi4a) Binding 0
Decorate 164(g_tTexcdu4) DescriptorSet 0 Decorate 175(g_tTexcdu4a) DescriptorSet 0
Decorate 164(g_tTexcdu4) Binding 0 Decorate 175(g_tTexcdu4a) Binding 0
Decorate 167(g_tTexcdf4a) DescriptorSet 0
Decorate 167(g_tTexcdf4a) Binding 0
Decorate 170(g_tTexcdi4a) DescriptorSet 0
Decorate 170(g_tTexcdi4a) Binding 0
Decorate 173(g_tTexcdu4a) DescriptorSet 0
Decorate 173(g_tTexcdu4a) Binding 0
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeInt 32 1
7: TypeVector 6(float) 4 7: TypeFunction 6(int)
8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float) 10: TypeVector 6(int) 2
9: TypeFunction 8(PS_OUTPUT) 11: TypeFunction 10(ivec2)
12: TypeImage 6(float) 1D array sampled format:Unknown 14: TypeFloat 32
13: TypePointer UniformConstant 12 15: TypeVector 14(float) 4
14(g_tTex1df4a): 13(ptr) Variable UniformConstant 16(PS_OUTPUT): TypeStruct 15(fvec4) 14(float)
16: TypeInt 32 1 17: TypeFunction 16(PS_OUTPUT)
17: TypeVector 16(int) 2 20: 6(int) Constant 1
18: TypeVector 16(int) 3 23: 10(ivec2) ConstantComposite 20 20
19: TypeVector 16(int) 4 26: TypeImage 14(float) 1D array sampled format:Unknown
20($Global): TypeStruct 16(int) 17(ivec2) 18(ivec3) 19(ivec4) 16(int) 17(ivec2) 18(ivec3) 19(ivec4) 27: TypePointer UniformConstant 26
21: TypePointer Uniform 20($Global) 28(g_tTex1df4a): 27(ptr) Variable UniformConstant
22: 21(ptr) Variable Uniform 30: TypeVector 6(int) 3
23: 16(int) Constant 2 31: TypeVector 6(int) 4
24: TypePointer Uniform 18(ivec3) 32($Global): TypeStruct 6(int) 10(ivec2) 30(ivec3) 31(ivec4)
28: TypeInt 32 0 33: TypePointer Uniform 32($Global)
29: 28(int) Constant 2 34: 33(ptr) Variable Uniform
30: TypePointer Uniform 16(int) 35: 6(int) Constant 2
33: 16(int) Constant 4 36: TypePointer Uniform 30(ivec3)
37: TypeImage 16(int) 1D array sampled format:Unknown 40: TypeInt 32 0
38: TypePointer UniformConstant 37 41: 40(int) Constant 2
39(g_tTex1di4a): 38(ptr) Variable UniformConstant 42: TypePointer Uniform 6(int)
49: TypeImage 28(int) 1D array sampled format:Unknown 47: TypeImage 6(int) 1D array sampled format:Unknown
50: TypePointer UniformConstant 49 48: TypePointer UniformConstant 47
51(g_tTex1du4a): 50(ptr) Variable UniformConstant 49(g_tTex1di4a): 48(ptr) Variable UniformConstant
60: TypeVector 28(int) 4 58: TypeImage 40(int) 1D array sampled format:Unknown
62: TypeImage 6(float) 2D array sampled format:Unknown 59: TypePointer UniformConstant 58
63: TypePointer UniformConstant 62 60(g_tTex1du4a): 59(ptr) Variable UniformConstant
64(g_tTex2df4a): 63(ptr) Variable UniformConstant 68: TypeVector 40(int) 4
66: 16(int) Constant 3 70: TypeImage 14(float) 2D array sampled format:Unknown
67: TypePointer Uniform 19(ivec4) 71: TypePointer UniformConstant 70
71: 28(int) Constant 3 72(g_tTex2df4a): 71(ptr) Variable UniformConstant
74: 16(int) Constant 5 74: 6(int) Constant 3
75: TypePointer Uniform 17(ivec2) 75: TypePointer Uniform 31(ivec4)
79: TypeImage 16(int) 2D array sampled format:Unknown 79: 40(int) Constant 3
80: TypePointer UniformConstant 79 84: TypeImage 6(int) 2D array sampled format:Unknown
81(g_tTex2di4a): 80(ptr) Variable UniformConstant 85: TypePointer UniformConstant 84
91: TypeImage 28(int) 2D array sampled format:Unknown 86(g_tTex2di4a): 85(ptr) Variable UniformConstant
92: TypePointer UniformConstant 91 95: TypeImage 40(int) 2D array sampled format:Unknown
93(g_tTex2du4a): 92(ptr) Variable UniformConstant 96: TypePointer UniformConstant 95
103: TypePointer Function 8(PS_OUTPUT) 97(g_tTex2du4a): 96(ptr) Variable UniformConstant
105: 16(int) Constant 0 106: TypePointer Function 16(PS_OUTPUT)
106: 6(float) Constant 1065353216 108: 6(int) Constant 0
107: 7(fvec4) ConstantComposite 106 106 106 106 109: 14(float) Constant 1065353216
108: TypePointer Function 7(fvec4) 110: 15(fvec4) ConstantComposite 109 109 109 109
110: 16(int) Constant 1 111: TypePointer Function 15(fvec4)
111: TypePointer Function 6(float) 113: TypePointer Function 14(float)
118: TypePointer Output 7(fvec4) 120: TypePointer Output 15(fvec4)
119(@entryPointOutput.Color): 118(ptr) Variable Output 121(@entryPointOutput.Color): 120(ptr) Variable Output
122: TypePointer Output 6(float) 124: TypePointer Output 14(float)
123(@entryPointOutput.Depth): 122(ptr) Variable Output 125(@entryPointOutput.Depth): 124(ptr) Variable Output
126: TypeSampler 128: TypeSampler
127: TypePointer UniformConstant 126 129: TypePointer UniformConstant 128
128(g_sSamp): 127(ptr) Variable UniformConstant 130(g_sSamp): 129(ptr) Variable UniformConstant
129: TypeImage 6(float) 1D sampled format:Unknown 131: TypeImage 14(float) 1D sampled format:Unknown
130: TypePointer UniformConstant 129 132: TypePointer UniformConstant 131
131(g_tTex1df4): 130(ptr) Variable UniformConstant 133(g_tTex1df4): 132(ptr) Variable UniformConstant
132: TypeImage 16(int) 1D sampled format:Unknown 134: TypeImage 6(int) 1D sampled format:Unknown
133: TypePointer UniformConstant 132 135: TypePointer UniformConstant 134
134(g_tTex1di4): 133(ptr) Variable UniformConstant 136(g_tTex1di4): 135(ptr) Variable UniformConstant
135: TypeImage 28(int) 1D sampled format:Unknown 137: TypeImage 40(int) 1D sampled format:Unknown
136: TypePointer UniformConstant 135 138: TypePointer UniformConstant 137
137(g_tTex1du4): 136(ptr) Variable UniformConstant 139(g_tTex1du4): 138(ptr) Variable UniformConstant
138: TypeImage 6(float) 2D sampled format:Unknown 140: TypeImage 14(float) 2D sampled format:Unknown
139: TypePointer UniformConstant 138 141: TypePointer UniformConstant 140
140(g_tTex2df4): 139(ptr) Variable UniformConstant 142(g_tTex2df4): 141(ptr) Variable UniformConstant
141: TypeImage 16(int) 2D sampled format:Unknown 143: TypeImage 6(int) 2D sampled format:Unknown
142: TypePointer UniformConstant 141 144: TypePointer UniformConstant 143
143(g_tTex2di4): 142(ptr) Variable UniformConstant 145(g_tTex2di4): 144(ptr) Variable UniformConstant
144: TypeImage 28(int) 2D sampled format:Unknown 146: TypeImage 40(int) 2D sampled format:Unknown
145: TypePointer UniformConstant 144 147: TypePointer UniformConstant 146
146(g_tTex2du4): 145(ptr) Variable UniformConstant 148(g_tTex2du4): 147(ptr) Variable UniformConstant
147: TypeImage 6(float) 3D sampled format:Unknown 149: TypeImage 14(float) 3D sampled format:Unknown
148: TypePointer UniformConstant 147 150: TypePointer UniformConstant 149
149(g_tTex3df4): 148(ptr) Variable UniformConstant 151(g_tTex3df4): 150(ptr) Variable UniformConstant
150: TypeImage 16(int) 3D sampled format:Unknown 152: TypeImage 6(int) 3D sampled format:Unknown
151: TypePointer UniformConstant 150 153: TypePointer UniformConstant 152
152(g_tTex3di4): 151(ptr) Variable UniformConstant 154(g_tTex3di4): 153(ptr) Variable UniformConstant
153: TypeImage 28(int) 3D sampled format:Unknown 155: TypeImage 40(int) 3D sampled format:Unknown
154: TypePointer UniformConstant 153 156: TypePointer UniformConstant 155
155(g_tTex3du4): 154(ptr) Variable UniformConstant 157(g_tTex3du4): 156(ptr) Variable UniformConstant
156: TypeImage 6(float) Cube sampled format:Unknown 158: TypeImage 14(float) Cube sampled format:Unknown
157: TypePointer UniformConstant 156 159: TypePointer UniformConstant 158
158(g_tTexcdf4): 157(ptr) Variable UniformConstant 160(g_tTexcdf4): 159(ptr) Variable UniformConstant
159: TypeImage 16(int) Cube sampled format:Unknown 161: TypeImage 6(int) Cube sampled format:Unknown
160: TypePointer UniformConstant 159 162: TypePointer UniformConstant 161
161(g_tTexcdi4): 160(ptr) Variable UniformConstant 163(g_tTexcdi4): 162(ptr) Variable UniformConstant
162: TypeImage 28(int) Cube sampled format:Unknown 164: TypeImage 40(int) Cube sampled format:Unknown
163: TypePointer UniformConstant 162 165: TypePointer UniformConstant 164
164(g_tTexcdu4): 163(ptr) Variable UniformConstant 166(g_tTexcdu4): 165(ptr) Variable UniformConstant
165: TypeImage 6(float) Cube array sampled format:Unknown 167: TypeImage 14(float) Cube array sampled format:Unknown
166: TypePointer UniformConstant 165 168: TypePointer UniformConstant 167
167(g_tTexcdf4a): 166(ptr) Variable UniformConstant 169(g_tTexcdf4a): 168(ptr) Variable UniformConstant
168: TypeImage 16(int) Cube array sampled format:Unknown 170: TypeImage 6(int) Cube array sampled format:Unknown
169: TypePointer UniformConstant 168 171: TypePointer UniformConstant 170
170(g_tTexcdi4a): 169(ptr) Variable UniformConstant 172(g_tTexcdi4a): 171(ptr) Variable UniformConstant
171: TypeImage 28(int) Cube array sampled format:Unknown 173: TypeImage 40(int) Cube array sampled format:Unknown
172: TypePointer UniformConstant 171 174: TypePointer UniformConstant 173
173(g_tTexcdu4a): 172(ptr) Variable UniformConstant 175(g_tTexcdu4a): 174(ptr) Variable UniformConstant
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
116(flattenTemp): 103(ptr) Variable Function 118(flattenTemp): 106(ptr) Variable Function
117:8(PS_OUTPUT) FunctionCall 10(@main() 119:16(PS_OUTPUT) FunctionCall 18(@main()
Store 116(flattenTemp) 117 Store 118(flattenTemp) 119
120: 108(ptr) AccessChain 116(flattenTemp) 105 122: 111(ptr) AccessChain 118(flattenTemp) 108
121: 7(fvec4) Load 120 123: 15(fvec4) Load 122
Store 119(@entryPointOutput.Color) 121 Store 121(@entryPointOutput.Color) 123
124: 111(ptr) AccessChain 116(flattenTemp) 110 126: 113(ptr) AccessChain 118(flattenTemp) 20
125: 6(float) Load 124 127: 14(float) Load 126
Store 123(@entryPointOutput.Depth) 125 Store 125(@entryPointOutput.Depth) 127
Return Return
FunctionEnd FunctionEnd
10(@main():8(PS_OUTPUT) Function None 9 8(getOffset1(): 6(int) Function None 7
11: Label 9: Label
104(psout): 103(ptr) Variable Function ReturnValue 20
15: 12 Load 14(g_tTex1df4a) FunctionEnd
25: 24(ptr) AccessChain 22 23 12(getOffset2(): 10(ivec2) Function None 11
26: 18(ivec3) Load 25 13: Label
27: 17(ivec2) VectorShuffle 26 26 0 1 ReturnValue 23
31: 30(ptr) AccessChain 22 23 29 FunctionEnd
32: 16(int) Load 31 18(@main():16(PS_OUTPUT) Function None 17
34: 30(ptr) AccessChain 22 33 19: Label
35: 16(int) Load 34 107(psout): 106(ptr) Variable Function
36: 7(fvec4) ImageFetch 15 27 Lod Offset 32 35 29: 26 Load 28(g_tTex1df4a)
40: 37 Load 39(g_tTex1di4a) 37: 36(ptr) AccessChain 34 35
41: 24(ptr) AccessChain 22 23 38: 30(ivec3) Load 37
42: 18(ivec3) Load 41 39: 10(ivec2) VectorShuffle 38 38 0 1
43: 17(ivec2) VectorShuffle 42 42 0 1 43: 42(ptr) AccessChain 34 35 41
44: 30(ptr) AccessChain 22 23 29 44: 6(int) Load 43
45: 16(int) Load 44 45: 6(int) FunctionCall 8(getOffset1()
46: 30(ptr) AccessChain 22 33 46: 15(fvec4) ImageFetch 29 39 Lod Offset 44 45
47: 16(int) Load 46 50: 47 Load 49(g_tTex1di4a)
48: 19(ivec4) ImageFetch 40 43 Lod Offset 45 47 51: 36(ptr) AccessChain 34 35
52: 49 Load 51(g_tTex1du4a) 52: 30(ivec3) Load 51
53: 24(ptr) AccessChain 22 23 53: 10(ivec2) VectorShuffle 52 52 0 1
54: 18(ivec3) Load 53 54: 42(ptr) AccessChain 34 35 41
55: 17(ivec2) VectorShuffle 54 54 0 1 55: 6(int) Load 54
56: 30(ptr) AccessChain 22 23 29 56: 6(int) FunctionCall 8(getOffset1()
57: 16(int) Load 56 57: 31(ivec4) ImageFetch 50 53 Lod Offset 55 56
58: 30(ptr) AccessChain 22 33 61: 58 Load 60(g_tTex1du4a)
59: 16(int) Load 58 62: 36(ptr) AccessChain 34 35
61: 60(ivec4) ImageFetch 52 55 Lod Offset 57 59 63: 30(ivec3) Load 62
65: 62 Load 64(g_tTex2df4a) 64: 10(ivec2) VectorShuffle 63 63 0 1
68: 67(ptr) AccessChain 22 66 65: 42(ptr) AccessChain 34 35 41
69: 19(ivec4) Load 68 66: 6(int) Load 65
70: 18(ivec3) VectorShuffle 69 69 0 1 2 67: 6(int) FunctionCall 8(getOffset1()
72: 30(ptr) AccessChain 22 66 71 69: 68(ivec4) ImageFetch 61 64 Lod Offset 66 67
73: 16(int) Load 72 73: 70 Load 72(g_tTex2df4a)
76: 75(ptr) AccessChain 22 74 76: 75(ptr) AccessChain 34 74
77: 17(ivec2) Load 76 77: 31(ivec4) Load 76
78: 7(fvec4) ImageFetch 65 70 Lod Offset 73 77 78: 30(ivec3) VectorShuffle 77 77 0 1 2
82: 79 Load 81(g_tTex2di4a) 80: 42(ptr) AccessChain 34 74 79
83: 67(ptr) AccessChain 22 66 81: 6(int) Load 80
84: 19(ivec4) Load 83 82: 10(ivec2) FunctionCall 12(getOffset2()
85: 18(ivec3) VectorShuffle 84 84 0 1 2 83: 15(fvec4) ImageFetch 73 78 Lod Offset 81 82
86: 30(ptr) AccessChain 22 66 71 87: 84 Load 86(g_tTex2di4a)
87: 16(int) Load 86 88: 75(ptr) AccessChain 34 74
88: 75(ptr) AccessChain 22 74 89: 31(ivec4) Load 88
89: 17(ivec2) Load 88 90: 30(ivec3) VectorShuffle 89 89 0 1 2
90: 19(ivec4) ImageFetch 82 85 Lod Offset 87 89 91: 42(ptr) AccessChain 34 74 79
94: 91 Load 93(g_tTex2du4a) 92: 6(int) Load 91
95: 67(ptr) AccessChain 22 66 93: 10(ivec2) FunctionCall 12(getOffset2()
96: 19(ivec4) Load 95 94: 31(ivec4) ImageFetch 87 90 Lod Offset 92 93
97: 18(ivec3) VectorShuffle 96 96 0 1 2 98: 95 Load 97(g_tTex2du4a)
98: 30(ptr) AccessChain 22 66 71 99: 75(ptr) AccessChain 34 74
99: 16(int) Load 98 100: 31(ivec4) Load 99
100: 75(ptr) AccessChain 22 74 101: 30(ivec3) VectorShuffle 100 100 0 1 2
101: 17(ivec2) Load 100 102: 42(ptr) AccessChain 34 74 79
102: 60(ivec4) ImageFetch 94 97 Lod Offset 99 101 103: 6(int) Load 102
109: 108(ptr) AccessChain 104(psout) 105 104: 10(ivec2) FunctionCall 12(getOffset2()
Store 109 107 105: 68(ivec4) ImageFetch 98 101 Lod Offset 103 104
112: 111(ptr) AccessChain 104(psout) 110 112: 111(ptr) AccessChain 107(psout) 108
Store 112 106 Store 112 110
113:8(PS_OUTPUT) Load 104(psout) 114: 113(ptr) AccessChain 107(psout) 20
ReturnValue 113 Store 114 109
115:16(PS_OUTPUT) Load 107(psout)
ReturnValue 115
FunctionEnd FunctionEnd
...@@ -19,10 +19,10 @@ uniform int2 c2; ...@@ -19,10 +19,10 @@ uniform int2 c2;
uniform int3 c3; uniform int3 c3;
uniform int4 c4; uniform int4 c4;
uniform int o1; int2 getOffset()
uniform int2 o2; {
uniform int3 o3; return int2(1, 1);
uniform int4 o4; }
PS_OUTPUT main() PS_OUTPUT main()
{ {
...@@ -34,9 +34,9 @@ PS_OUTPUT main() ...@@ -34,9 +34,9 @@ PS_OUTPUT main()
g_tTex2dmsu4.Load(c2, 3); g_tTex2dmsu4.Load(c2, 3);
// 2DMS, offset // 2DMS, offset
g_tTex2dmsf4.Load(c2, 3, o2); g_tTex2dmsf4.Load(c2, 3, getOffset());
g_tTex2dmsi4.Load(c2, 3, o2); g_tTex2dmsi4.Load(c2, 3, getOffset());
g_tTex2dmsu4.Load(c2, 3, o2); g_tTex2dmsu4.Load(c2, 3, getOffset());
// 2DMSArray, no offset // 2DMSArray, no offset
g_tTex2dmsf4a.Load(c3, 3); g_tTex2dmsf4a.Load(c3, 3);
...@@ -44,9 +44,9 @@ PS_OUTPUT main() ...@@ -44,9 +44,9 @@ PS_OUTPUT main()
g_tTex2dmsu4a.Load(c3, 3); g_tTex2dmsu4a.Load(c3, 3);
// 2DMSArray, offset // 2DMSArray, offset
g_tTex2dmsf4a.Load(c3, 3, o2); g_tTex2dmsf4a.Load(c3, 3, getOffset());
g_tTex2dmsi4a.Load(c3, 3, o2); g_tTex2dmsi4a.Load(c3, 3, getOffset());
g_tTex2dmsu4a.Load(c3, 3, o2); g_tTex2dmsu4a.Load(c3, 3, getOffset());
psout.Color = 1.0; psout.Color = 1.0;
psout.Depth = 1.0; psout.Depth = 1.0;
......
...@@ -39,29 +39,39 @@ uniform int2 c2; ...@@ -39,29 +39,39 @@ uniform int2 c2;
uniform int3 c3; uniform int3 c3;
uniform int4 c4; uniform int4 c4;
uniform int o1; int getOffset1()
uniform int2 o2; {
uniform int3 o3; return 1;
uniform int4 o4; }
int2 getOffset2()
{
return int2(1, 1);
}
int3 getOffset3()
{
return int3(1, 1, 1);
}
PS_OUTPUT main() PS_OUTPUT main()
{ {
PS_OUTPUT psout; PS_OUTPUT psout;
// 1D // 1D
g_tTex1df4.Load(c2, o1); g_tTex1df4.Load(c2, getOffset1());
g_tTex1di4.Load(c2, o1); g_tTex1di4.Load(c2, getOffset1());
g_tTex1du4.Load(c2, o1); g_tTex1du4.Load(c2, getOffset1());
// 2D // 2D
g_tTex2df4.Load(c3, o2); g_tTex2df4.Load(c3, getOffset2());
g_tTex2di4.Load(c3, o2); g_tTex2di4.Load(c3, getOffset2());
g_tTex2du4.Load(c3, o2); g_tTex2du4.Load(c3, getOffset2());
// 3D // 3D
g_tTex3df4.Load(c4, o3); g_tTex3df4.Load(c4, getOffset3());
g_tTex3di4.Load(c4, o3); g_tTex3di4.Load(c4, getOffset3());
g_tTex3du4.Load(c4, o3); g_tTex3du4.Load(c4, getOffset3());
// Offset has no Cube or CubeArray forms // Offset has no Cube or CubeArray forms
......
...@@ -39,24 +39,29 @@ uniform int2 c2; ...@@ -39,24 +39,29 @@ uniform int2 c2;
uniform int3 c3; uniform int3 c3;
uniform int4 c4; uniform int4 c4;
uniform int o1; int getOffset1()
uniform int2 o2; {
uniform int3 o3; return 1;
uniform int4 o4; }
int2 getOffset2()
{
return int2(1, 1);
}
PS_OUTPUT main() PS_OUTPUT main()
{ {
PS_OUTPUT psout; PS_OUTPUT psout;
// 1DArray // 1DArray
g_tTex1df4a.Load(c3, o1); g_tTex1df4a.Load(c3, getOffset1());
g_tTex1di4a.Load(c3, o1); g_tTex1di4a.Load(c3, getOffset1());
g_tTex1du4a.Load(c3, o1); g_tTex1du4a.Load(c3, getOffset1());
// 2DArray // 2DArray
g_tTex2df4a.Load(c4, o2); g_tTex2df4a.Load(c4, getOffset2());
g_tTex2di4a.Load(c4, o2); g_tTex2di4a.Load(c4, getOffset2());
g_tTex2du4a.Load(c4, o2); g_tTex2du4a.Load(c4, getOffset2());
// TODO: // TODO:
// Load, SampleIndex // Load, SampleIndex
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment