Files
mandy/runtime/test/glsl/aftermath_fault.comp
Moriz82 ba626820ec Integrate post-story-load memory, queue and Vulkan runtime changes
Preserve physical window aliases across remaps, order console list values,
and replay bounded indirect graphics with captured draw state. Coordinate
pipeline lifetime, texture refresh and queue teardown. Add synthetic CPU
and GPU coverage for the integrated paths.

Co-authored-by: Plaaasma <47513553+Plaaasma@users.noreply.github.com>
Co-authored-by: ivanepsilondelta <264061546+ivanepsilondelta@users.noreply.github.com>
2026-11-25 03:44:43 -06:00

21 lines
670 B
Plaintext

#version 460
// vk_aftermath_test: every invocation writes through the buffer device address in the push constants. The test passes
// an address no buffer is bound to, so the store page-faults and the device is lost (no hang, no TDR).
#extension GL_EXT_buffer_reference : require
#extension GL_EXT_shader_explicit_arithmetic_types_int64 : require
layout(local_size_x = 64) in;
layout(buffer_reference, std430, buffer_reference_align = 4) buffer Words {
uint v[];
};
layout(push_constant) uniform Push {
uint64_t address;
} pc;
void main() {
Words words = Words(pc.address);
words.v[gl_GlobalInvocationID.x * 1024u] = gl_GlobalInvocationID.x + 1u;
}