Home | History | Annotate | Download | only in baseResults
      1 hlsl.precedence2.frag
      2 Shader version: 500
      3 gl_FragCoord origin is upper left
      4 0:? Sequence
      5 0:7  Function Definition: @PixelShaderFunction(i1;i1;i1;i1; ( temp int)
      6 0:7    Function Parameters: 
      7 0:7      'a1' ( in int)
      8 0:7      'a2' ( in int)
      9 0:7      'a3' ( in int)
     10 0:7      'a4' ( in int)
     11 0:?     Sequence
     12 0:8      Branch: Return with expression
     13 0:8        add ( temp int)
     14 0:8          left-shift ( temp int)
     15 0:8            add ( temp int)
     16 0:8              component-wise multiply ( temp int)
     17 0:8                'a1' ( in int)
     18 0:8                'a2' ( in int)
     19 0:8              'a3' ( in int)
     20 0:8            'a4' ( in int)
     21 0:8          left-shift ( temp int)
     22 0:8            'a1' ( in int)
     23 0:8            add ( temp int)
     24 0:8              'a2' ( in int)
     25 0:8              component-wise multiply ( temp int)
     26 0:8                'a3' ( in int)
     27 0:8                'a4' ( in int)
     28 0:7  Function Definition: PixelShaderFunction( ( temp void)
     29 0:7    Function Parameters: 
     30 0:?     Sequence
     31 0:7      move second child to first child ( temp int)
     32 0:?         'a1' ( temp int)
     33 0:?         'a1' (layout( location=0) flat in int)
     34 0:7      move second child to first child ( temp int)
     35 0:?         'a2' ( temp int)
     36 0:?         'a2' (layout( location=1) flat in int)
     37 0:7      move second child to first child ( temp int)
     38 0:?         'a3' ( temp int)
     39 0:?         'a3' (layout( location=2) flat in int)
     40 0:7      move second child to first child ( temp int)
     41 0:?         'a4' ( temp int)
     42 0:?         'a4' (layout( location=3) flat in int)
     43 0:7      move second child to first child ( temp int)
     44 0:?         '@entryPointOutput' (layout( location=0) out int)
     45 0:7        Function Call: @PixelShaderFunction(i1;i1;i1;i1; ( temp int)
     46 0:?           'a1' ( temp int)
     47 0:?           'a2' ( temp int)
     48 0:?           'a3' ( temp int)
     49 0:?           'a4' ( temp int)
     50 0:?   Linker Objects
     51 0:?     '@entryPointOutput' (layout( location=0) out int)
     52 0:?     'a1' (layout( location=0) flat in int)
     53 0:?     'a2' (layout( location=1) flat in int)
     54 0:?     'a3' (layout( location=2) flat in int)
     55 0:?     'a4' (layout( location=3) flat in int)
     56 
     57 
     58 Linked fragment stage:
     59 
     60 
     61 Shader version: 500
     62 gl_FragCoord origin is upper left
     63 0:? Sequence
     64 0:7  Function Definition: @PixelShaderFunction(i1;i1;i1;i1; ( temp int)
     65 0:7    Function Parameters: 
     66 0:7      'a1' ( in int)
     67 0:7      'a2' ( in int)
     68 0:7      'a3' ( in int)
     69 0:7      'a4' ( in int)
     70 0:?     Sequence
     71 0:8      Branch: Return with expression
     72 0:8        add ( temp int)
     73 0:8          left-shift ( temp int)
     74 0:8            add ( temp int)
     75 0:8              component-wise multiply ( temp int)
     76 0:8                'a1' ( in int)
     77 0:8                'a2' ( in int)
     78 0:8              'a3' ( in int)
     79 0:8            'a4' ( in int)
     80 0:8          left-shift ( temp int)
     81 0:8            'a1' ( in int)
     82 0:8            add ( temp int)
     83 0:8              'a2' ( in int)
     84 0:8              component-wise multiply ( temp int)
     85 0:8                'a3' ( in int)
     86 0:8                'a4' ( in int)
     87 0:7  Function Definition: PixelShaderFunction( ( temp void)
     88 0:7    Function Parameters: 
     89 0:?     Sequence
     90 0:7      move second child to first child ( temp int)
     91 0:?         'a1' ( temp int)
     92 0:?         'a1' (layout( location=0) flat in int)
     93 0:7      move second child to first child ( temp int)
     94 0:?         'a2' ( temp int)
     95 0:?         'a2' (layout( location=1) flat in int)
     96 0:7      move second child to first child ( temp int)
     97 0:?         'a3' ( temp int)
     98 0:?         'a3' (layout( location=2) flat in int)
     99 0:7      move second child to first child ( temp int)
    100 0:?         'a4' ( temp int)
    101 0:?         'a4' (layout( location=3) flat in int)
    102 0:7      move second child to first child ( temp int)
    103 0:?         '@entryPointOutput' (layout( location=0) out int)
    104 0:7        Function Call: @PixelShaderFunction(i1;i1;i1;i1; ( temp int)
    105 0:?           'a1' ( temp int)
    106 0:?           'a2' ( temp int)
    107 0:?           'a3' ( temp int)
    108 0:?           'a4' ( temp int)
    109 0:?   Linker Objects
    110 0:?     '@entryPointOutput' (layout( location=0) out int)
    111 0:?     'a1' (layout( location=0) flat in int)
    112 0:?     'a2' (layout( location=1) flat in int)
    113 0:?     'a3' (layout( location=2) flat in int)
    114 0:?     'a4' (layout( location=3) flat in int)
    115 
    116 // Module Version 10000
    117 // Generated by (magic number): 80007
    118 // Id's are bound by 56
    119 
    120                               Capability Shader
    121                1:             ExtInstImport  "GLSL.std.450"
    122                               MemoryModel Logical GLSL450
    123                               EntryPoint Fragment 4  "PixelShaderFunction" 34 37 40 43 46
    124                               ExecutionMode 4 OriginUpperLeft
    125                               Source HLSL 500
    126                               Name 4  "PixelShaderFunction"
    127                               Name 13  "@PixelShaderFunction(i1;i1;i1;i1;"
    128                               Name 9  "a1"
    129                               Name 10  "a2"
    130                               Name 11  "a3"
    131                               Name 12  "a4"
    132                               Name 32  "a1"
    133                               Name 34  "a1"
    134                               Name 36  "a2"
    135                               Name 37  "a2"
    136                               Name 39  "a3"
    137                               Name 40  "a3"
    138                               Name 42  "a4"
    139                               Name 43  "a4"
    140                               Name 46  "@entryPointOutput"
    141                               Name 47  "param"
    142                               Name 49  "param"
    143                               Name 51  "param"
    144                               Name 53  "param"
    145                               Decorate 34(a1) Flat
    146                               Decorate 34(a1) Location 0
    147                               Decorate 37(a2) Flat
    148                               Decorate 37(a2) Location 1
    149                               Decorate 40(a3) Flat
    150                               Decorate 40(a3) Location 2
    151                               Decorate 43(a4) Flat
    152                               Decorate 43(a4) Location 3
    153                               Decorate 46(@entryPointOutput) Location 0
    154                2:             TypeVoid
    155                3:             TypeFunction 2
    156                6:             TypeInt 32 1
    157                7:             TypePointer Function 6(int)
    158                8:             TypeFunction 6(int) 7(ptr) 7(ptr) 7(ptr) 7(ptr)
    159               33:             TypePointer Input 6(int)
    160           34(a1):     33(ptr) Variable Input
    161           37(a2):     33(ptr) Variable Input
    162           40(a3):     33(ptr) Variable Input
    163           43(a4):     33(ptr) Variable Input
    164               45:             TypePointer Output 6(int)
    165 46(@entryPointOutput):     45(ptr) Variable Output
    166 4(PixelShaderFunction):           2 Function None 3
    167                5:             Label
    168           32(a1):      7(ptr) Variable Function
    169           36(a2):      7(ptr) Variable Function
    170           39(a3):      7(ptr) Variable Function
    171           42(a4):      7(ptr) Variable Function
    172        47(param):      7(ptr) Variable Function
    173        49(param):      7(ptr) Variable Function
    174        51(param):      7(ptr) Variable Function
    175        53(param):      7(ptr) Variable Function
    176               35:      6(int) Load 34(a1)
    177                               Store 32(a1) 35
    178               38:      6(int) Load 37(a2)
    179                               Store 36(a2) 38
    180               41:      6(int) Load 40(a3)
    181                               Store 39(a3) 41
    182               44:      6(int) Load 43(a4)
    183                               Store 42(a4) 44
    184               48:      6(int) Load 32(a1)
    185                               Store 47(param) 48
    186               50:      6(int) Load 36(a2)
    187                               Store 49(param) 50
    188               52:      6(int) Load 39(a3)
    189                               Store 51(param) 52
    190               54:      6(int) Load 42(a4)
    191                               Store 53(param) 54
    192               55:      6(int) FunctionCall 13(@PixelShaderFunction(i1;i1;i1;i1;) 47(param) 49(param) 51(param) 53(param)
    193                               Store 46(@entryPointOutput) 55
    194                               Return
    195                               FunctionEnd
    196 13(@PixelShaderFunction(i1;i1;i1;i1;):      6(int) Function None 8
    197            9(a1):      7(ptr) FunctionParameter
    198           10(a2):      7(ptr) FunctionParameter
    199           11(a3):      7(ptr) FunctionParameter
    200           12(a4):      7(ptr) FunctionParameter
    201               14:             Label
    202               15:      6(int) Load 9(a1)
    203               16:      6(int) Load 10(a2)
    204               17:      6(int) IMul 15 16
    205               18:      6(int) Load 11(a3)
    206               19:      6(int) IAdd 17 18
    207               20:      6(int) Load 12(a4)
    208               21:      6(int) ShiftLeftLogical 19 20
    209               22:      6(int) Load 9(a1)
    210               23:      6(int) Load 10(a2)
    211               24:      6(int) Load 11(a3)
    212               25:      6(int) Load 12(a4)
    213               26:      6(int) IMul 24 25
    214               27:      6(int) IAdd 23 26
    215               28:      6(int) ShiftLeftLogical 22 27
    216               29:      6(int) IAdd 21 28
    217                               ReturnValue 29
    218                               FunctionEnd
    219