Commit Graph

90 Commits

Author SHA1 Message Date
Józef Kucia
7212a74a05 tests: Add test for deserialization of root signature static samplers. 2017-07-06 10:12:22 +02:00
Józef Kucia
0699755b81 tests: Add visual test for shader register source modifiers. 2017-06-29 13:40:27 +02:00
Józef Kucia
5ae7e3d9d0 tests: Add visual test for min/max instructions. 2017-06-29 13:40:27 +02:00
Józef Kucia
5d1829329a tests: Add visual test for _sat modifier. 2017-06-29 13:40:27 +02:00
Józef Kucia
2be7b7f7f8 tests: Store default viewport and scissor rect in test context. 2017-06-29 13:40:27 +02:00
Józef Kucia
6f83cfc03f tests: Rename test_draw_context to test_context. 2017-06-29 13:40:27 +02:00
Józef Kucia
94d0b8a7c8 tests: Add test for scissor test. 2017-06-29 13:40:27 +02:00
Józef Kucia
b1000b73d3 tests: Add visual test for SM5 bit instructions. 2017-06-29 09:02:50 +02:00
Józef Kucia
3907daf34b tests: Add visual tests for ishl instruction. 2017-06-29 09:02:50 +02:00
Józef Kucia
cd2e14ba22 tests: Add visual test for ushr instruction. 2017-06-29 09:02:50 +02:00
Józef Kucia
4e22eeec05 tests: Add visual test for ishr instruction. 2017-06-29 09:02:50 +02:00
Józef Kucia
6dbdb872fc tests: Add visual tests for bitfield instructions. 2017-06-28 12:28:09 +02:00
Józef Kucia
5005e2c10d tests: Add visual test for ftoi instruction. 2017-06-28 12:28:09 +02:00
Józef Kucia
acc854ccec tests: Add visual test for ftou instruction. 2017-06-28 12:28:09 +02:00
Józef Kucia
0cbd632bd3 tests: Add more tests for control flow instructions. 2017-06-28 12:28:09 +02:00
Józef Kucia
19cb3aa0ed tests: Add test for ID3D12RootSignatureDeserializer. 2017-06-27 13:16:47 +02:00
Józef Kucia
dc26657398 tests: Add visual test for eq instruction. 2017-06-26 17:03:31 +02:00
Józef Kucia
3178e25cb5 tests: Add visual test for ne instruction. 2017-06-26 17:03:31 +02:00
Józef Kucia
0f77fb3435 tests: Add visual test for if instruction. 2017-06-26 17:03:31 +02:00
Józef Kucia
2c4a4bd816 tests: Add initial visual test for shader instructions. 2017-06-23 22:24:33 +02:00
Józef Kucia
55aa937df7 tests: Make test context more flexible. 2017-06-23 22:24:33 +02:00
Józef Kucia
a646e7ed34 tests: Prefer green color for tests success. 2017-06-23 22:24:33 +02:00
Józef Kucia
fe61e0ba22 tests: Add test for fractional viewports. 2017-06-22 13:36:18 +02:00
Józef Kucia
b288c9e672 tests: Add test for fragment coordinates. 2017-06-21 22:00:19 +02:00
Józef Kucia
d35c02be8c tests: Remove vertex shader SPIR-V code from init_draw_test_context_(). 2017-06-21 12:22:20 +02:00
Józef Kucia
2c06f47432 tests: Remove fragment shader SPIR-V code from init_draw_test_context_(). 2017-06-20 13:34:44 +02:00
Józef Kucia
8b416514c1 tests: Remove SPIR-V shader code from test_create_pipeline_state(). 2017-06-19 19:49:11 +02:00
Józef Kucia
995720f5f5 include: Add align() helper function. 2017-06-16 22:38:21 +02:00
Józef Kucia
84889646f6 Update license to LGPL v2.1. 2017-06-16 22:11:21 +02:00
Józef Kucia
6151119eef tests: Simplify get_refcount(). 2017-05-28 11:45:50 +02:00
Henri Verbeet
0f38858996 libs/vkd3d: Implement D3D12_ROOT_PARAMETER_TYPE_CBV root signature parameters. 2016-11-13 00:44:19 +01:00
Henri Verbeet
fa4072a892 libs/vkd3d: Implement d3d12_command_list_DrawIndexedInstanced(). 2016-11-10 16:49:22 +01:00
Henri Verbeet
2213e126cf libs/vkd3d: Implement d3d12_command_list_ClearDepthStencilView(). 2016-11-10 16:43:33 +01:00
Józef Kucia
3ab664c84a tests: Enable debug layer only when tests are run with "--validate" argument. 2016-11-09 15:03:46 +01:00
Józef Kucia
2eed0e0ed3 tests: Write test name to debug output.
This is useful when inspecting the output of D3D12 debug layer.
2016-11-09 15:03:46 +01:00
Józef Kucia
3b748bf5fb tests: Add basic test for texture resource barriers. 2016-10-25 13:23:18 +02:00
Józef Kucia
e987e02706 tests: Add test for bundle state inheritance. 2016-10-24 13:20:09 +02:00
Józef Kucia
53db1da082 tests: Get rid of D3D12 debug layer warning. 2016-10-24 13:20:09 +02:00
Józef Kucia
f35b311aa1 tests: Introduce "draw_test_context" for simple drawing tests. 2016-10-24 13:20:09 +02:00
Józef Kucia
eea8617b9b libs/vkd3d: GPU virtual address for texture resources is always 0. 2016-10-24 13:20:09 +02:00
Józef Kucia
e19e428ed0 libs/vkd3d: Check if device memory is CPU accessible in d3d12_resource_Map(). 2016-10-24 13:20:09 +02:00
Józef Kucia
81164d43f7 tests: Use stdbool. 2016-10-24 13:20:09 +02:00
Józef Kucia
bc1c2bcadf tests: Separate statements by semicolon instead of comma. 2016-10-20 16:54:45 +02:00
Józef Kucia
fd9f1abb4f libs/vkd3d: Fix command list resetting.
A command list can be resetted to the same command allocator when it is
in use.
2016-10-20 16:38:04 +02:00
Józef Kucia
2189859532 libs/vkd3d: Command allocator can be used with one command list at a time. 2016-10-20 16:38:04 +02:00
Józef Kucia
d3ad189be4 tests: Add test for resetting command list when it is in use. 2016-10-20 16:38:04 +02:00
Józef Kucia
f2c980af56 libs/vkd3d: Validate resource state for resource barriers. 2016-10-19 16:39:48 +02:00
Józef Kucia
34f6abc81d tests: Add test for mapping CPU inaccessible buffers. 2016-10-19 13:10:12 +02:00
Józef Kucia
69cd100d48 libs/vkd3d: Validate initial resource state. 2016-10-19 13:10:12 +02:00
Józef Kucia
f601cbc04a libs/vkd3d: Validate "optimized_clear_value" for buffer resources. 2016-10-19 13:10:12 +02:00