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