mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Separate the valid stateblock function names test from the string arg test.
This test is important because it checks that all the valid names for stateblock functions with the expected amount of arguments are tested, but, after parsing state block function calls, the only reason it is not passing is that we don't parse strings yet.
This commit is contained in:
parent
7bd53cf6d9
commit
f15d8dc9e9
Notes:
Henri Verbeet
2024-07-09 21:10:32 +02:00
Approved-by: Elizabeth Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/915
@ -3,21 +3,30 @@
|
|||||||
[pixel shader todo]
|
[pixel shader todo]
|
||||||
sampler sam
|
sampler sam
|
||||||
{
|
{
|
||||||
SetBlendState(foo, bar, baz); // 3 parameters
|
SetBlendState(foo, bar, baz); // 3 parameters
|
||||||
SetDepthStencilState(foo, 2); // 2 parameters
|
SetDepthStencilState(foo, 2); // 2 parameters
|
||||||
SetRasterizerState(foo); // 1 parameter
|
SetRasterizerState(foo); // 1 parameter
|
||||||
SetVertexShader(vs); // 1 parameter
|
SetVertexShader(vs); // 1 parameter
|
||||||
SetDomainShader(ds); // 1 paramter
|
SetDomainShader(ds); // 1 paramter
|
||||||
SetHullShader(100); // 1 parameter
|
SetHullShader(100); // 1 parameter
|
||||||
SetGeometryShader(foo + bar); // 1 parameter
|
SetGeometryShader(foo + bar); // 1 parameter
|
||||||
SetPixelShader(ps1); // 1 parameter
|
SetPixelShader(ps1); // 1 parameter
|
||||||
SetComputeShader("random string"); // 1 parameter
|
SetComputeShader(ARG); // 1 parameter
|
||||||
OMSetRenderTargets(RTV0, RTV1, RTV2, RTV3, RTV4, RTV5, RTV6, RTV7, DSV); // 2 to 9 parameters
|
OMSetRenderTargets(RTV0, RTV1, RTV2, RTV3, RTV4, RTV5, RTV6, RTV7, DSV); // 2 to 9 parameters
|
||||||
};
|
};
|
||||||
|
|
||||||
float4 main() : sv_target { return 0; }
|
float4 main() : sv_target { return 0; }
|
||||||
|
|
||||||
|
|
||||||
|
[pixel shader todo]
|
||||||
|
sampler sam
|
||||||
|
{
|
||||||
|
SetComputeShader("random string");
|
||||||
|
};
|
||||||
|
|
||||||
|
float4 main() : sv_target { return 0; }
|
||||||
|
|
||||||
|
|
||||||
[pixel shader fail(sm<6)]
|
[pixel shader fail(sm<6)]
|
||||||
sampler sam
|
sampler sam
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user