mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 15:38:38 +00:00
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.
9 lines
249 B
GLSL
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);
|
|
}
|