Commit Graph

145 Commits

Author SHA1 Message Date
Józef Kucia
9d234e454c tests: Use check_readback_data_float() in more places. 2017-08-09 18:44:16 +02:00
Sven Hesse
2f5ba3509d tests: Add tests for GetCopyableFootprints with DIMENSION_TEXTURE3D. 2017-08-09 15:37:47 +02:00
Sven Hesse
0a87657e04 tests: Add tests for GetCopyableFootprints with DIMENSION_TEXTURE1D. 2017-08-09 15:37:44 +02:00
Sven Hesse
fd0dc1b7ce tests: Add tests for GetCopyableFootprints with DIMENSION_BUFFER. 2017-08-09 15:19:27 +02:00
Józef Kucia
0c41cea4a1 tests: Introduce update_buffer_data() helper function. 2017-08-08 17:09:35 +02:00
Józef Kucia
942ca6b2bd tests: Fix shader code indentation. 2017-08-08 17:09:35 +02:00
Józef Kucia
94e2c424e9 tests: Add test for texture UAV writes. 2017-08-08 17:09:35 +02:00
Józef Kucia
ca6b265e66 tests: Use reset_command_list() in more places. 2017-08-07 14:53:51 +02:00
Józef Kucia
6a8b99527a tests: Add test showing that block compressed texture sizes must be aligned. 2017-08-07 14:53:51 +02:00
Józef Kucia
ba91aeb720 tests: Add test for descriptor tables. 2017-08-04 17:06:33 +02:00
Sven Hesse
6165df4c5c tests: Don't test GetCopyableFootprints on unaligned compressed textures.
Compressed texture sizes must be correctly aligned to the block size.
2017-08-04 13:52:26 +02:00
Sven Hesse
6e601b1d0f tests: Calculate texture total size using row count, not height.
Because the row_pitch and row_size sizes are in terms of rows, not
texel lines. Otherwise, the calculation for compressed textures is
off.
2017-08-04 13:49:47 +02:00
Sven Hesse
3bf82279e9 tests: create_root_signature() can also return E_INVALIDARG.
The Nvidia drivers on Windows do that.
2017-08-03 16:31:57 +02:00
Sven Hesse
ea652cb0e4 tests: Create RTV and DSV descriptor heaps with FLAG_NONE.
FLAG_SHADER_VISIBLE isn't supposed to apply to RTV and DSV heaps.
2017-08-03 14:41:34 +02:00
Józef Kucia
573460550e libs/vkd3d: Do not assume CBV root parameter index is equal to Vulkan descriptor binding. 2017-08-02 15:30:15 +02:00
Józef Kucia
c9b05f68b5 tests: Add test for accessing constant buffers from compute shaders. 2017-08-02 15:30:15 +02:00
Józef Kucia
a8b64aeede tests: Add test for creating unordered access views. 2017-08-02 15:30:15 +02:00
Sven Hesse
8f250bf471 tests: Add tests for GetCopyableFootprints() with compressed formats. 2017-08-02 14:04:35 +02:00
Józef Kucia
26133bd801 tests: Add test for nested switch instructions. 2017-08-01 13:55:49 +02:00
Józef Kucia
e7d3897797 tests: Add test for D3D12_SHADER_VISIBILITY_ALL root constants. 2017-08-01 10:51:45 +02:00
Józef Kucia
94b616d670 tests: Add test for multiple root constants. 2017-08-01 10:51:45 +02:00
Józef Kucia
6478dea0d1 tests: Add test for GPU virtual addresses. 2017-07-28 12:56:18 +02:00
Józef Kucia
4d7a86295d tests: Add basic test for root constants. 2017-07-28 10:19:37 +02:00
Józef Kucia
4d8dea80ae tests: Add test for overlapping root descriptors. 2017-07-27 17:35:24 +02:00
Józef Kucia
dc598ccbc8 tests: Add test for creating root signatures with root constants. 2017-07-27 17:35:24 +02:00
Józef Kucia
2ba76ceb02 tests: Do not assign specific shader registers in test_texture().
It is not needed since we have a basic mapping for D3D12 shader
registers.
2017-07-26 14:50:39 +02:00
Józef Kucia
ac9abe7740 tests: Avoid unused shader outputs.
Fixes Vulkan validation layers performance warnings.
2017-07-25 14:23:27 +02:00
Józef Kucia
97e79e28cf tests: Add test for typed buffer UAVs. 2017-07-25 12:50:14 +02:00
Józef Kucia
23fa2ca599 tests: Add simple test for creating compute command queue. 2017-07-21 22:29:12 +02:00
Józef Kucia
c790aabb4d tests: Add additional test for loops. 2017-07-21 14:14:42 +02:00
Józef Kucia
465f1c449e tests: Add test for udiv instruction. 2017-07-21 14:14:42 +02:00
Józef Kucia
28285d2f18 tests: Add test for rcp instruction. 2017-07-21 14:14:42 +02:00
Józef Kucia
67d001c287 tests: Add test for imul instruction. 2017-07-21 14:14:42 +02:00
Józef Kucia
04672dc64c tests: Add test for imad instruction. 2017-07-21 14:14:42 +02:00
Józef Kucia
9e6bd63058 tests: Add test for log instruction. 2017-07-20 17:40:45 +02:00
Józef Kucia
530d1306e9 tests: Add test for exp instruction. 2017-07-20 17:40:45 +02:00
Józef Kucia
554321a23c tests: Add test for frc instruction. 2017-07-20 17:40:45 +02:00
Józef Kucia
d25df67f9c tests: Add test for integer comparison instructions. 2017-07-20 17:40:45 +02:00
Józef Kucia
e0d95289cd tests: Add test for umin and umax instructions. 2017-07-20 17:40:45 +02:00
Józef Kucia
c9d9763190 tests: Add test for round_{ni,pi} instructions. 2017-07-20 17:40:45 +02:00
Józef Kucia
d6853dcc20 tests: Add test for loop instructions. 2017-07-20 13:32:40 +02:00
Józef Kucia
465b0b998f tests: Add test for nested if instructions. 2017-07-20 13:32:40 +02:00
Józef Kucia
171ad02aa8 tests: Add test for movc instruction. 2017-07-18 17:32:26 +02:00
Józef Kucia
332da87f08 tests: Add test for swapc instruction. 2017-07-18 13:31:46 +02:00
Józef Kucia
da6c724c3b tests: Add test for texturing. 2017-07-17 16:25:29 +02:00
Józef Kucia
091ac41f79 libs/vkd3d: Partially handle descriptor table root parameters. 2017-07-17 16:25:29 +02:00
Józef Kucia
f79ecfc608 tests: Add test for ID3D12Device_GetCopyableFootprints(). 2017-07-13 11:56:30 +02:00
Józef Kucia
9e18111027 tests: Add test for creating samplers. 2017-07-12 13:10:44 +02:00
Józef Kucia
85b7dd6d73 tests: Introduce check_sub_resource_vec4() helper. 2017-07-11 17:23:02 +02:00
Józef Kucia
3be16a766f tests: Add test for immediate constant buffer.
Unfortunately, the test fails on Nvidia. It seems that SPIR-V variable
initializers are ignored.
2017-07-11 17:23:02 +02:00