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