GPU and render regression tests: headless Vulkan, compute shaders against golden outputs #1246
Labels
No labels
amd
avatars
bug
builder
cannot-reproduce
crash
epic
feature
from-viewer
gl-removal
known-limitation
monitoring
parity
perf
platform
priority
critical
priority
high
priority
low
priority
medium
provenance
rendering
rt
status
in-progress
status
testing
status
up-next
triage
ui
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sky_line/Slipstream#1246
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #1243.
Scope.
indra/vktestalready exists; check what it provides before building anything) that creates a Vulkan instance with no surface, picks lavapipe (Mesa software ICD) on CI and any real GPU locally, loads the embedded SPIR-V the viewer ships (indra/vkclean/shadersto embedded SPIR-V), dispatches compute shaders on fixed inputs and compares with golden outputs.corescenario or a canned offscreen frame) compared with perceptual tolerance (e.g. per-pixel max delta plus a mean-error budget) and a tool to regenerate goldens (scripts/testing/regen_goldens.py) with a diff report artifact.gpu(needs lavapipe or a GPU, runs in CI nightly and on demand, never in the default build),gpu-real(needs a physical GPU: the garbage test box, 1080 / 3060 / 5090).make validate).Acceptance criteria.
ctest -L gpuruns on a CI machine with onlymesa-vulkan-driversinstalled (setVK_ICD_FILENAMESto lavapipe; document the package names for the CI box).gpulabel time under 60 s on lavapipe; nothing from this ticket in the default build's 5 s budget.Effort. About 1 week for the headless runner, three shader tests and lavapipe CI; +3 days for the golden-image comparison once #1241 exists. Risk: lavapipe feature coverage (subgroup ops, bindless / descriptor indexing,
REQUIRE_FULL_SUBGROUPSshaders): any shader that needs a capability lavapipe lacks gets thegpu-reallabel instead.