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

@@ -8,7 +8,7 @@ Shader version: 450
0:21 move second child to first child (temp uint)
0:21 'sizeQueryTemp' (temp uint)
0:21 textureSize (temp uint)
0:21 'g_tTex1df4' (uniform texture1D)
0:21 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:21 move second child to first child (temp uint)
0:21 'WidthU' (temp uint)
0:21 'sizeQueryTemp' (temp uint)
@@ -16,7 +16,7 @@ Shader version: 450
0:22 move second child to first child (temp uint)
0:22 'sizeQueryTemp' (temp uint)
0:22 textureSize (temp uint)
0:22 'g_tTex1df4' (uniform texture1D)
0:22 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:22 Constant:
0:22 6 (const uint)
0:22 move second child to first child (temp uint)
@@ -25,7 +25,7 @@ Shader version: 450
0:22 move second child to first child (temp uint)
0:22 'NumberOfLevelsU' (temp uint)
0:22 textureQueryLevels (temp uint)
0:22 'g_tTex1df4' (uniform texture1D)
0:22 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:24 move second child to first child (temp 4-component vector of float)
0:24 Pos: direct index for structure (temp 4-component vector of float FragCoord)
0:24 'vsout' (temp structure{temp 4-component vector of float FragCoord Pos})
@@ -39,8 +39,8 @@ Shader version: 450
0:26 Branch: Return with expression
0:26 'vsout' (temp structure{temp 4-component vector of float FragCoord Pos})
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)
Linked vertex stage:
@@ -55,7 +55,7 @@ Shader version: 450
0:21 move second child to first child (temp uint)
0:21 'sizeQueryTemp' (temp uint)
0:21 textureSize (temp uint)
0:21 'g_tTex1df4' (uniform texture1D)
0:21 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:21 move second child to first child (temp uint)
0:21 'WidthU' (temp uint)
0:21 'sizeQueryTemp' (temp uint)
@@ -63,7 +63,7 @@ Shader version: 450
0:22 move second child to first child (temp uint)
0:22 'sizeQueryTemp' (temp uint)
0:22 textureSize (temp uint)
0:22 'g_tTex1df4' (uniform texture1D)
0:22 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:22 Constant:
0:22 6 (const uint)
0:22 move second child to first child (temp uint)
@@ -72,7 +72,7 @@ Shader version: 450
0:22 move second child to first child (temp uint)
0:22 'NumberOfLevelsU' (temp uint)
0:22 textureQueryLevels (temp uint)
0:22 'g_tTex1df4' (uniform texture1D)
0:22 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:24 move second child to first child (temp 4-component vector of float)
0:24 Pos: direct index for structure (temp 4-component vector of float FragCoord)
0:24 'vsout' (temp structure{temp 4-component vector of float FragCoord Pos})
@@ -86,8 +86,8 @@ Shader version: 450
0:26 Branch: Return with expression
0:26 'vsout' (temp structure{temp 4-component vector of float FragCoord Pos})
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)
// Module Version 10000
// Generated by (magic number): 80001
@@ -111,8 +111,10 @@ Shader version: 450
Name 29 "vsout"
Name 39 "g_sSamp"
Decorate 12(g_tTex1df4) DescriptorSet 0
Decorate 12(g_tTex1df4) Binding 0
MemberDecorate 27(VS_OUTPUT) 0 BuiltIn FragCoord
Decorate 39(g_sSamp) DescriptorSet 0
Decorate 39(g_sSamp) Binding 0
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 0