Every rt device test opens its instance through tests/validation.rs instance(), which fails
unless each device lists an active VK_LAYER_KHRONOS_validation. A Windows machine whose only
Vulkan pieces are its GPU driver and the loader it ships therefore cannot run the device suite at
all, and a machine of that kind is the only place some drivers are ever covered (AMD's
proprietary Windows driver: the lab has no AMD card under Windows).
The setting is test-only and off unless its value is 1; product code and the lab's runs, which
never set it, are unchanged. Under it, instance() enables nothing and checks the opposite: every
device lists no validation tool, so a run that says it is unvalidated is. No layer writes a log,
so the guard checks none. Each test process writes "M2V-UNVALIDATED unvalidated run: ..." once to
its standard error, past libtest's capture of a passing test's output, so the run's output says
it whatever passes. The test of the layer's log itself
(every_device_logs_a_deliberately_invalid_call_once) skips: without the layer its call is only
invalid.
The new device test the_setting_runs_the_device_tests_without_the_layer_and_says_so runs the
test binary's unvalidated_child in a process of its own under the setting, with VK_INSTANCE_LAYERS
and VK_LOADER_LAYERS_ENABLE removed, and requires it to pass and to print the line. Without this
change the child opens a validated instance (the layer is on VK_LAYER_PATH in every lab job) and
prints no such line, so the test fails; on a machine without the layer the child fails outright.
Docs: the setting in tests/validation.rs's module doc, docs/VALIDATION.md (the layer section),
CONTRIBUTING.md, and env_vars.rs's module doc, which now says the test suites' own
METAL2VULKAN_TEST_* variables are not in REGISTRY.