tests/shader_runner: Introduce the "u32" probe format.

This commit is contained in:
Henri Verbeet
2025-06-06 00:25:11 +02:00
parent 95cf0a8b2c
commit 9c987e5a0b
Notes: Henri Verbeet 2025-06-10 18:06:45 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1555
28 changed files with 357 additions and 369 deletions

View File

@@ -292,13 +292,13 @@ uniform 5 uint 2
uniform 8 uint 2
draw quad
% In D3D12 with SM5 all reads to the array return 0
if(sm>=6 | !d3d12) probe (0, 0) rgbaui(0xfffff803, 0x1ffd, 0, 0)
if(sm>=6 | !d3d12) probe (0, 0) u32(0xfffff803, 0x1ffd, 0, 0)
uniform 0 uint 0
uniform 4 uint 0
uniform 5 uint 0
uniform 8 uint 0
draw quad
if(sm>=6 | !d3d12) probe (0, 0) rgbaui(1, 2, 0, 0)
if(sm>=6 | !d3d12) probe (0, 0) u32(1, 2, 0, 0)
[pixel shader]
uniform min16int u[4];