diff options
| author | TreXito <81475944+TreXito@users.noreply.github.com> | 2026-11-22 22:58:15 +0000 |
|---|---|---|
| committer | TreXito <81475944+TreXito@users.noreply.github.com> | 2026-11-23 11:53:17 +0000 |
| commit | 279898ee6ce736d77e03ca81eeeacde31f4f4f9f (patch) | |
| tree | 9adc7ff30543f6af671d6fd0e3cc1a0628780db3 /runtime/src/tls_host.cpp | |
| parent | 561b65a832218fbb9e6d2effd392a8eef093a3f8 (diff) | |
vk_harness, vk_store_test, vk_texture_test, vk_sampler_test: opt-in validation with LEONIDA_VK_VALIDATION
The four programs that run every pixel, store, texture and sampler case of scripts/run_gpu_tests.py
built their instance without layers and ignored LEONIDA_VK_VALIDATION, and a validation message
never changed their exit code, so a validation run of the suite could not fail on them. Each now
takes the instance setup from runtime/test/vk_validation.h, like vk_compute_test (TEST-877): the
layer, VK_EXT_debug_utils and a messenger when the variable is set, and main ends through
OptInValidation::exit_status, so a counted validation error exits 1 with "N validation errors".
Without the variable nothing changes. docs/testing.md now lists every shader test program as
reading the variable, and drops the by-hand VK_INSTANCE_LAYERS recipe that only covered them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/tls_host.cpp')
0 files changed, 0 insertions, 0 deletions