mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Handle scalar conditions in ternaries.
This commit is contained in:
committed by
Alexandre Julliard
parent
2c8751478f
commit
11112798c8
Notes:
Alexandre Julliard
2024-01-18 23:20:41 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/571
@@ -114,7 +114,7 @@ float4 main() : sv_target
|
||||
|
||||
[test]
|
||||
draw quad
|
||||
todo probe all rgba (5.0, 6.0, 7.0, 1.0)
|
||||
probe all rgba (5.0, 6.0, 7.0, 1.0)
|
||||
|
||||
|
||||
% More restrictions are placed on the type of the first (condition) operand,
|
||||
@@ -265,7 +265,7 @@ draw quad
|
||||
probe all rgba (1.0, 2.0, 3.0, 4.0)
|
||||
|
||||
|
||||
[pixel shader todo]
|
||||
[pixel shader]
|
||||
|
||||
// "scalar" can mean any 1-component numeric type.
|
||||
static float1x1 cond = {0};
|
||||
@@ -278,7 +278,7 @@ float4 main() : sv_target
|
||||
}
|
||||
|
||||
[test]
|
||||
todo draw quad
|
||||
draw quad
|
||||
probe all rgba (5.0, 6.0, 7.0, 8.0)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user