baldurk
14b3a06361
Add test of D3D12 ExecuteIndirect
2020-01-22 19:05:53 +00:00
baldurk
a49f3f5462
Add test of degenerate vertex shaders with no outputs but full GS output
2020-01-22 19:05:53 +00:00
baldurk
6c68576707
Add workaround for strange systems with difficult visualinfo setups
2020-01-22 19:05:53 +00:00
baldurk
9dc53d4dd1
Add a test of D3D12 sharing resources
2020-01-21 18:28:57 +00:00
baldurk
60951195c2
Use VK_EXT_tooling_info in VK_Simple_Triangle
2020-01-21 18:28:57 +00:00
baldurk
a869f12c9c
Update vulkan headers and volk in tests project
2020-01-21 18:28:57 +00:00
baldurk
45f983f97b
Fix compilation of GL demo on linux
2020-01-21 18:28:57 +00:00
baldurk
db0779e09b
Add test for mesh view - vertex picking and mesh rendering
2020-01-21 18:28:55 +00:00
baldurk
2ecee8fc54
Fix D3D error in D3D11_Deferred_Map
2020-01-20 14:57:00 +00:00
thisisjimmyfb
0734776a49
added test demo and script for opengl backdoor context
2020-01-20 13:41:18 +00:00
baldurk
11f1f30b46
Fix crash when mapping textures on deferred contexts
2020-01-20 12:23:47 +00:00
baldurk
892abb686f
Apply clang-format to demos project as well
2020-01-16 23:06:23 +00:00
Benson Joeris
a64d0df073
Add input attachment case to vk_separate_depth_stencil_layouts demo
...
Change-Id: I06273c36cb468eebf360dbd742a8f95b7f9aeeaf
2020-01-14 18:01:58 +00:00
baldurk
1758b32045
Add a test of callstack collection
2020-01-13 19:04:44 +00:00
baldurk
86f39640d0
Add shader editing tests on D3D
2020-01-13 18:18:59 +00:00
Benson Joeris
7ba61adc01
Add vk_separate_depth_stencil_layouts demo
...
Change-Id: Ia66edbd53aa2b21426ecbea609bd8bbbd3b278b5
2020-01-09 17:57:19 +00:00
Benson Joeris
0d5324f708
Fix alignment bug in demo helper
...
Change-Id: I890bea8ddba6d47074dcf9135443c61f2601a972
2020-01-09 17:57:19 +00:00
baldurk
a05622b37e
Force stencil swizzled output to only output green
...
* On some GPUs the stencil output comes in all channels, not just green, and
it's unclear if this is legal or not. To be safe just mask out the green we
expect.
2020-01-08 19:10:51 +00:00
baldurk
29a650d859
Don't delete the 0 VAO or FBO, even if the application asks nicely
2020-01-07 17:28:17 +00:00
baldurk
2916c0f9f7
Update copyright years to 2020
2020-01-06 16:20:45 +00:00
baldurk
dbbfe4c35c
Fix clang warning about adding to string literal
...
* This is what we want to do but it's admittedly quite strange
2019-12-20 15:09:33 +00:00
baldurk
82745ce562
Add some markers to vulkan texture zoo data rendering
2019-12-19 21:50:13 +00:00
baldurk
2620f0bb8c
Add missing BGR flip for UINT/SINT textures in vulkan texture zoo
2019-12-19 21:50:13 +00:00
baldurk
c22a5f3622
Add GL test helper to make compute program
2019-12-18 19:09:18 +00:00
baldurk
cde17e9710
Set NEAREST sampling for textures in GL texture zoo
...
* This is needed particularly for integer textures which are incomplete if
sampled (even with a non-sampling instruction) with the default LINEAR
filtering.
2019-12-18 19:09:18 +00:00
baldurk
b123ef42a9
Check that our MSAA sample count is supported in GL texture zoo test
2019-12-18 19:09:18 +00:00
baldurk
08ccab2a7f
Prefer VK_LAYER_KHRONOS_validation for debugging if available
2019-12-13 11:09:57 +00:00
baldurk
ed53548731
Check for optional vertex buffer format support in vulkan vertex zoo
2019-12-13 11:07:32 +00:00
baldurk
6bbf4cb209
Allow fallback to glslangValidator in tests for compiling SPIR-V
2019-12-12 17:58:52 +00:00
baldurk
848b58826d
Ensure we ignore unused parameters in DescriptorUpdateTemplateCreateInfo
2019-12-12 17:58:52 +00:00
baldurk
0773f13949
Ensure re-used handles in descriptor sets don't cause problems
...
* Previously if a handle was reused, and then a stale descriptor referencing the
old handle was removed it would remove the *new* object from the list of
referenced resources. This could cause a resource to be not included in a
capture if nothing else added a new reference.
2019-12-12 17:58:52 +00:00
baldurk
39793cf850
Renderpass barriers apply to whole 3D texture even when using one slice
...
* When the renderpass has an initialLayout = UNDEFINED, that applies to the
whole resource on 3D textures even if we're only rendering to a slice at a
time
2019-12-12 17:58:51 +00:00
baldurk
f8ff6b4f6c
Fix parameters for rendering 3D depth images in texture zoos
2019-12-12 17:58:51 +00:00
baldurk
c63baeb609
Bind unused pixel pack/unpack buffers in GL_Resource_Lifetimes test
...
* This ensures having them around doesn't break capture.
2019-12-11 16:59:50 +00:00
baldurk
7726dc1cd0
Test glCreateShaderProgramv use in GL_Resource_Lifetimes test
2019-12-11 16:52:20 +00:00
baldurk
67082e037d
Fix GL texture zoo handling of RGB9E5
2019-12-10 19:39:08 +00:00
baldurk
723c293414
Update vulkan headers and implement VK_EXT_tooling_info. Closes #1632
2019-12-09 16:46:26 +00:00
baldurk
289e159072
Add padding to struct definitions in shaders, for better formatting
2019-11-29 13:53:45 +00:00
baldurk
77b5c391e9
Check that we handle padding and alignment around structs
...
* On all APIs structs are aligned up to 16-byte alignment, and on D3D as with
arrays then elements coming after the struct can be packed into the padding
after the last struct element.
2019-11-29 13:53:44 +00:00
baldurk
b16dda9d4a
Update to vulkan headers 1.1.129
...
* Expand handling for EXT_buffer_device_address to cover
KHR_buffer_device_address
2019-11-27 16:14:40 +00:00
baldurk
24c0b018ea
Fix types used for non-uint types in GL_Texture_Zoo test
2019-11-27 12:06:25 +00:00
baldurk
f7e5199cf4
Clamp out-of-bounds undefined results for resinfo
2019-11-27 11:02:25 +00:00
baldurk
31c962bf51
Free undefined image in VK_Image_layouts test
...
* The free() function should also destroy the image/buffer not just free the
memory.
2019-11-26 23:42:16 +00:00
baldurk
279a2ec69d
Add texture zoo tests
...
* These tests ensure that texture rendering works correctly for all different
types of texture types, and for all formats, across different APIs, including
across a remote-proxy connection.
2019-11-26 17:38:27 +00:00
baldurk
c547937597
Add helpers for tests checking PCI vendorIDs/driver versions
2019-11-25 23:36:45 +00:00
baldurk
f35e082228
Keep track of VmaAllocation for each image/buffer and free it
...
* VMA requires us to free each suballocation even on shutdown where we just want
to block-free
2019-11-25 23:36:44 +00:00
baldurk
284996ae2c
Check for errors on queue submissions
2019-11-25 23:36:44 +00:00
baldurk
b222d6388c
Don't flush bufinfo/resinfo opcodes
...
* The input miplevel is an integer even if the outputs are floats. The outputs
won't be denormal as they're dimensions etc.
2019-11-22 15:08:16 +00:00
baldurk
9de4931213
Don't ever flush immediate values in shader debugging
...
* We assume that fxc won't output a denormalised float in the bytecode, and this
prevents us from flushing integer inputs to otherwise flushable float-type
operations
2019-11-22 14:59:18 +00:00
baldurk
ce124cbc2e
Add sensible defaults for depth-stencil state in vulkan helpers
2019-11-22 14:56:51 +00:00