2020-10-01 21:09:46 -07:00
|
|
|
[pixel shader]
|
|
|
|
float4 main() : sv_target
|
|
|
|
{
|
|
|
|
return float2x2(0.4, 0.3, 0.2, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
[test]
|
2022-06-08 16:18:41 -07:00
|
|
|
draw quad
|
2020-10-01 21:09:46 -07:00
|
|
|
probe all rgba (0.4, 0.3, 0.2, 0.1)
|
2021-10-25 00:06:29 -07:00
|
|
|
|
|
|
|
[pixel shader]
|
|
|
|
float4 main() : sv_target
|
|
|
|
{
|
|
|
|
return float1x4(0.4, 0.3, 0.2, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
[test]
|
2022-06-08 16:18:41 -07:00
|
|
|
draw quad
|
2021-10-25 00:06:29 -07:00
|
|
|
probe all rgba (0.4, 0.3, 0.2, 0.1)
|
|
|
|
|
|
|
|
[pixel shader]
|
|
|
|
float4 main() : sv_target
|
|
|
|
{
|
|
|
|
return float4x1(0.4, 0.3, 0.2, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
[test]
|
2022-06-08 16:18:41 -07:00
|
|
|
draw quad
|
2021-10-25 00:06:29 -07:00
|
|
|
probe all rgba (0.4, 0.3, 0.2, 0.1)
|
|
|
|
|
|
|
|
[pixel shader]
|
|
|
|
float4x1 main() : sv_target
|
|
|
|
{
|
|
|
|
return float4(0.4, 0.3, 0.2, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
[test]
|
2022-06-08 16:18:41 -07:00
|
|
|
draw quad
|
2021-10-25 00:06:29 -07:00
|
|
|
probe all rgba (0.4, 0.3, 0.2, 0.1)
|
|
|
|
|
2021-09-11 14:56:04 -07:00
|
|
|
[pixel shader]
|
2021-10-25 00:06:29 -07:00
|
|
|
float3 func()
|
|
|
|
{
|
|
|
|
return float3x1(0.4, 0.3, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
float4 main() : sv_target
|
|
|
|
{
|
|
|
|
return float4(func(), 0.0);
|
|
|
|
}
|
|
|
|
|
|
|
|
[test]
|
2021-09-11 14:56:04 -07:00
|
|
|
draw quad
|
|
|
|
probe all rgba (0.4, 0.3, 0.2, 0.0)
|
2021-10-25 00:06:29 -07:00
|
|
|
|
2021-09-11 14:56:04 -07:00
|
|
|
[pixel shader]
|
2021-10-25 00:06:29 -07:00
|
|
|
float3 func()
|
|
|
|
{
|
|
|
|
return float1x3(0.4, 0.3, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
float4 main() : sv_target
|
|
|
|
{
|
|
|
|
return float4(func(), 0.0);
|
|
|
|
}
|
|
|
|
|
|
|
|
[test]
|
2021-09-11 14:56:04 -07:00
|
|
|
draw quad
|
|
|
|
probe all rgba (0.4, 0.3, 0.2, 0.0)
|
2021-10-25 00:06:29 -07:00
|
|
|
|
2021-09-11 14:56:04 -07:00
|
|
|
[pixel shader]
|
2021-10-25 00:06:29 -07:00
|
|
|
float1x3 func()
|
|
|
|
{
|
|
|
|
return float3(0.4, 0.3, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
float4 main() : sv_target
|
|
|
|
{
|
|
|
|
return float4(func(), 0.0);
|
|
|
|
}
|
|
|
|
|
|
|
|
[test]
|
2021-09-11 14:56:04 -07:00
|
|
|
draw quad
|
|
|
|
probe all rgba (0.4, 0.3, 0.2, 0.0)
|
2021-10-25 00:06:29 -07:00
|
|
|
|
2021-09-11 14:56:04 -07:00
|
|
|
[pixel shader]
|
2021-10-25 00:06:29 -07:00
|
|
|
float3x1 func()
|
|
|
|
{
|
|
|
|
return float3(0.4, 0.3, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
float4 main() : sv_target
|
|
|
|
{
|
|
|
|
return float4(func(), 0.0);
|
|
|
|
}
|
|
|
|
|
|
|
|
[test]
|
2021-09-11 14:56:04 -07:00
|
|
|
draw quad
|
|
|
|
probe all rgba (0.4, 0.3, 0.2, 0.0)
|
2021-10-25 00:06:29 -07:00
|
|
|
|
2022-04-27 01:56:26 -07:00
|
|
|
[pixel shader fail]
|
2021-10-25 00:06:29 -07:00
|
|
|
float3x1 func()
|
|
|
|
{
|
|
|
|
return float1x3(0.4, 0.3, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
float4 main() : sv_target
|
|
|
|
{
|
|
|
|
return float4(func(), 0.0);
|
|
|
|
}
|
|
|
|
|
2022-04-27 01:56:26 -07:00
|
|
|
[pixel shader fail]
|
2021-10-25 00:06:29 -07:00
|
|
|
float1x3 func()
|
|
|
|
{
|
|
|
|
return float3x1(0.4, 0.3, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
float4 main() : sv_target
|
|
|
|
{
|
|
|
|
return float4(func(), 0.0);
|
|
|
|
}
|
|
|
|
|
2021-09-11 14:56:04 -07:00
|
|
|
[pixel shader]
|
2021-10-25 00:06:29 -07:00
|
|
|
float3 func()
|
|
|
|
{
|
|
|
|
return float4(0.4, 0.3, 0.2, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
float4 main() : sv_target
|
|
|
|
{
|
|
|
|
return float4(func(), 0.0);
|
|
|
|
}
|
|
|
|
|
|
|
|
[test]
|
2021-09-11 14:56:04 -07:00
|
|
|
draw quad
|
|
|
|
probe all rgba (0.4, 0.3, 0.2, 0.0)
|
2021-10-25 00:06:29 -07:00
|
|
|
|
2021-09-11 14:56:04 -07:00
|
|
|
[pixel shader]
|
2021-10-25 00:06:29 -07:00
|
|
|
float3 func()
|
|
|
|
{
|
|
|
|
return float4x1(0.4, 0.3, 0.2, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
float4 main() : sv_target
|
|
|
|
{
|
|
|
|
return float4(func(), 0.0);
|
|
|
|
}
|
|
|
|
|
|
|
|
[test]
|
2021-09-11 14:56:04 -07:00
|
|
|
draw quad
|
|
|
|
probe all rgba (0.4, 0.3, 0.2, 0.0)
|
2021-10-25 00:06:29 -07:00
|
|
|
|
2021-09-11 14:56:04 -07:00
|
|
|
[pixel shader]
|
2021-10-25 00:06:29 -07:00
|
|
|
float3 func()
|
|
|
|
{
|
|
|
|
return float1x4(0.4, 0.3, 0.2, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
float4 main() : sv_target
|
|
|
|
{
|
|
|
|
return float4(func(), 0.0);
|
|
|
|
}
|
|
|
|
|
|
|
|
[test]
|
2021-09-11 14:56:04 -07:00
|
|
|
draw quad
|
|
|
|
probe all rgba (0.4, 0.3, 0.2, 0.0)
|
2021-10-25 00:06:29 -07:00
|
|
|
|
2023-09-14 02:29:24 -07:00
|
|
|
[pixel shader fail(sm<6) todo]
|
2021-10-25 00:06:29 -07:00
|
|
|
float3x1 func()
|
|
|
|
{
|
|
|
|
return float4(0.4, 0.3, 0.2, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
float4 main() : sv_target
|
|
|
|
{
|
|
|
|
return float4(func(), 0.0);
|
|
|
|
}
|
|
|
|
|
2021-09-11 14:56:04 -07:00
|
|
|
[pixel shader]
|
2021-10-25 00:06:29 -07:00
|
|
|
float3x1 func()
|
|
|
|
{
|
|
|
|
return float4x1(0.4, 0.3, 0.2, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
float4 main() : sv_target
|
|
|
|
{
|
|
|
|
return float4(func(), 0.0);
|
|
|
|
}
|
|
|
|
|
|
|
|
[test]
|
2021-09-11 14:56:04 -07:00
|
|
|
draw quad
|
|
|
|
probe all rgba (0.4, 0.3, 0.2, 0.0)
|
2021-10-25 00:06:29 -07:00
|
|
|
|
2022-04-27 01:56:26 -07:00
|
|
|
[pixel shader fail]
|
2021-10-25 00:06:29 -07:00
|
|
|
float3x1 func()
|
|
|
|
{
|
|
|
|
return float1x4(0.4, 0.3, 0.2, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
float4 main() : sv_target
|
|
|
|
{
|
|
|
|
return float4(func(), 0.0);
|
|
|
|
}
|
|
|
|
|
2021-09-11 14:56:04 -07:00
|
|
|
[pixel shader]
|
2021-10-25 00:06:29 -07:00
|
|
|
float1x3 func()
|
|
|
|
{
|
|
|
|
return float4(0.4, 0.3, 0.2, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
float4 main() : sv_target
|
|
|
|
{
|
|
|
|
return float4(func(), 0.0);
|
|
|
|
}
|
|
|
|
|
|
|
|
[test]
|
2021-09-11 14:56:04 -07:00
|
|
|
draw quad
|
|
|
|
probe all rgba (0.4, 0.3, 0.2, 0.0)
|
2021-10-25 00:06:29 -07:00
|
|
|
|
2022-04-27 01:56:26 -07:00
|
|
|
[pixel shader fail]
|
2021-10-25 00:06:29 -07:00
|
|
|
float1x3 func()
|
|
|
|
{
|
|
|
|
return float4x1(0.4, 0.3, 0.2, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
float4 main() : sv_target
|
|
|
|
{
|
|
|
|
return float4(func(), 0.0);
|
|
|
|
}
|
|
|
|
|
2021-09-11 14:56:04 -07:00
|
|
|
[pixel shader]
|
2021-10-25 00:06:29 -07:00
|
|
|
float1x3 func()
|
|
|
|
{
|
|
|
|
return float1x4(0.4, 0.3, 0.2, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
float4 main() : sv_target
|
|
|
|
{
|
|
|
|
return float4(func(), 0.0);
|
|
|
|
}
|
|
|
|
|
|
|
|
[test]
|
2021-09-11 14:56:04 -07:00
|
|
|
draw quad
|
|
|
|
probe all rgba (0.4, 0.3, 0.2, 0.0)
|