mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Sort synthetic separated samplers first for SM4.
This commit is contained in:
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
@@ -60,7 +60,7 @@ float4 main() : sv_target
|
||||
|
||||
[test]
|
||||
draw quad
|
||||
todo probe all rgba (10, 10, 10, 11)
|
||||
probe all rgba (10, 10, 10, 11)
|
||||
|
||||
|
||||
[pixel shader]
|
||||
@@ -74,7 +74,7 @@ float4 main() : sv_target
|
||||
|
||||
[test]
|
||||
draw quad
|
||||
todo probe all rgba (21, 21, 21, 11)
|
||||
probe all rgba (21, 21, 21, 11)
|
||||
|
||||
|
||||
[pixel shader]
|
||||
@@ -105,7 +105,7 @@ float4 main() : sv_target
|
||||
|
||||
[test]
|
||||
draw quad
|
||||
todo probe all rgba (104, 104, 104, 111)
|
||||
probe all rgba (104, 104, 104, 111)
|
||||
|
||||
|
||||
% Sampler arrays with components that have different usage dimensions are only forbidden in SM4 upwards.
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user