2023-06-08 03:47:40 -07:00
|
|
|
[pixel shader]
|
2023-06-08 03:35:02 -07:00
|
|
|
uniform float4 x;
|
|
|
|
|
|
|
|
float4 main() : sv_target
|
|
|
|
{
|
|
|
|
clip(x);
|
|
|
|
return x;
|
|
|
|
}
|
|
|
|
|
|
|
|
[test]
|
|
|
|
uniform 0 float4 1 2 3 4
|
2024-03-19 21:54:18 -07:00
|
|
|
todo(glsl) draw quad
|
2023-06-08 03:47:40 -07:00
|
|
|
probe all rgba (1, 2, 3, 4)
|
2023-06-08 03:35:02 -07:00
|
|
|
uniform 0 float4 9 8 7 6
|
2024-03-19 21:54:18 -07:00
|
|
|
todo(glsl) draw quad
|
2023-06-08 03:47:40 -07:00
|
|
|
probe all rgba (9, 8, 7, 6)
|
2023-06-08 03:35:02 -07:00
|
|
|
uniform 0 float4 -1 8 7 6
|
2024-03-19 21:54:18 -07:00
|
|
|
todo(glsl) draw quad
|
2023-06-08 03:47:40 -07:00
|
|
|
probe all rgba (9, 8, 7, 6)
|
2023-06-08 03:35:02 -07:00
|
|
|
uniform 0 float4 9 0 7 6
|
2024-03-19 21:54:18 -07:00
|
|
|
todo(glsl) draw quad
|
2023-06-08 03:47:40 -07:00
|
|
|
probe all rgba (9, 0, 7, 6)
|