mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Improve tracking of used components running DCE before.
track_object_components_usage() had to be improved to also register derefs on resource stores. It was not doing it because it assumed that for every resource store there was a resource load already, which was true, before calling DCE.
This commit is contained in:
committed by
Alexandre Julliard
parent
657e460d11
commit
e0a801e796
Notes:
Alexandre Julliard
2024-05-13 22:57:39 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Elizabeth Figura (@zfigura) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/851
@@ -318,7 +318,7 @@ probe all rgba (2.0, 3.0, 3.0, 2.0)
|
||||
|
||||
% Objects can be used, but their types have to be identical.
|
||||
|
||||
[pixel shader todo(sm<4)]
|
||||
[pixel shader]
|
||||
Texture2D t;
|
||||
|
||||
float4 main() : sv_target
|
||||
|
Reference in New Issue
Block a user