vkd3d/tests/hlsl/early-depth-stencil.shader_test
2024-09-12 18:46:24 +02:00

32 lines
429 B
Plaintext

[require]
shader model >= 5.0
[rtv 0]
size (2d, 640, 480)
[uav 1]
format r32-float
size (buffer, 1)
0.0
[dsv]
size (2d, 640, 480)
[pixel shader]
RWBuffer<float> u : register(u1);
[earlydepthstencil]
float4 main() : sv_target
{
u[0] = 1.0;
return float4(1, 1, 1, 1);
}
[test]
depth greater equal
clear rtv 0 0.0 0.0 0.0 0.0
clear dsv 0.5
todo(glsl) draw quad
probe (0, 0) rgba(0, 0, 0, 0)
probe uav 1 (0) r(0.0)