HLSL: Implement the register production.

This commit is contained in:
John Kessenich
2016-07-29 14:28:39 -06:00
parent 82d6baf86f
commit 96e9f47cbb
51 changed files with 1009 additions and 852 deletions

View File

@@ -9,8 +9,8 @@ Shader version: 450
0:30 'txval10' (temp 4-component vector of float)
0:30 textureGrad (global 4-component vector of float)
0:30 Construct combined texture-sampler (temp sampler1D)
0:30 'g_tTex1df4' (uniform texture1D)
0:30 'g_sSamp' (uniform sampler)
0:30 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:30 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:30 Constant:
0:30 0.100000
0:30 Constant:
@@ -23,7 +23,7 @@ Shader version: 450
0:31 textureGrad (global 4-component vector of int)
0:31 Construct combined texture-sampler (temp isampler1D)
0:31 'g_tTex1di4' (uniform itexture1D)
0:31 'g_sSamp' (uniform sampler)
0:31 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:31 Constant:
0:31 0.200000
0:31 Constant:
@@ -36,7 +36,7 @@ Shader version: 450
0:32 textureGrad (global 4-component vector of uint)
0:32 Construct combined texture-sampler (temp usampler1D)
0:32 'g_tTex1du4' (uniform utexture1D)
0:32 'g_sSamp' (uniform sampler)
0:32 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:32 Constant:
0:32 0.300000
0:32 Constant:
@@ -49,7 +49,7 @@ Shader version: 450
0:34 textureGrad (global 4-component vector of float)
0:34 Construct combined texture-sampler (temp sampler2D)
0:34 'g_tTex2df4' (uniform texture2D)
0:34 'g_sSamp' (uniform sampler)
0:34 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? Constant:
0:? 0.100000
0:? 0.200000
@@ -65,7 +65,7 @@ Shader version: 450
0:35 textureGrad (global 4-component vector of int)
0:35 Construct combined texture-sampler (temp isampler2D)
0:35 'g_tTex2di4' (uniform itexture2D)
0:35 'g_sSamp' (uniform sampler)
0:35 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? Constant:
0:? 0.300000
0:? 0.400000
@@ -81,7 +81,7 @@ Shader version: 450
0:36 textureGrad (global 4-component vector of uint)
0:36 Construct combined texture-sampler (temp usampler2D)
0:36 'g_tTex2du4' (uniform utexture2D)
0:36 'g_sSamp' (uniform sampler)
0:36 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? Constant:
0:? 0.500000
0:? 0.600000
@@ -97,7 +97,7 @@ Shader version: 450
0:38 textureGrad (global 4-component vector of float)
0:38 Construct combined texture-sampler (temp sampler3D)
0:38 'g_tTex3df4' (uniform texture3D)
0:38 'g_sSamp' (uniform sampler)
0:38 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? Constant:
0:? 0.100000
0:? 0.200000
@@ -116,7 +116,7 @@ Shader version: 450
0:39 textureGrad (global 4-component vector of int)
0:39 Construct combined texture-sampler (temp isampler3D)
0:39 'g_tTex3di4' (uniform itexture3D)
0:39 'g_sSamp' (uniform sampler)
0:39 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? Constant:
0:? 0.400000
0:? 0.500000
@@ -135,7 +135,7 @@ Shader version: 450
0:40 textureGrad (global 4-component vector of uint)
0:40 Construct combined texture-sampler (temp usampler3D)
0:40 'g_tTex3du4' (uniform utexture3D)
0:40 'g_sSamp' (uniform sampler)
0:40 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? Constant:
0:? 0.700000
0:? 0.800000
@@ -154,7 +154,7 @@ Shader version: 450
0:42 textureGrad (global 4-component vector of float)
0:42 Construct combined texture-sampler (temp samplerCube)
0:42 'g_tTexcdf4' (uniform textureCube)
0:42 'g_sSamp' (uniform sampler)
0:42 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? Constant:
0:? 0.100000
0:? 0.200000
@@ -173,7 +173,7 @@ Shader version: 450
0:43 textureGrad (global 4-component vector of int)
0:43 Construct combined texture-sampler (temp isamplerCube)
0:43 'g_tTexcdi4' (uniform itextureCube)
0:43 'g_sSamp' (uniform sampler)
0:43 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? Constant:
0:? 0.400000
0:? 0.500000
@@ -192,7 +192,7 @@ Shader version: 450
0:44 textureGrad (global 4-component vector of uint)
0:44 Construct combined texture-sampler (temp usamplerCube)
0:44 'g_tTexcdu4' (uniform utextureCube)
0:44 'g_sSamp' (uniform sampler)
0:44 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? Constant:
0:? 0.700000
0:? 0.800000
@@ -218,9 +218,9 @@ Shader version: 450
0:48 Branch: Return with expression
0:48 'vsout' (temp structure{temp 4-component vector of float FragCoord Pos})
0:? Linker Objects
0:? 'g_sSamp' (uniform sampler)
0:? 'g_tTex1df4a' (uniform texture1D)
0:? 'g_tTex1df4' (uniform texture1D)
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:? 'g_tTex1di4' (uniform itexture1D)
0:? 'g_tTex1du4' (uniform utexture1D)
0:? 'g_tTex2df4' (uniform texture2D)
@@ -247,8 +247,8 @@ Shader version: 450
0:30 'txval10' (temp 4-component vector of float)
0:30 textureGrad (global 4-component vector of float)
0:30 Construct combined texture-sampler (temp sampler1D)
0:30 'g_tTex1df4' (uniform texture1D)
0:30 'g_sSamp' (uniform sampler)
0:30 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:30 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:30 Constant:
0:30 0.100000
0:30 Constant:
@@ -261,7 +261,7 @@ Shader version: 450
0:31 textureGrad (global 4-component vector of int)
0:31 Construct combined texture-sampler (temp isampler1D)
0:31 'g_tTex1di4' (uniform itexture1D)
0:31 'g_sSamp' (uniform sampler)
0:31 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:31 Constant:
0:31 0.200000
0:31 Constant:
@@ -274,7 +274,7 @@ Shader version: 450
0:32 textureGrad (global 4-component vector of uint)
0:32 Construct combined texture-sampler (temp usampler1D)
0:32 'g_tTex1du4' (uniform utexture1D)
0:32 'g_sSamp' (uniform sampler)
0:32 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:32 Constant:
0:32 0.300000
0:32 Constant:
@@ -287,7 +287,7 @@ Shader version: 450
0:34 textureGrad (global 4-component vector of float)
0:34 Construct combined texture-sampler (temp sampler2D)
0:34 'g_tTex2df4' (uniform texture2D)
0:34 'g_sSamp' (uniform sampler)
0:34 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? Constant:
0:? 0.100000
0:? 0.200000
@@ -303,7 +303,7 @@ Shader version: 450
0:35 textureGrad (global 4-component vector of int)
0:35 Construct combined texture-sampler (temp isampler2D)
0:35 'g_tTex2di4' (uniform itexture2D)
0:35 'g_sSamp' (uniform sampler)
0:35 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? Constant:
0:? 0.300000
0:? 0.400000
@@ -319,7 +319,7 @@ Shader version: 450
0:36 textureGrad (global 4-component vector of uint)
0:36 Construct combined texture-sampler (temp usampler2D)
0:36 'g_tTex2du4' (uniform utexture2D)
0:36 'g_sSamp' (uniform sampler)
0:36 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? Constant:
0:? 0.500000
0:? 0.600000
@@ -335,7 +335,7 @@ Shader version: 450
0:38 textureGrad (global 4-component vector of float)
0:38 Construct combined texture-sampler (temp sampler3D)
0:38 'g_tTex3df4' (uniform texture3D)
0:38 'g_sSamp' (uniform sampler)
0:38 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? Constant:
0:? 0.100000
0:? 0.200000
@@ -354,7 +354,7 @@ Shader version: 450
0:39 textureGrad (global 4-component vector of int)
0:39 Construct combined texture-sampler (temp isampler3D)
0:39 'g_tTex3di4' (uniform itexture3D)
0:39 'g_sSamp' (uniform sampler)
0:39 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? Constant:
0:? 0.400000
0:? 0.500000
@@ -373,7 +373,7 @@ Shader version: 450
0:40 textureGrad (global 4-component vector of uint)
0:40 Construct combined texture-sampler (temp usampler3D)
0:40 'g_tTex3du4' (uniform utexture3D)
0:40 'g_sSamp' (uniform sampler)
0:40 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? Constant:
0:? 0.700000
0:? 0.800000
@@ -392,7 +392,7 @@ Shader version: 450
0:42 textureGrad (global 4-component vector of float)
0:42 Construct combined texture-sampler (temp samplerCube)
0:42 'g_tTexcdf4' (uniform textureCube)
0:42 'g_sSamp' (uniform sampler)
0:42 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? Constant:
0:? 0.100000
0:? 0.200000
@@ -411,7 +411,7 @@ Shader version: 450
0:43 textureGrad (global 4-component vector of int)
0:43 Construct combined texture-sampler (temp isamplerCube)
0:43 'g_tTexcdi4' (uniform itextureCube)
0:43 'g_sSamp' (uniform sampler)
0:43 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? Constant:
0:? 0.400000
0:? 0.500000
@@ -430,7 +430,7 @@ Shader version: 450
0:44 textureGrad (global 4-component vector of uint)
0:44 Construct combined texture-sampler (temp usamplerCube)
0:44 'g_tTexcdu4' (uniform utextureCube)
0:44 'g_sSamp' (uniform sampler)
0:44 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? Constant:
0:? 0.700000
0:? 0.800000
@@ -456,9 +456,9 @@ Shader version: 450
0:48 Branch: Return with expression
0:48 'vsout' (temp structure{temp 4-component vector of float FragCoord Pos})
0:? Linker Objects
0:? 'g_sSamp' (uniform sampler)
0:? 'g_tTex1df4a' (uniform texture1D)
0:? 'g_tTex1df4' (uniform texture1D)
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4a' (layout(binding=1 ) uniform texture1D)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:? 'g_tTex1di4' (uniform itexture1D)
0:? 'g_tTex1du4' (uniform utexture1D)
0:? 'g_tTex2df4' (uniform texture2D)
@@ -512,7 +512,9 @@ Shader version: 450
Name 150 "vsout"
Name 157 "g_tTex1df4a"
Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0
Decorate 16(g_sSamp) DescriptorSet 0
Decorate 16(g_sSamp) Binding 0
Decorate 30(g_tTex1di4) DescriptorSet 0
Decorate 43(g_tTex1du4) DescriptorSet 0
Decorate 53(g_tTex2df4) DescriptorSet 0
@@ -526,6 +528,7 @@ Shader version: 450
Decorate 142(g_tTexcdu4) DescriptorSet 0
MemberDecorate 148(VS_OUTPUT) 0 BuiltIn FragCoord
Decorate 157(g_tTex1df4a) DescriptorSet 0
Decorate 157(g_tTex1df4a) Binding 1
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32