mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/tpf: Support relative addressing for indexable temps in SM4.
For relative addressing, the vkd3d_shader_registers must point to another vkd3d_shader_src_param. For now, use the sm4_instruction to save them, since the only purpose of this struct is to be used as paramter for write_sm4_instruction.
This commit is contained in:
committed by
Alexandre Julliard
parent
281796c526
commit
0ef25ad137
Notes:
Alexandre Julliard
2023-11-07 22:39:54 +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/435
@@ -124,7 +124,7 @@ todo(sm>=6) draw quad
|
||||
probe all rgba (8, 9, 10, 11)
|
||||
|
||||
|
||||
[pixel shader todo]
|
||||
[pixel shader]
|
||||
uniform float i;
|
||||
|
||||
float4 main() : sv_target
|
||||
@@ -136,5 +136,5 @@ float4 main() : sv_target
|
||||
|
||||
[test]
|
||||
uniform 0 float 3
|
||||
todo draw quad
|
||||
todo probe all rgba (12, 13, 14, 15)
|
||||
todo(sm>=6) draw quad
|
||||
todo(sm>=6) probe all rgba (12, 13, 14, 15)
|
||||
|
Reference in New Issue
Block a user