Hans-Kristian Arntzen
c2f1596b3e
tests: Add test for reading typed R32 buffer as untyped.
...
Invokes undefined behavior that many games rely on by accident.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-12-11 11:20:55 +01:00
Hans-Kristian Arntzen
e2185df7de
tests: Remove is_bug for MSAA clear test.
...
Fixed on Mesa master now (FMASK bug).
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-12-07 20:56:48 +01:00
Hans-Kristian Arntzen
4fa24bb4ee
tests: Remove old is_bug for conditional rendering.
...
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-12-07 14:10:51 +01:00
Philip Rebohle
8c0958824a
tests: Remove todo from 64-bit predicate test.
...
This is supported properly now as long as the device supports
buffer_device_address.
Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
2020-11-27 12:43:39 +01:00
Hans-Kristian Arntzen
c0b34fdb7b
tests: Add unaligned VBO read test.
...
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-11-24 15:07:29 +01:00
Philip Rebohle
ced72326be
tests: Test f32tof16 behaviour with infinity and high numbers.
...
Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
2020-11-23 15:46:55 +01:00
Philip Rebohle
35f6aa22c7
tests: Remove todo for binary occlusion query test.
...
This test passes correctly now.
Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
2020-11-19 22:08:42 +01:00
Philip Rebohle
5a288b7d0f
tests: Adjust todos in some query tests.
...
Query init changes broke unissued timestamp queries, but
test_resolve_query_data_in_reordered_command_list passes.
Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
2020-11-18 15:45:28 +01:00
Philip Rebohle
10e82fa7a0
tests: Add missing UAV barriers in test_cs_uav_store.
...
Fixes some random test failures.
Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
2020-11-18 15:05:29 +01:00
Philip Rebohle
a1198f2af8
tésts: Add test for creating pipeline states with a null root signature.
...
Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
2020-11-05 15:21:16 +01:00
Georg Lehmann
98f005116b
build: Replace enable_standalone_d3d12 with tristate enable_d3d12.
...
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
2020-11-04 23:38:02 +00:00
Hans-Kristian Arntzen
f37254e6b6
tests: Add test for many typed buffers.
...
Verifies that can we can spam unique typed views without problems ...
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-11-04 19:05:28 +01:00
Joshua Ashton
f50c897868
build: Merge vkd3d_headers into vkd3d_common
...
Fixes MSVC build.
Closes : #343
Signed-off-by: Joshua Ashton <joshua@froggi.es>
2020-11-03 09:37:24 +01:00
Philip Rebohle
624f96e820
tests: Add test for RTV descriptor copies.
...
Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
2020-10-30 17:02:17 +01:00
Philip Rebohle
13a95bb7bc
tests: Add test for NULL RTV creation.
...
Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
2020-10-30 17:02:17 +01:00
Hans-Kristian Arntzen
3f0d2f3362
tests: Use more precise todo_if in buffer feedback tests.
...
We should still pass typed buffer tests.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-10-30 08:16:16 +01:00
Hans-Kristian Arntzen
f6fa91ae5d
tests: Remove marked bug which appears to be fixed.
...
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-10-30 08:16:16 +01:00
Hans-Kristian Arntzen
64adb271a1
tests: Fix some UNORM precision inconsistencies.
...
NV rounds down to 0.5 - epsilon where AMD rounds up. Use a stable value
for UNORM8/16 testing.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-10-30 08:16:16 +01:00
Hans-Kristian Arntzen
cd416a866e
tests: Do not test so many queues.
...
AMD Windows will actually fail eventually since we're trying to create
too many queues.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-10-30 08:16:16 +01:00
Hans-Kristian Arntzen
cf7ac276d6
tests: Skip calibrated timestamp test on Linux.
...
Meaningless to test and triggers errors.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-10-30 08:16:16 +01:00
Hans-Kristian Arntzen
4b5b14ca4b
tests: Mark buffer feedback as TODO.
...
With SSBOs we cannot implement sparse buffer feedback.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-10-30 08:16:16 +01:00
Hans-Kristian Arntzen
8c24e2c5c5
tests: Mark stencil export as TODO on DXIL.
...
Not implemented yet, but will not crash.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-10-30 08:16:16 +01:00
Hans-Kristian Arntzen
dba2812998
tests: Skip bindless bufinfo tests for now on RADV.
...
Can hang system in the worst case.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-10-30 08:16:16 +01:00
Hans-Kristian Arntzen
922a67f910
tests: Mark MSAA array clear test as buggy on RADV.
...
See Mesa issue #3710 .
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-10-30 08:16:16 +01:00
Hans-Kristian Arntzen
10d13dd2c1
tests: Fix up some TODO is dual_source_blending test.
...
Some calls are apparently supposed to fail, and we were not cleaning up
handles correctly if the calls succeeded.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-10-30 08:16:16 +01:00
Hans-Kristian Arntzen
4ed553acc4
tests: Mark patch constant test as bug on RADV.
...
Don't see anything obviously wrong with the test or implementation.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-10-30 08:16:16 +01:00
Hans-Kristian Arntzen
0db76f85a4
tests: Unmark some signed atomic tests as TODO.
...
They pass on RADV.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-10-30 08:16:16 +01:00
Hans-Kristian Arntzen
ddbdd81675
tests: Mark some multisample tests as TODO on RADV.
...
Likely a mismatch in sample positions?
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-10-30 08:16:16 +01:00
Hans-Kristian Arntzen
00ccf0b2d3
tests: Fix test sync bug in draw_uav_only.
...
Test was missing a UAV barrier, which triggered "bug" on RADV.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-10-30 08:16:16 +01:00
Hans-Kristian Arntzen
f9679e9e8d
tests: Remove RGB9E5 from todo condition.
...
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-10-30 08:16:16 +01:00
Joshua Ashton
c72fb12353
build: Only generate headers once
...
This makes headers a dependency rather than a generator target.
This also means we get proper dependency tracking of them between projects.
Supercedes: #225
Signed-off-by: Joshua Ashton <joshua@froggi.es>
2020-10-29 10:02:48 +01:00
Hans-Kristian Arntzen
bbdbc40359
build: Do not install test binaries.
...
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-10-28 14:39:09 +01:00
Hans-Kristian Arntzen
3772e706a6
tests: Add exhaustive OOB test for UAV writes.
...
Tests and verifies behavior for writing out-of-bounds.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-10-26 13:16:09 +01:00
Joshua Ashton
c3e3965797
tests: Add some simple double float tests
...
Signed-off-by: Joshua Ashton <joshua@froggi.es>
2020-10-23 12:40:38 +02:00
Joshua Ashton
c319a95d4e
tests: Remove lingering INITIAL_STATE_TRANSITION
...
Signed-off-by: Joshua Ashton <joshua@froggi.es>
2020-10-22 09:30:24 +02:00
Joshua Ashton
4fb3e277f1
vkd3d: Remove VKD3D_RESOURCE_PRESENT_STATE_TRANSITION
...
All this flag does is make resource creation fail.
Signed-off-by: Joshua Ashton <joshua@froggi.es>
2020-10-22 09:30:24 +02:00
Hans-Kristian Arntzen
463d398c74
tests: Don't crash in buffer_feedback test.
...
With SSBOs enabled, sparse feedback won't work.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-10-21 14:34:37 +02:00
Hans-Kristian Arntzen
5b115b1f89
tests: Don't return garbage in create_*_state on failure.
...
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-10-21 14:34:37 +02:00
Hans-Kristian Arntzen
9a8d2a1ac5
tests: Add a test for rendering with NULL index buffer.
...
This is well-defined in D3D12 for some reason.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-10-16 12:27:20 +02:00
Hans-Kristian Arntzen
de3f572c8b
tests: Add test for bindless bufinfo/resinfo.
...
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-10-16 11:43:35 +02:00
Hans-Kristian Arntzen
1b2e190877
tests: Clean up misc warnings from tests.
...
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-09-11 15:20:52 +02:00
Hans-Kristian Arntzen
a015ab04cd
tests: Cleanup warnings in pipeline library tests.
...
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-09-11 15:20:52 +02:00
Philip Rebohle
6ba9656b12
tests: Add tests for GetCachedBlob and pipeline libraries.
...
Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
2020-09-08 12:31:32 +02:00
Philip Rebohle
630b70cbbd
tests: Remove todos from test_write_buffer_immediate.
...
Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
2020-08-28 17:27:05 +02:00
Hans-Kristian Arntzen
b2b730ea8b
tests: Add test for open heap from address/file.
...
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-08-25 11:48:41 +02:00
Hans-Kristian Arntzen
2cb6b063fe
tests: Fix uninitialized Layout member.
...
C is fine ...
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-07-30 16:48:31 +01:00
Hans-Kristian Arntzen
27d14cb0ce
meson: Target native d3d12 for Windows test binaries.
...
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-07-30 17:34:10 +02:00
Hans-Kristian Arntzen
c695c1438b
tests: Add a simple micro-benchmark for descriptor performance.
...
Tests CPU descriptor creation as well as copies in various scenarios.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2020-07-29 17:16:29 +02:00
Philip Rebohle
54f23f18b9
meson: Drop d3d12_invalid_usage target.
...
Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
2020-07-23 15:48:12 +02:00
Philip Rebohle
79ee5ccf60
tests: Add test for GetClockCalibration.
...
Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
2020-07-17 11:49:38 +02:00