mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/fx: Add support for writing DepthStencilState objects.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
committed by
Henri Verbeet
parent
1008c49ce6
commit
12947aa50d
Notes:
Henri Verbeet
2024-07-08 18:20:04 +02:00
Approved-by: Elizabeth Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/913
@@ -70,7 +70,7 @@ technique10
|
||||
// Without initializer
|
||||
technique10 < int a; > {}
|
||||
|
||||
[effect fail]
|
||||
[effect fail todo]
|
||||
// Only numeric types and strings are allowed
|
||||
technique10 < DepthStencilState ds = { 0 }; > {}
|
||||
|
||||
|
@@ -525,7 +525,7 @@ float4 main() : sv_target { return 0; }
|
||||
|
||||
|
||||
% State blocks are valid for DepthStencilState
|
||||
[pixel shader todo]
|
||||
[pixel shader]
|
||||
DepthStencilState dss1
|
||||
{
|
||||
DepthEnable = false;
|
||||
@@ -583,7 +583,7 @@ DepthStencilState dss1
|
||||
|
||||
|
||||
% Undefined identifiers can be swizzled with .x which proves that they are considered scalar
|
||||
[pixel shader todo]
|
||||
[pixel shader]
|
||||
float4 main() : sv_target { return 0; }
|
||||
|
||||
DepthStencilState dss1
|
||||
@@ -601,7 +601,7 @@ DepthStencilState dss1
|
||||
|
||||
|
||||
% The type of previously defined variables is respected, but array indexes are not checked.
|
||||
[pixel shader todo]
|
||||
[pixel shader]
|
||||
float4 arr[3];
|
||||
|
||||
float4 main() : sv_target { return 0; }
|
||||
|
Reference in New Issue
Block a user