Hans-Kristian Arntzen
91fad86e4d
tests: Test that root parameters are correctly invalidated.
...
When emitting push constants for graphics, these should invalidate push
constants for compute and vice versa. In Vulkan, vkCmdPushConstants is
not tied to a bind point.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2021-02-26 17:06:18 +01:00
Joshua Ashton
29b410928b
tests: Add a suite of tests for SetName
...
Signed-off-by: Joshua Ashton <joshua@froggi.es>
2021-02-25 21:51:43 +01:00
Hans-Kristian Arntzen
96b44fddbc
tests: Remove some todo/is_bug()s for RADV.
...
Some tests are now passing.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2021-02-25 18:28:06 +01:00
Hans-Kristian Arntzen
d88ce7cdea
tests: Test post-build info output.
...
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2021-02-25 16:14:16 +01:00
Hans-Kristian Arntzen
d6d8e70955
tests: Add image placement alignment test.
...
Validates that we can create RTVs at 64k alignment without issues.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2021-02-19 13:19:51 +01:00
Hans-Kristian Arntzen
e228367e98
tests: Allow SetPipelineStackSize to propagate properly.
...
AMD and NV driver behaviors don't agree here, choose NV behavior as it
makes more sense.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2021-02-18 14:16:31 +01:00
Hans-Kristian Arntzen
3a48b97dd1
tests: Clean up some manual WCHAR strings.
...
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2021-02-18 14:16:31 +01:00
Hans-Kristian Arntzen
20c4dfc685
tests: Add multithreaded suballocation test.
...
Also stresses VA mapping.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2021-02-18 14:16:31 +01:00
Hans-Kristian Arntzen
da06323b87
tests: Add test which stresses suballocation implementation.
...
Designed to stress internal implementation details for memory rewrite.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2021-02-16 14:27:06 +01:00
Hans-Kristian Arntzen
dc1b4b56ed
tests: Fix build with vkd3d-utils Windows test suite.
...
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2021-02-16 14:27:06 +01:00
Joshua Ashton
a0f9891b11
tests: Fix -Wincompatible-pointer-types warnings
...
Signed-off-by: Joshua Ashton <joshua@froggi.es>
2021-02-15 17:54:54 +01:00
Joshua Ashton
b168a9278b
tests: Fix missing hresult check in RTV descriptor copy test
...
Signed-off-by: Joshua Ashton <joshua@froggi.es>
2021-02-15 17:54:54 +01:00
Joshua Ashton
485399ff81
tests: Fix -Wenum-conversion warnings
...
Signed-off-by: Joshua Ashton <joshua@froggi.es>
2021-02-15 17:54:54 +01:00
Joshua Ashton
3bd5ba0681
tests: Fix -Wunused-variable warnings
...
Signed-off-by: Joshua Ashton <joshua@froggi.es>
2021-02-15 17:54:54 +01:00
Joshua Ashton
2e1a5e75ac
tests: Fix -Wabsolute-value warnings
...
Signed-off-by: Joshua Ashton <joshua@froggi.es>
2021-02-15 17:54:54 +01:00
Joshua Ashton
b91568b717
tests: Fix -Wdeclaration-after-statement warnings
...
Signed-off-by: Joshua Ashton <joshua@froggi.es>
2021-02-15 17:54:54 +01:00
Joshua Ashton
b6444b4728
tests: Fix -Wunused-function warnings
...
Signed-off-by: Joshua Ashton <joshua@froggi.es>
2021-02-15 17:54:54 +01:00
Joshua Ashton
9b2841b50f
tests: Fix -Wsign-compare warnings
...
Signed-off-by: Joshua Ashton <joshua@froggi.es>
2021-02-15 17:54:54 +01:00
Joshua Ashton
f32a2d5c70
tests: Fix -Wmissing-brace warnings
...
Signed-off-by: Joshua Ashton <joshua@froggi.es>
2021-02-15 17:54:54 +01:00
Joshua Ashton
7bb8346553
tests: Add test for Variable Rate Shading TIER_1
...
Signed-off-by: Joshua Ashton <joshua@froggi.es>
2021-02-12 13:39:05 +01:00
Joshua Ashton
fccbd3b5e2
vkd3d: Eliminate wchar_size, use UTF-16 string literals
...
Achieves this with C standard stuff alone, and no compiler hacks.
Signed-off-by: Joshua Ashton <joshua@froggi.es>
2021-02-09 11:26:28 +01:00
Hans-Kristian Arntzen
6e9bd28481
tests: Test more raytracing PSO details.
...
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2021-02-05 10:05:07 +01:00
Hans-Kristian Arntzen
b41d01d580
tests: Verify refcount semantics for ID3D12StateObjectProperties.
...
The refcount is shared.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2021-02-05 10:05:07 +01:00
Hans-Kristian Arntzen
547867d505
tests: Make raytracing test robust against stubbed implementation.
...
Don't crash if some things are not implemented fully.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2021-02-05 10:05:07 +01:00
Philip Rebohle
c5958d36bc
tests: Add test to stress-test virtual query implementation.
...
Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
2021-01-19 14:11:46 +01:00
Hans-Kristian Arntzen
6e50aaf11f
tests: Modify typed_as_untyped test to test copies.
...
Verifies that copying multiple descriptors works as expected.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2021-01-14 15:34:20 +01:00
Hans-Kristian Arntzen
57f2124721
tests: Remove todo on typed_as_untyped test.
...
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2021-01-14 15:34:20 +01:00
Philip Rebohle
29e3d292ae
tests: Mark sparse depth image test as TODO on RADV.
...
Currently, RADV does not support sparse depth images.
Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
2021-01-11 14:46:07 +01:00
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