vkd3d-shader/hlsl: Sort synthetic separated samplers first for SM4.

This commit is contained in:
Francisco Casas
2023-08-04 15:02:39 -04:00
committed by Alexandre Julliard
parent 81afe43569
commit 37cfbe47d7
Notes: Alexandre Julliard 2023-08-15 22:06:06 +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/299
3 changed files with 47 additions and 8 deletions

View File

@@ -131,7 +131,7 @@ float4 main() : sv_target
[test]
draw quad
todo probe all rgba (450, 139, 876, 333)
probe all rgba (450, 139, 876, 333)
% Same as the first test, but inverting the declaration order.
@@ -184,7 +184,7 @@ float4 main() : sv_target
[test]
draw quad
todo probe all rgba (450, 138, 796, 333)
probe all rgba (450, 138, 796, 333)
% Same as the first test, but inverting the resource loads order.
@@ -237,7 +237,7 @@ float4 main() : sv_target
[test]
draw quad
todo probe all rgba (478, 913, 256, 333)
probe all rgba (478, 913, 256, 333)
% We can conclude that for declared texture arrays, if they are used, the "allocation size" is the
@@ -270,7 +270,7 @@ float4 main() : sv_target
[test]
draw quad
todo probe all rgba (215, 215, 215, 111)
probe all rgba (215, 215, 215, 111)
% Test that textures created from SM1-style samples allocation order is in decreasing "bind count".
@@ -300,4 +300,4 @@ float4 main() : sv_target
[test]
draw quad
todo probe all rgba (5, 4, 2, 0)
probe all rgba (5, 4, 2, 0)