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_IDXTEMP registers.
This commit is contained in:
Notes:
Henri Verbeet
2025-06-09 16:31:45 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1547
@@ -180,11 +180,11 @@ uniform 0 float4 2.0 2.0 2.0 2.0
|
||||
uniform 4 float4 3.0 3.0 3.0 3.0
|
||||
if(sm<4) uniform 8 float4 0 0 0 0
|
||||
if(sm>=4) uniform 8 uint4 0 0 0 0
|
||||
todo(msl) draw quad
|
||||
draw quad
|
||||
probe (0, 0) rgba(2.0, 2.0, 2.0, 2.0)
|
||||
if(sm<4) uniform 8 float4 1 0 0 0
|
||||
if(sm>=4) uniform 8 uint4 1 0 0 0
|
||||
todo(msl) draw quad
|
||||
draw quad
|
||||
probe (0, 0) rgba(3.0, 3.0, 3.0, 3.0)
|
||||
|
||||
% OOB indexes are illegal, but sm < 6 allows them in dead code.
|
||||
|
Reference in New Issue
Block a user