mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Make single-component swizzles retrieve a scalar.
This commit is contained in:
committed by
Alexandre Julliard
parent
edf86b2248
commit
f33ca836d7
Notes:
Alexandre Julliard
2023-01-26 23:11:28 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Zebediah Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/70
@@ -37,7 +37,7 @@ float4 main() : SV_TARGET
|
||||
}
|
||||
|
||||
|
||||
[pixel shader todo]
|
||||
[pixel shader]
|
||||
float4 main() : SV_TARGET
|
||||
{
|
||||
float4 vec = {0, 1, 2, 3};
|
||||
@@ -47,5 +47,5 @@ float4 main() : SV_TARGET
|
||||
}
|
||||
|
||||
[test]
|
||||
todo draw quad
|
||||
todo probe all rgba (2.0, 2.0, 2.0, 2.0)
|
||||
draw quad
|
||||
probe all rgba (2.0, 2.0, 2.0, 2.0)
|
||||
|
Reference in New Issue
Block a user