Files
mandy/runtime/test/glsl/ps_sweep.frag
Vonsek 45a4d888e8 d3d12_state_sweep_test: blend, depth and stencil state against the host D3D12 device
482 full-screen draws (every colour and alpha blend factor pair, blend
operations, write masks, sRGB, float, 10-bit, 16-bit and SNORM targets,
the depth comparison functions with and without writes, stencil
functions, pass, fail and depth-fail operations, read and write masks, and
the back face's own state) run on the layer and on the host device on the
same adapter, and the colour and stencil bytes are compared.

AI-assisted.
2026-11-23 01:33:20 +01:00

9 lines
249 B
GLSL

#version 460
// A pixel shader standing in for a translated one in d3d12_state_sweep_test: one constant colour. The host draw's
// HLSL writes the same.
layout(location = 0) out vec4 target;
void main() {
target = vec4(0.75, 0.5, 0.25, 0.5);
}