mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Extend the liveness of nodes produced outside loops.
Otherwise, it is possible that the register used by the temp is overridden by a subsequent instruction within the same loop.
This commit is contained in:
committed by
Alexandre Julliard
parent
fbd2df2ad5
commit
e060773c19
Notes:
Alexandre Julliard
2023-05-24 22:33:32 +02: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/208
@@ -175,15 +175,15 @@ probe all rgba (0.2, 0.2, 0.2, 0.2) 1
|
||||
|
||||
uniform 0 float 0.3
|
||||
draw quad
|
||||
todo probe all rgba (0.4, 0.4, 0.4, 0.4) 1
|
||||
probe all rgba (0.4, 0.4, 0.4, 0.4) 1
|
||||
|
||||
uniform 0 float 0.7
|
||||
draw quad
|
||||
todo probe all rgba (0.8, 0.8, 0.8, 0.8) 1
|
||||
probe all rgba (0.8, 0.8, 0.8, 0.8) 1
|
||||
|
||||
uniform 0 float 0.9
|
||||
draw quad
|
||||
todo probe all rgba (0.9, 0.9, 0.9, 0.9) 1
|
||||
probe all rgba (0.9, 0.9, 0.9, 0.9) 1
|
||||
|
||||
[pixel shader]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user