Skip to content

Commit 806c5d8

Browse files
Update golden YAML for tests (#260)
1 parent e4b225a commit 806c5d8

12 files changed

+127
-0
lines changed

tests/glsl/readonly_writeonly.spv.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,4 +214,6 @@ module:
214214
output_variables:
215215
push_constant_count: 0,
216216
push_constants:
217+
specialization_constant_count: 0,
218+
specialization_constants:
217219
...

tests/hlsl/user_type.spv.yaml

Lines changed: 49 additions & 0 deletions
Large diffs are not rendered by default.

tests/spec_constants/basic.spv.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ all_descriptor_bindings:
109109
binding: 0
110110
input_attachment_index: 0
111111
set: 0
112+
decoration_flags: 0x00000000 # NONE
112113
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
113114
resource_type: 8 # UAV
114115
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown

tests/spec_constants/convert.spv.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,7 @@ all_descriptor_bindings:
409409
binding: 0
410410
input_attachment_index: 0
411411
set: 0
412+
decoration_flags: 0x00000000 # NONE
412413
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
413414
resource_type: 8 # UAV
414415
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -425,6 +426,7 @@ all_descriptor_bindings:
425426
binding: 1
426427
input_attachment_index: 0
427428
set: 0
429+
decoration_flags: 0x00000000 # NONE
428430
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
429431
resource_type: 8 # UAV
430432
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -441,6 +443,7 @@ all_descriptor_bindings:
441443
binding: 2
442444
input_attachment_index: 0
443445
set: 0
446+
decoration_flags: 0x00000000 # NONE
444447
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
445448
resource_type: 8 # UAV
446449
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -457,6 +460,7 @@ all_descriptor_bindings:
457460
binding: 3
458461
input_attachment_index: 0
459462
set: 0
463+
decoration_flags: 0x00000000 # NONE
460464
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
461465
resource_type: 8 # UAV
462466
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown

tests/spec_constants/ssbo_array.spv.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ all_descriptor_bindings:
109109
binding: 0
110110
input_attachment_index: 0
111111
set: 0
112+
decoration_flags: 0x00000000 # NONE
112113
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
113114
resource_type: 8 # UAV
114115
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown

tests/spec_constants/test_32bit.spv.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3109,6 +3109,7 @@ all_descriptor_bindings:
31093109
binding: 0
31103110
input_attachment_index: 0
31113111
set: 0
3112+
decoration_flags: 0x00000000 # NONE
31123113
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
31133114
resource_type: 8 # UAV
31143115
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3125,6 +3126,7 @@ all_descriptor_bindings:
31253126
binding: 1
31263127
input_attachment_index: 0
31273128
set: 0
3129+
decoration_flags: 0x00000000 # NONE
31283130
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
31293131
resource_type: 8 # UAV
31303132
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3141,6 +3143,7 @@ all_descriptor_bindings:
31413143
binding: 2
31423144
input_attachment_index: 0
31433145
set: 0
3146+
decoration_flags: 0x00000000 # NONE
31443147
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
31453148
resource_type: 8 # UAV
31463149
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3157,6 +3160,7 @@ all_descriptor_bindings:
31573160
binding: 3
31583161
input_attachment_index: 0
31593162
set: 0
3163+
decoration_flags: 0x00000000 # NONE
31603164
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
31613165
resource_type: 8 # UAV
31623166
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3173,6 +3177,7 @@ all_descriptor_bindings:
31733177
binding: 4
31743178
input_attachment_index: 0
31753179
set: 0
3180+
decoration_flags: 0x00000000 # NONE
31763181
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
31773182
resource_type: 8 # UAV
31783183
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3189,6 +3194,7 @@ all_descriptor_bindings:
31893194
binding: 5
31903195
input_attachment_index: 0
31913196
set: 0
3197+
decoration_flags: 0x00000000 # NONE
31923198
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
31933199
resource_type: 8 # UAV
31943200
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3205,6 +3211,7 @@ all_descriptor_bindings:
32053211
binding: 6
32063212
input_attachment_index: 0
32073213
set: 0
3214+
decoration_flags: 0x00000000 # NONE
32083215
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
32093216
resource_type: 8 # UAV
32103217
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3221,6 +3228,7 @@ all_descriptor_bindings:
32213228
binding: 7
32223229
input_attachment_index: 0
32233230
set: 0
3231+
decoration_flags: 0x00000000 # NONE
32243232
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
32253233
resource_type: 8 # UAV
32263234
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3237,6 +3245,7 @@ all_descriptor_bindings:
32373245
binding: 8
32383246
input_attachment_index: 0
32393247
set: 0
3248+
decoration_flags: 0x00000000 # NONE
32403249
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
32413250
resource_type: 8 # UAV
32423251
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3253,6 +3262,7 @@ all_descriptor_bindings:
32533262
binding: 9
32543263
input_attachment_index: 0
32553264
set: 0
3265+
decoration_flags: 0x00000000 # NONE
32563266
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
32573267
resource_type: 8 # UAV
32583268
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3269,6 +3279,7 @@ all_descriptor_bindings:
32693279
binding: 10
32703280
input_attachment_index: 0
32713281
set: 0
3282+
decoration_flags: 0x00000000 # NONE
32723283
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
32733284
resource_type: 8 # UAV
32743285
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3285,6 +3296,7 @@ all_descriptor_bindings:
32853296
binding: 11
32863297
input_attachment_index: 0
32873298
set: 0
3299+
decoration_flags: 0x00000000 # NONE
32883300
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
32893301
resource_type: 8 # UAV
32903302
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3301,6 +3313,7 @@ all_descriptor_bindings:
33013313
binding: 12
33023314
input_attachment_index: 0
33033315
set: 0
3316+
decoration_flags: 0x00000000 # NONE
33043317
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
33053318
resource_type: 8 # UAV
33063319
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3317,6 +3330,7 @@ all_descriptor_bindings:
33173330
binding: 13
33183331
input_attachment_index: 0
33193332
set: 0
3333+
decoration_flags: 0x00000000 # NONE
33203334
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
33213335
resource_type: 8 # UAV
33223336
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3333,6 +3347,7 @@ all_descriptor_bindings:
33333347
binding: 14
33343348
input_attachment_index: 0
33353349
set: 0
3350+
decoration_flags: 0x00000000 # NONE
33363351
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
33373352
resource_type: 8 # UAV
33383353
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3349,6 +3364,7 @@ all_descriptor_bindings:
33493364
binding: 15
33503365
input_attachment_index: 0
33513366
set: 0
3367+
decoration_flags: 0x00000000 # NONE
33523368
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
33533369
resource_type: 8 # UAV
33543370
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3365,6 +3381,7 @@ all_descriptor_bindings:
33653381
binding: 16
33663382
input_attachment_index: 0
33673383
set: 0
3384+
decoration_flags: 0x00000000 # NONE
33683385
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
33693386
resource_type: 8 # UAV
33703387
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3381,6 +3398,7 @@ all_descriptor_bindings:
33813398
binding: 17
33823399
input_attachment_index: 0
33833400
set: 0
3401+
decoration_flags: 0x00000000 # NONE
33843402
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
33853403
resource_type: 8 # UAV
33863404
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3397,6 +3415,7 @@ all_descriptor_bindings:
33973415
binding: 18
33983416
input_attachment_index: 0
33993417
set: 0
3418+
decoration_flags: 0x00000000 # NONE
34003419
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
34013420
resource_type: 8 # UAV
34023421
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3413,6 +3432,7 @@ all_descriptor_bindings:
34133432
binding: 19
34143433
input_attachment_index: 0
34153434
set: 0
3435+
decoration_flags: 0x00000000 # NONE
34163436
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
34173437
resource_type: 8 # UAV
34183438
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3429,6 +3449,7 @@ all_descriptor_bindings:
34293449
binding: 20
34303450
input_attachment_index: 0
34313451
set: 0
3452+
decoration_flags: 0x00000000 # NONE
34323453
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
34333454
resource_type: 8 # UAV
34343455
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3445,6 +3466,7 @@ all_descriptor_bindings:
34453466
binding: 21
34463467
input_attachment_index: 0
34473468
set: 0
3469+
decoration_flags: 0x00000000 # NONE
34483470
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
34493471
resource_type: 8 # UAV
34503472
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3461,6 +3483,7 @@ all_descriptor_bindings:
34613483
binding: 22
34623484
input_attachment_index: 0
34633485
set: 0
3486+
decoration_flags: 0x00000000 # NONE
34643487
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
34653488
resource_type: 8 # UAV
34663489
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3477,6 +3500,7 @@ all_descriptor_bindings:
34773500
binding: 23
34783501
input_attachment_index: 0
34793502
set: 0
3503+
decoration_flags: 0x00000000 # NONE
34803504
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
34813505
resource_type: 8 # UAV
34823506
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3493,6 +3517,7 @@ all_descriptor_bindings:
34933517
binding: 24
34943518
input_attachment_index: 0
34953519
set: 0
3520+
decoration_flags: 0x00000000 # NONE
34963521
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
34973522
resource_type: 8 # UAV
34983523
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3509,6 +3534,7 @@ all_descriptor_bindings:
35093534
binding: 25
35103535
input_attachment_index: 0
35113536
set: 0
3537+
decoration_flags: 0x00000000 # NONE
35123538
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
35133539
resource_type: 8 # UAV
35143540
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3525,6 +3551,7 @@ all_descriptor_bindings:
35253551
binding: 26
35263552
input_attachment_index: 0
35273553
set: 0
3554+
decoration_flags: 0x00000000 # NONE
35283555
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
35293556
resource_type: 8 # UAV
35303557
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3541,6 +3568,7 @@ all_descriptor_bindings:
35413568
binding: 27
35423569
input_attachment_index: 0
35433570
set: 0
3571+
decoration_flags: 0x00000000 # NONE
35443572
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
35453573
resource_type: 8 # UAV
35463574
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3557,6 +3585,7 @@ all_descriptor_bindings:
35573585
binding: 28
35583586
input_attachment_index: 0
35593587
set: 0
3588+
decoration_flags: 0x00000000 # NONE
35603589
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
35613590
resource_type: 8 # UAV
35623591
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3573,6 +3602,7 @@ all_descriptor_bindings:
35733602
binding: 29
35743603
input_attachment_index: 0
35753604
set: 0
3605+
decoration_flags: 0x00000000 # NONE
35763606
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
35773607
resource_type: 8 # UAV
35783608
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown
@@ -3589,6 +3619,7 @@ all_descriptor_bindings:
35893619
binding: 30
35903620
input_attachment_index: 0
35913621
set: 0
3622+
decoration_flags: 0x00000000 # NONE
35923623
descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
35933624
resource_type: 8 # UAV
35943625
image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown

0 commit comments

Comments
 (0)