aboutsummaryrefslogtreecommitdiff
path: root/Test/baseResults/hlsl.structStructName.frag.out
blob: ce305b06951f1f912c9a3846e70c305c92502d32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
hlsl.structStructName.frag
Shader version: 500
gl_FragCoord origin is upper left
0:? Sequence
0:4  Function Definition: @main( ( temp int)
0:4    Function Parameters: 
0:?     Sequence
0:6      Branch: Return with expression
0:6        s: direct index for structure ( temp int)
0:6          't' ( temp structure{ temp int s})
0:6          Constant:
0:6            0 (const int)
0:4  Function Definition: main( ( temp void)
0:4    Function Parameters: 
0:?     Sequence
0:4      move second child to first child ( temp int)
0:?         '@entryPointOutput' (layout( location=0) out int)
0:4        Function Call: @main( ( temp int)
0:?   Linker Objects
0:?     '@entryPointOutput' (layout( location=0) out int)


Linked fragment stage:


Shader version: 500
gl_FragCoord origin is upper left
0:? Sequence
0:4  Function Definition: @main( ( temp int)
0:4    Function Parameters: 
0:?     Sequence
0:6      Branch: Return with expression
0:6        s: direct index for structure ( temp int)
0:6          't' ( temp structure{ temp int s})
0:6          Constant:
0:6            0 (const int)
0:4  Function Definition: main( ( temp void)
0:4    Function Parameters: 
0:?     Sequence
0:4      move second child to first child ( temp int)
0:?         '@entryPointOutput' (layout( location=0) out int)
0:4        Function Call: @main( ( temp int)
0:?   Linker Objects
0:?     '@entryPointOutput' (layout( location=0) out int)

// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 22

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Fragment 4  "main" 20
                              ExecutionMode 4 OriginUpperLeft
                              Source HLSL 500
                              Name 4  "main"
                              Name 8  "@main("
                              Name 10  "S"
                              MemberName 10(S) 0  "s"
                              Name 12  "t"
                              Name 20  "@entryPointOutput"
                              Decorate 20(@entryPointOutput) Location 0
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeInt 32 1
               7:             TypeFunction 6(int)
           10(S):             TypeStruct 6(int)
              11:             TypePointer Function 10(S)
              13:      6(int) Constant 0
              14:             TypePointer Function 6(int)
              19:             TypePointer Output 6(int)
20(@entryPointOutput):     19(ptr) Variable Output
         4(main):           2 Function None 3
               5:             Label
              21:      6(int) FunctionCall 8(@main()
                              Store 20(@entryPointOutput) 21
                              Return
                              FunctionEnd
       8(@main():      6(int) Function None 7
               9:             Label
           12(t):     11(ptr) Variable Function
              15:     14(ptr) AccessChain 12(t) 13
              16:      6(int) Load 15
                              ReturnValue 16
                              FunctionEnd