mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/msl: Implement support for VKD3DSPR_IMMCONST registers.
This commit is contained in:
Notes:
Henri Verbeet
2024-11-24 00:11:21 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1274
@@ -17,7 +17,7 @@ void main(in uniform float4 a, uniform float4 b, out float4 o : sv_target)
|
||||
[test]
|
||||
uniform 0 float4 0.1 0.0 0.0 0.0
|
||||
uniform 4 float4 0.2 0.0 0.0 0.0
|
||||
todo(sm>=6 | msl) draw quad
|
||||
todo(sm>=6) draw quad
|
||||
probe (0, 0) rgba (0.1, 0.2, 0.3, 0.4)
|
||||
|
||||
[pixel shader]
|
||||
@@ -42,5 +42,5 @@ void main(out float4 o : sv_target)
|
||||
[test]
|
||||
uniform 0 float4 0.1 0.0 0.0 0.0
|
||||
uniform 4 float4 0.2 0.0 0.0 0.0
|
||||
todo(msl) draw quad
|
||||
draw quad
|
||||
probe (0, 0) rgba (0.1, 0.2, 0.3, 0.4)
|
||||
|
Reference in New Issue
Block a user