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-10-21 07:23:27 -07:00
|
|
|
todo(glsl | msl) draw quad
|
2024-02-10 11:16:22 -08:00
|
|
|
probe (0, 0) rgba (1, 2, 3, 4)
|
2023-06-08 03:35:02 -07:00
|
|
|
uniform 0 float4 9 8 7 6
|
2024-10-21 07:23:27 -07:00
|
|
|
todo(glsl | msl) draw quad
|
2024-02-10 11:16:22 -08:00
|
|
|
probe (0, 0) rgba (9, 8, 7, 6)
|
2023-06-08 03:35:02 -07:00
|
|
|
uniform 0 float4 -1 8 7 6
|
2024-10-21 07:23:27 -07:00
|
|
|
todo(glsl | msl) draw quad
|
2024-02-10 11:16:22 -08:00
|
|
|
probe (0, 0) rgba (9, 8, 7, 6)
|
2023-06-08 03:35:02 -07:00
|
|
|
uniform 0 float4 9 0 7 6
|
2024-10-21 07:23:27 -07:00
|
|
|
todo(glsl | msl) draw quad
|
2024-02-10 11:16:22 -08:00
|
|
|
probe (0, 0) rgba (9, 0, 7, 6)
|
2024-03-04 07:53:30 -08:00
|
|
|
uniform 0 float4 3 -8 3 0
|
2024-10-21 07:23:27 -07:00
|
|
|
todo(glsl | msl) draw quad
|
2024-02-10 11:16:22 -08:00
|
|
|
probe (0, 0) rgba (9, 0, 7, 6)
|
2024-03-04 07:53:30 -08:00
|
|
|
uniform 0 float4 3 3 3 -1
|
2024-10-21 07:23:27 -07:00
|
|
|
todo(glsl | msl) draw quad
|
2024-02-10 11:16:22 -08:00
|
|
|
probe (0, 0) rgba (9, 0, 7, 6)
|