mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/glsl: Implement VKD3DSIH_DP4.
This commit is contained in:
Notes:
Henri Verbeet
2024-09-26 01:25:28 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1113
@@ -10,7 +10,7 @@ float4 main() : SV_TARGET
|
||||
[test]
|
||||
uniform 0 float4 2.0 3.0 4.0 5.0
|
||||
uniform 4 float4 10.0 11.0 12.0 13.0
|
||||
todo(glsl) draw quad
|
||||
draw quad
|
||||
probe (0, 0) rgba (166.0, 166.0, 166.0, 166.0)
|
||||
|
||||
[pixel shader]
|
||||
@@ -40,7 +40,7 @@ float4 main() : SV_TARGET
|
||||
[test]
|
||||
uniform 0 float4 2.0 0.0 0.0 0.0
|
||||
uniform 4 float4 10.0 11.0 12.0 13.0
|
||||
todo(glsl) draw quad
|
||||
draw quad
|
||||
probe (0, 0) rgba (92.0, 92.0, 92.0, 92.0)
|
||||
|
||||
[pixel shader]
|
||||
@@ -55,7 +55,7 @@ float4 main() : SV_TARGET
|
||||
[test]
|
||||
uniform 0 float4 10.0 11.0 12.0 13.0
|
||||
uniform 4 float4 2.0 0.0 0.0 0.0
|
||||
todo(glsl) draw quad
|
||||
draw quad
|
||||
probe (0, 0) rgba (92.0, 92.0, 92.0, 92.0)
|
||||
|
||||
[pixel shader]
|
||||
|
Reference in New Issue
Block a user