Home | History | Annotate | Download | only in baseResults
      1 spv.computeShaderDerivatives2.comp
      2 // Module Version 10000
      3 // Generated by (magic number): 80007
      4 // Id's are bound by 212
      5 
      6                               Capability Shader
      7                               Capability DerivativeControl
      8                               Capability ComputeDerivativeGroupLinearNV
      9                               Extension  "SPV_NV_compute_shader_derivatives"
     10                1:             ExtInstImport  "GLSL.std.450"
     11                               MemoryModel Logical GLSL450
     12                               EntryPoint GLCompute 4  "main"
     13                               ExecutionMode 4 LocalSize 2 4 1
     14                               ExecutionMode 4 DerivativeGroupLinearNV
     15                               Source ESSL 320
     16                               SourceExtension  "GL_NV_compute_shader_derivatives"
     17                               Name 4  "main"
     18                               Name 10  "block"
     19                               MemberName 10(block) 0  "fDerivativeX"
     20                               MemberName 10(block) 1  "fDerivativeY"
     21                               MemberName 10(block) 2  "fDerivativeWidth"
     22                               MemberName 10(block) 3  "fCoarseDerivativeX"
     23                               MemberName 10(block) 4  "fCoarseDerivativeY"
     24                               MemberName 10(block) 5  "fCoarseDerivativeWidth"
     25                               MemberName 10(block) 6  "fFineDerivativeX"
     26                               MemberName 10(block) 7  "fFineDerivativeY"
     27                               MemberName 10(block) 8  "fFineDerivativeWidth"
     28                               MemberName 10(block) 9  "fX"
     29                               MemberName 10(block) 10  "fY"
     30                               MemberName 10(block) 11  "v2DerivativeX"
     31                               MemberName 10(block) 12  "v2DerivativeY"
     32                               MemberName 10(block) 13  "v2DerivativeWidth"
     33                               MemberName 10(block) 14  "v2CoarseDerivativeX"
     34                               MemberName 10(block) 15  "v2CoarseDerivativeY"
     35                               MemberName 10(block) 16  "v2CoarseDerivativeWidth"
     36                               MemberName 10(block) 17  "v2FineDerivativeX"
     37                               MemberName 10(block) 18  "v2FineDerivativeY"
     38                               MemberName 10(block) 19  "v2FineDerivativeWidth"
     39                               MemberName 10(block) 20  "v2X"
     40                               MemberName 10(block) 21  "v2Y"
     41                               MemberName 10(block) 22  "v3DerivativeX"
     42                               MemberName 10(block) 23  "v3DerivativeY"
     43                               MemberName 10(block) 24  "v3DerivativeWidth"
     44                               MemberName 10(block) 25  "v3CoarseDerivativeX"
     45                               MemberName 10(block) 26  "v3CoarseDerivativeY"
     46                               MemberName 10(block) 27  "v3CoarseDerivativeWidth"
     47                               MemberName 10(block) 28  "v3FineDerivativeX"
     48                               MemberName 10(block) 29  "v3FineDerivativeY"
     49                               MemberName 10(block) 30  "v3FineDerivativeWidth"
     50                               MemberName 10(block) 31  "v3X"
     51                               MemberName 10(block) 32  "v3Y"
     52                               MemberName 10(block) 33  "v4DerivativeX"
     53                               MemberName 10(block) 34  "v4DerivativeY"
     54                               MemberName 10(block) 35  "v4DerivativeWidth"
     55                               MemberName 10(block) 36  "v4CoarseDerivativeX"
     56                               MemberName 10(block) 37  "v4CoarseDerivativeY"
     57                               MemberName 10(block) 38  "v4CoarseDerivativeWidth"
     58                               MemberName 10(block) 39  "v4FineDerivativeX"
     59                               MemberName 10(block) 40  "v4FineDerivativeY"
     60                               MemberName 10(block) 41  "v4FineDerivativeWidth"
     61                               MemberName 10(block) 42  "v4X"
     62                               MemberName 10(block) 43  "v4Y"
     63                               Name 12  ""
     64                               MemberDecorate 10(block) 0 Offset 0
     65                               MemberDecorate 10(block) 1 Offset 4
     66                               MemberDecorate 10(block) 2 Offset 8
     67                               MemberDecorate 10(block) 3 Offset 12
     68                               MemberDecorate 10(block) 4 Offset 16
     69                               MemberDecorate 10(block) 5 Offset 20
     70                               MemberDecorate 10(block) 6 Offset 24
     71                               MemberDecorate 10(block) 7 Offset 28
     72                               MemberDecorate 10(block) 8 Offset 32
     73                               MemberDecorate 10(block) 9 Offset 36
     74                               MemberDecorate 10(block) 10 Offset 40
     75                               MemberDecorate 10(block) 11 Offset 48
     76                               MemberDecorate 10(block) 12 Offset 56
     77                               MemberDecorate 10(block) 13 Offset 64
     78                               MemberDecorate 10(block) 14 Offset 72
     79                               MemberDecorate 10(block) 15 Offset 80
     80                               MemberDecorate 10(block) 16 Offset 88
     81                               MemberDecorate 10(block) 17 Offset 96
     82                               MemberDecorate 10(block) 18 Offset 104
     83                               MemberDecorate 10(block) 19 Offset 112
     84                               MemberDecorate 10(block) 20 Offset 120
     85                               MemberDecorate 10(block) 21 Offset 128
     86                               MemberDecorate 10(block) 22 Offset 144
     87                               MemberDecorate 10(block) 23 Offset 160
     88                               MemberDecorate 10(block) 24 Offset 176
     89                               MemberDecorate 10(block) 25 Offset 192
     90                               MemberDecorate 10(block) 26 Offset 208
     91                               MemberDecorate 10(block) 27 Offset 224
     92                               MemberDecorate 10(block) 28 Offset 240
     93                               MemberDecorate 10(block) 29 Offset 256
     94                               MemberDecorate 10(block) 30 Offset 272
     95                               MemberDecorate 10(block) 31 Offset 288
     96                               MemberDecorate 10(block) 32 Offset 304
     97                               MemberDecorate 10(block) 33 Offset 320
     98                               MemberDecorate 10(block) 34 Offset 336
     99                               MemberDecorate 10(block) 35 Offset 352
    100                               MemberDecorate 10(block) 36 Offset 368
    101                               MemberDecorate 10(block) 37 Offset 384
    102                               MemberDecorate 10(block) 38 Offset 400
    103                               MemberDecorate 10(block) 39 Offset 416
    104                               MemberDecorate 10(block) 40 Offset 432
    105                               MemberDecorate 10(block) 41 Offset 448
    106                               MemberDecorate 10(block) 42 Offset 464
    107                               MemberDecorate 10(block) 43 Offset 480
    108                               Decorate 10(block) BufferBlock
    109                               Decorate 12 DescriptorSet 0
    110                               Decorate 12 Binding 0
    111                               Decorate 211 BuiltIn WorkgroupSize
    112                2:             TypeVoid
    113                3:             TypeFunction 2
    114                6:             TypeFloat 32
    115                7:             TypeVector 6(float) 2
    116                8:             TypeVector 6(float) 3
    117                9:             TypeVector 6(float) 4
    118        10(block):             TypeStruct 6(float) 6(float) 6(float) 6(float) 6(float) 6(float) 6(float) 6(float) 6(float) 6(float) 6(float) 7(fvec2) 7(fvec2) 7(fvec2) 7(fvec2) 7(fvec2) 7(fvec2) 7(fvec2) 7(fvec2) 7(fvec2) 7(fvec2) 7(fvec2) 8(fvec3) 8(fvec3) 8(fvec3) 8(fvec3) 8(fvec3) 8(fvec3) 8(fvec3) 8(fvec3) 8(fvec3) 8(fvec3) 8(fvec3) 9(fvec4) 9(fvec4) 9(fvec4) 9(fvec4) 9(fvec4) 9(fvec4) 9(fvec4) 9(fvec4) 9(fvec4) 9(fvec4) 9(fvec4)
    119               11:             TypePointer Uniform 10(block)
    120               12:     11(ptr) Variable Uniform
    121               13:             TypeInt 32 1
    122               14:     13(int) Constant 0
    123               15:     13(int) Constant 9
    124               16:             TypePointer Uniform 6(float)
    125               21:     13(int) Constant 1
    126               22:     13(int) Constant 10
    127               27:     13(int) Constant 2
    128               32:     13(int) Constant 3
    129               37:     13(int) Constant 4
    130               42:     13(int) Constant 5
    131               47:     13(int) Constant 6
    132               52:     13(int) Constant 7
    133               57:     13(int) Constant 8
    134               62:     13(int) Constant 11
    135               63:     13(int) Constant 20
    136               64:             TypePointer Uniform 7(fvec2)
    137               69:     13(int) Constant 12
    138               70:     13(int) Constant 21
    139               75:     13(int) Constant 13
    140               80:     13(int) Constant 14
    141               85:     13(int) Constant 15
    142               90:     13(int) Constant 16
    143               95:     13(int) Constant 17
    144              100:     13(int) Constant 18
    145              105:     13(int) Constant 19
    146              110:     13(int) Constant 22
    147              111:     13(int) Constant 31
    148              112:             TypePointer Uniform 8(fvec3)
    149              117:     13(int) Constant 23
    150              118:     13(int) Constant 32
    151              123:     13(int) Constant 24
    152              128:     13(int) Constant 25
    153              133:     13(int) Constant 26
    154              138:     13(int) Constant 27
    155              143:     13(int) Constant 28
    156              148:     13(int) Constant 29
    157              153:     13(int) Constant 30
    158              158:     13(int) Constant 33
    159              159:     13(int) Constant 42
    160              160:             TypePointer Uniform 9(fvec4)
    161              165:     13(int) Constant 34
    162              166:     13(int) Constant 43
    163              171:     13(int) Constant 35
    164              176:     13(int) Constant 36
    165              181:     13(int) Constant 37
    166              186:     13(int) Constant 38
    167              191:     13(int) Constant 39
    168              196:     13(int) Constant 40
    169              201:     13(int) Constant 41
    170              206:             TypeInt 32 0
    171              207:             TypeVector 206(int) 3
    172              208:    206(int) Constant 2
    173              209:    206(int) Constant 4
    174              210:    206(int) Constant 1
    175              211:  207(ivec3) ConstantComposite 208 209 210
    176          4(main):           2 Function None 3
    177                5:             Label
    178               17:     16(ptr) AccessChain 12 15
    179               18:    6(float) Load 17
    180               19:    6(float) DPdx 18
    181               20:     16(ptr) AccessChain 12 14
    182                               Store 20 19
    183               23:     16(ptr) AccessChain 12 22
    184               24:    6(float) Load 23
    185               25:    6(float) DPdy 24
    186               26:     16(ptr) AccessChain 12 21
    187                               Store 26 25
    188               28:     16(ptr) AccessChain 12 15
    189               29:    6(float) Load 28
    190               30:    6(float) Fwidth 29
    191               31:     16(ptr) AccessChain 12 27
    192                               Store 31 30
    193               33:     16(ptr) AccessChain 12 15
    194               34:    6(float) Load 33
    195               35:    6(float) DPdxCoarse 34
    196               36:     16(ptr) AccessChain 12 32
    197                               Store 36 35
    198               38:     16(ptr) AccessChain 12 22
    199               39:    6(float) Load 38
    200               40:    6(float) DPdyCoarse 39
    201               41:     16(ptr) AccessChain 12 37
    202                               Store 41 40
    203               43:     16(ptr) AccessChain 12 15
    204               44:    6(float) Load 43
    205               45:    6(float) FwidthCoarse 44
    206               46:     16(ptr) AccessChain 12 42
    207                               Store 46 45
    208               48:     16(ptr) AccessChain 12 15
    209               49:    6(float) Load 48
    210               50:    6(float) DPdxFine 49
    211               51:     16(ptr) AccessChain 12 47
    212                               Store 51 50
    213               53:     16(ptr) AccessChain 12 22
    214               54:    6(float) Load 53
    215               55:    6(float) DPdyFine 54
    216               56:     16(ptr) AccessChain 12 52
    217                               Store 56 55
    218               58:     16(ptr) AccessChain 12 15
    219               59:    6(float) Load 58
    220               60:    6(float) FwidthFine 59
    221               61:     16(ptr) AccessChain 12 57
    222                               Store 61 60
    223               65:     64(ptr) AccessChain 12 63
    224               66:    7(fvec2) Load 65
    225               67:    7(fvec2) DPdx 66
    226               68:     64(ptr) AccessChain 12 62
    227                               Store 68 67
    228               71:     64(ptr) AccessChain 12 70
    229               72:    7(fvec2) Load 71
    230               73:    7(fvec2) DPdy 72
    231               74:     64(ptr) AccessChain 12 69
    232                               Store 74 73
    233               76:     64(ptr) AccessChain 12 63
    234               77:    7(fvec2) Load 76
    235               78:    7(fvec2) Fwidth 77
    236               79:     64(ptr) AccessChain 12 75
    237                               Store 79 78
    238               81:     64(ptr) AccessChain 12 63
    239               82:    7(fvec2) Load 81
    240               83:    7(fvec2) DPdxCoarse 82
    241               84:     64(ptr) AccessChain 12 80
    242                               Store 84 83
    243               86:     64(ptr) AccessChain 12 70
    244               87:    7(fvec2) Load 86
    245               88:    7(fvec2) DPdyCoarse 87
    246               89:     64(ptr) AccessChain 12 85
    247                               Store 89 88
    248               91:     64(ptr) AccessChain 12 63
    249               92:    7(fvec2) Load 91
    250               93:    7(fvec2) FwidthCoarse 92
    251               94:     64(ptr) AccessChain 12 90
    252                               Store 94 93
    253               96:     64(ptr) AccessChain 12 63
    254               97:    7(fvec2) Load 96
    255               98:    7(fvec2) DPdxFine 97
    256               99:     64(ptr) AccessChain 12 95
    257                               Store 99 98
    258              101:     64(ptr) AccessChain 12 70
    259              102:    7(fvec2) Load 101
    260              103:    7(fvec2) DPdyFine 102
    261              104:     64(ptr) AccessChain 12 100
    262                               Store 104 103
    263              106:     64(ptr) AccessChain 12 63
    264              107:    7(fvec2) Load 106
    265              108:    7(fvec2) FwidthFine 107
    266              109:     64(ptr) AccessChain 12 105
    267                               Store 109 108
    268              113:    112(ptr) AccessChain 12 111
    269              114:    8(fvec3) Load 113
    270              115:    8(fvec3) DPdx 114
    271              116:    112(ptr) AccessChain 12 110
    272                               Store 116 115
    273              119:    112(ptr) AccessChain 12 118
    274              120:    8(fvec3) Load 119
    275              121:    8(fvec3) DPdy 120
    276              122:    112(ptr) AccessChain 12 117
    277                               Store 122 121
    278              124:    112(ptr) AccessChain 12 111
    279              125:    8(fvec3) Load 124
    280              126:    8(fvec3) Fwidth 125
    281              127:    112(ptr) AccessChain 12 123
    282                               Store 127 126
    283              129:    112(ptr) AccessChain 12 111
    284              130:    8(fvec3) Load 129
    285              131:    8(fvec3) DPdxCoarse 130
    286              132:    112(ptr) AccessChain 12 128
    287                               Store 132 131
    288              134:    112(ptr) AccessChain 12 118
    289              135:    8(fvec3) Load 134
    290              136:    8(fvec3) DPdyCoarse 135
    291              137:    112(ptr) AccessChain 12 133
    292                               Store 137 136
    293              139:    112(ptr) AccessChain 12 111
    294              140:    8(fvec3) Load 139
    295              141:    8(fvec3) FwidthCoarse 140
    296              142:    112(ptr) AccessChain 12 138
    297                               Store 142 141
    298              144:    112(ptr) AccessChain 12 111
    299              145:    8(fvec3) Load 144
    300              146:    8(fvec3) DPdxFine 145
    301              147:    112(ptr) AccessChain 12 143
    302                               Store 147 146
    303              149:    112(ptr) AccessChain 12 118
    304              150:    8(fvec3) Load 149
    305              151:    8(fvec3) DPdyFine 150
    306              152:    112(ptr) AccessChain 12 148
    307                               Store 152 151
    308              154:    112(ptr) AccessChain 12 111
    309              155:    8(fvec3) Load 154
    310              156:    8(fvec3) FwidthFine 155
    311              157:    112(ptr) AccessChain 12 153
    312                               Store 157 156
    313              161:    160(ptr) AccessChain 12 159
    314              162:    9(fvec4) Load 161
    315              163:    9(fvec4) DPdx 162
    316              164:    160(ptr) AccessChain 12 158
    317                               Store 164 163
    318              167:    160(ptr) AccessChain 12 166
    319              168:    9(fvec4) Load 167
    320              169:    9(fvec4) DPdy 168
    321              170:    160(ptr) AccessChain 12 165
    322                               Store 170 169
    323              172:    160(ptr) AccessChain 12 159
    324              173:    9(fvec4) Load 172
    325              174:    9(fvec4) Fwidth 173
    326              175:    160(ptr) AccessChain 12 171
    327                               Store 175 174
    328              177:    160(ptr) AccessChain 12 159
    329              178:    9(fvec4) Load 177
    330              179:    9(fvec4) DPdxCoarse 178
    331              180:    160(ptr) AccessChain 12 176
    332                               Store 180 179
    333              182:    160(ptr) AccessChain 12 166
    334              183:    9(fvec4) Load 182
    335              184:    9(fvec4) DPdyCoarse 183
    336              185:    160(ptr) AccessChain 12 181
    337                               Store 185 184
    338              187:    160(ptr) AccessChain 12 159
    339              188:    9(fvec4) Load 187
    340              189:    9(fvec4) FwidthCoarse 188
    341              190:    160(ptr) AccessChain 12 186
    342                               Store 190 189
    343              192:    160(ptr) AccessChain 12 159
    344              193:    9(fvec4) Load 192
    345              194:    9(fvec4) DPdxFine 193
    346              195:    160(ptr) AccessChain 12 191
    347                               Store 195 194
    348              197:    160(ptr) AccessChain 12 166
    349              198:    9(fvec4) Load 197
    350              199:    9(fvec4) DPdyFine 198
    351              200:    160(ptr) AccessChain 12 196
    352                               Store 200 199
    353              202:    160(ptr) AccessChain 12 159
    354              203:    9(fvec4) Load 202
    355              204:    9(fvec4) FwidthFine 203
    356              205:    160(ptr) AccessChain 12 201
    357                               Store 205 204
    358                               Return
    359                               FunctionEnd
    360