Commit 90be6a9
committed
examples/10-graphics: Windows stays at "builds", and the reason is a missing package
A run step was written, pushed and measured. The manifest declaration worked --
`Provisioning [xlings.workspace] entries (xim:mesa-lavapipe@26.2.0)` -- the ICD
was found in the store, and the program still printed `render unavailable`,
which is its own report that it enumerated no device.
The missing piece is the LOADER, not the driver. `compat:vulkan` ships an import
library on Windows and nothing else, and its own descriptor says why: a
statically linked loader cannot work there, because upstream's
`loader_windows.c` creates its locks in `DllMain` and a static library never
gets one. The runtime `vulkan-1.dll` is expected to come from an installed GPU
driver, and a GitHub Windows runner has none. `xim:mesa-lavapipe`'s Windows
payload is an ICD that imports system DLLs and carries no loader either.
So the example declares no device on Windows: an entry there would download
56 MB that nothing can load. macOS is not in the same position -- `compat:vulkan`
builds the loader from source everywhere except Windows -- and keeps its run
step.
Raising this platform to "runs" needs a Windows `vulkan-1.dll` package, which is
a packaging decision rather than a step in a workflow file. Both the workflow
and the example manifest record the measurement where someone looking for the
gap will find it.1 parent 1a3fa43 commit 90be6a9
2 files changed
Lines changed: 32 additions & 40 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
| 459 | + | |
| 460 | + | |
463 | 461 | | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
468 | 467 | | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
497 | 481 | | |
498 | 482 | | |
499 | 483 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
69 | 77 | | |
70 | 78 | | |
71 | 79 | | |
| |||
0 commit comments