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

@@ -11,7 +11,7 @@ gl_FragCoord origin is upper left
0:42 textureLod (global float)
0:42 Construct combined texture-sampler (temp sampler1DArrayShadow)
0:42 'g_tTex1df4a' (uniform texture1DArray)
0:42 'g_sSamp' (uniform sampler)
0:42 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:42 Construct vec3 (temp float)
0:? Constant:
0:? 0.100000
@@ -26,7 +26,7 @@ gl_FragCoord origin is upper left
0:43 textureLod (global float)
0:43 Construct combined texture-sampler (temp isampler1DArrayShadow)
0:43 'g_tTex1di4a' (uniform itexture1DArray)
0:43 'g_sSamp' (uniform sampler)
0:43 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:43 Construct vec3 (temp float)
0:? Constant:
0:? 0.100000
@@ -41,7 +41,7 @@ gl_FragCoord origin is upper left
0:44 textureLod (global float)
0:44 Construct combined texture-sampler (temp usampler1DArrayShadow)
0:44 'g_tTex1du4a' (uniform utexture1DArray)
0:44 'g_sSamp' (uniform sampler)
0:44 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:44 Construct vec3 (temp float)
0:? Constant:
0:? 0.100000
@@ -56,7 +56,7 @@ gl_FragCoord origin is upper left
0:47 textureLod (global float)
0:47 Construct combined texture-sampler (temp sampler2DArrayShadow)
0:47 'g_tTex2df4a' (uniform texture2DArray)
0:47 'g_sSamp' (uniform sampler)
0:47 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:47 Construct vec4 (temp float)
0:? Constant:
0:? 0.100000
@@ -72,7 +72,7 @@ gl_FragCoord origin is upper left
0:48 textureLod (global float)
0:48 Construct combined texture-sampler (temp isampler2DArrayShadow)
0:48 'g_tTex2di4a' (uniform itexture2DArray)
0:48 'g_sSamp' (uniform sampler)
0:48 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:48 Construct vec4 (temp float)
0:? Constant:
0:? 0.100000
@@ -88,7 +88,7 @@ gl_FragCoord origin is upper left
0:49 textureLod (global float)
0:49 Construct combined texture-sampler (temp usampler2DArrayShadow)
0:49 'g_tTex2du4a' (uniform utexture2DArray)
0:49 'g_sSamp' (uniform sampler)
0:49 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:49 Construct vec4 (temp float)
0:? Constant:
0:? 0.100000
@@ -104,7 +104,7 @@ gl_FragCoord origin is upper left
0:52 textureLod (global float)
0:52 Construct combined texture-sampler (temp samplerCubeArrayShadow)
0:52 'g_tTexcdf4a' (uniform textureCubeArray)
0:52 'g_sSamp' (uniform sampler)
0:52 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:52 Construct vec4 (temp float)
0:? Constant:
0:? 0.100000
@@ -121,7 +121,7 @@ gl_FragCoord origin is upper left
0:53 textureLod (global float)
0:53 Construct combined texture-sampler (temp isamplerCubeArrayShadow)
0:53 'g_tTexcdi4a' (uniform itextureCubeArray)
0:53 'g_sSamp' (uniform sampler)
0:53 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:53 Construct vec4 (temp float)
0:? Constant:
0:? 0.100000
@@ -138,7 +138,7 @@ gl_FragCoord origin is upper left
0:54 textureLod (global float)
0:54 Construct combined texture-sampler (temp usamplerCubeArrayShadow)
0:54 'g_tTexcdu4a' (uniform utextureCubeArray)
0:54 'g_sSamp' (uniform sampler)
0:54 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:54 Construct vec4 (temp float)
0:? Constant:
0:? 0.100000
@@ -169,8 +169,8 @@ gl_FragCoord origin is upper left
0:59 Branch: Return with expression
0:59 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? Linker Objects
0:? 'g_sSamp' (uniform sampler)
0:? 'g_tTex1df4' (uniform texture1D)
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:? 'g_tTex1di4' (uniform itexture1D)
0:? 'g_tTex1du4' (uniform utexture1D)
0:? 'g_tTex2df4' (uniform texture2D)
@@ -208,7 +208,7 @@ gl_FragCoord origin is upper left
0:42 textureLod (global float)
0:42 Construct combined texture-sampler (temp sampler1DArrayShadow)
0:42 'g_tTex1df4a' (uniform texture1DArray)
0:42 'g_sSamp' (uniform sampler)
0:42 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:42 Construct vec3 (temp float)
0:? Constant:
0:? 0.100000
@@ -223,7 +223,7 @@ gl_FragCoord origin is upper left
0:43 textureLod (global float)
0:43 Construct combined texture-sampler (temp isampler1DArrayShadow)
0:43 'g_tTex1di4a' (uniform itexture1DArray)
0:43 'g_sSamp' (uniform sampler)
0:43 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:43 Construct vec3 (temp float)
0:? Constant:
0:? 0.100000
@@ -238,7 +238,7 @@ gl_FragCoord origin is upper left
0:44 textureLod (global float)
0:44 Construct combined texture-sampler (temp usampler1DArrayShadow)
0:44 'g_tTex1du4a' (uniform utexture1DArray)
0:44 'g_sSamp' (uniform sampler)
0:44 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:44 Construct vec3 (temp float)
0:? Constant:
0:? 0.100000
@@ -253,7 +253,7 @@ gl_FragCoord origin is upper left
0:47 textureLod (global float)
0:47 Construct combined texture-sampler (temp sampler2DArrayShadow)
0:47 'g_tTex2df4a' (uniform texture2DArray)
0:47 'g_sSamp' (uniform sampler)
0:47 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:47 Construct vec4 (temp float)
0:? Constant:
0:? 0.100000
@@ -269,7 +269,7 @@ gl_FragCoord origin is upper left
0:48 textureLod (global float)
0:48 Construct combined texture-sampler (temp isampler2DArrayShadow)
0:48 'g_tTex2di4a' (uniform itexture2DArray)
0:48 'g_sSamp' (uniform sampler)
0:48 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:48 Construct vec4 (temp float)
0:? Constant:
0:? 0.100000
@@ -285,7 +285,7 @@ gl_FragCoord origin is upper left
0:49 textureLod (global float)
0:49 Construct combined texture-sampler (temp usampler2DArrayShadow)
0:49 'g_tTex2du4a' (uniform utexture2DArray)
0:49 'g_sSamp' (uniform sampler)
0:49 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:49 Construct vec4 (temp float)
0:? Constant:
0:? 0.100000
@@ -301,7 +301,7 @@ gl_FragCoord origin is upper left
0:52 textureLod (global float)
0:52 Construct combined texture-sampler (temp samplerCubeArrayShadow)
0:52 'g_tTexcdf4a' (uniform textureCubeArray)
0:52 'g_sSamp' (uniform sampler)
0:52 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:52 Construct vec4 (temp float)
0:? Constant:
0:? 0.100000
@@ -318,7 +318,7 @@ gl_FragCoord origin is upper left
0:53 textureLod (global float)
0:53 Construct combined texture-sampler (temp isamplerCubeArrayShadow)
0:53 'g_tTexcdi4a' (uniform itextureCubeArray)
0:53 'g_sSamp' (uniform sampler)
0:53 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:53 Construct vec4 (temp float)
0:? Constant:
0:? 0.100000
@@ -335,7 +335,7 @@ gl_FragCoord origin is upper left
0:54 textureLod (global float)
0:54 Construct combined texture-sampler (temp usamplerCubeArrayShadow)
0:54 'g_tTexcdu4a' (uniform utextureCubeArray)
0:54 'g_sSamp' (uniform sampler)
0:54 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:54 Construct vec4 (temp float)
0:? Constant:
0:? 0.100000
@@ -366,8 +366,8 @@ gl_FragCoord origin is upper left
0:59 Branch: Return with expression
0:59 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? Linker Objects
0:? 'g_sSamp' (uniform sampler)
0:? 'g_tTex1df4' (uniform texture1D)
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:? 'g_tTex1di4' (uniform itexture1D)
0:? 'g_tTex1du4' (uniform utexture1D)
0:? 'g_tTex2df4' (uniform texture2D)
@@ -439,6 +439,7 @@ gl_FragCoord origin is upper left
Name 177 "g_tTexcdu4"
Decorate 11(g_tTex1df4a) DescriptorSet 0
Decorate 15(g_sSamp) DescriptorSet 0
Decorate 15(g_sSamp) Binding 0
Decorate 33(g_tTex1di4a) DescriptorSet 0
Decorate 46(g_tTex1du4a) DescriptorSet 0
Decorate 58(g_tTex2df4a) DescriptorSet 0
@@ -449,6 +450,7 @@ gl_FragCoord origin is upper left
Decorate 122(g_tTexcdu4a) DescriptorSet 0
MemberDecorate 130(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 144(g_tTex1df4) DescriptorSet 0
Decorate 144(g_tTex1df4) Binding 0
Decorate 147(g_tTex1di4) DescriptorSet 0
Decorate 150(g_tTex1du4) DescriptorSet 0
Decorate 153(g_tTex2df4) DescriptorSet 0