Commit Graph
515 Commits
Author SHA1 Message Date
baldurk 69a9c09ecd Use correct clear colour for UINT discard texture 2026-08-26 09:23:58 +01:00
baldurk 752543e0fe Don't test 1D block compressed textures in vulkan texture zoo 2026-08-25 13:19:05 +01:00
Jake Turner e807742444 Tweak RenderPass setup/usage in VK_Resource_Usage
Use the mainWindow RenderPass everywhere
2026-08-10 07:25:32 +01:00
baldurk d0030787c6 Fetch inputs and allow debugging for VRS. Closes #3705 2026-07-27 17:10:14 +01:00
baldurk c6c8f807c9 Update VK_Image_Layouts test to check preinitialised data also 2026-07-24 17:52:48 +01:00
baldurk ccc110c57e Fix some validation errors in tests 2026-07-24 17:52:48 +01:00
Jake Turner 40d6d5fd8a Extend VK_Annotations test
- loose event annotation
  - a barrier at end of command buffer
  - at end of command buffer attached to vkEndCommandBuffer
  - command buffer with no actions, just set marker
- annotations before/during/after vkCmdDrawIndirectCount calls
2026-07-22 15:29:08 +01:00
Jake Turner a2d133c353 Change the DrawMeshIndirect parameters in VK_Resource_Usage 2026-07-22 06:02:26 +01:00
Jake Turner 48bb4350bd VK_Parameter_Zoo: add empty vkQueueSubmit before colour draws 2026-07-20 12:32:57 +01:00
Jake Turner b2948d3de5 VK_Pixel_History: add test for nested secondaries 2026-07-17 12:18:19 +01:00
Jake Turner 74d1241a55 VK_Indirect: add a large IndirectCount draw before execute secondary 2026-07-17 06:16:19 +01:00
Jake Turner 97a11ae6a9 Extend VK_Resource_Usage : execute an empty secondary command buffer 2026-07-16 12:13:37 +01:00
baldurk 0a1a33df51 Update vulkan headers to 1.4.356 2026-07-03 16:31:40 +01:00
Jake Turner b7a2290435 VK_Indirect unify indirect count marker name for Primary & Secondary
Primary was using KHR_action_indirect_count
Secondary was using KHR_draw_indirect_count
Standardise on KHR_draw_indirect_count
2026-06-05 16:16:24 +01:00
Jake Turner 44deaebd90 VK_Indirect test improvements
Check ALL overlays on ALL EIDs don't crash
Add some IndirectCount draws to VK_Indirect for testing overlays
Check overlays produce output and pixel history is not empty for each non-empty draw
Check overlays produce expected output for empty draws i.e. empty except for *Pass overlay modes
Check Quad Overdraw and Triangle Size overlays outputs match when comparing the Pass and Draw versions
2026-06-04 11:40:22 +01:00
Jake Turner 056c5779b1 Fix validation warning in VK_Indirect
VUID-VkDrawIndexedIndirectCommand-firstInstance-00554
If the drawIndirectFirstInstance feature is not enabled, firstInstance must be 0
2026-06-01 11:23:33 +01:00
Jake Turner 1cb44cb19d Fix validation error in VK_Indirect 2026-05-20 15:57:37 +01:00
Jake Turner 7ab87fbe8e Extend VK_Resource_Usage test
- add test for vkCmdDrawIndirect with zero count
- add test for vkCmdDrawIndexedIndirect with zero count
- add tests for vkCmdDrawMeshTasksEXT
- add tests for vkCmdDrawMeshTasksIndirectEXT
- add tests for vkCmdDrawMeshTasksIndirectCountEXT
2026-05-13 14:54:15 +01:00
Jake Turner 97149601da VK_Shader_Debug_Zoo changes for compute derivative tests
For compute quad derivatives tests use specific derivative i.e. fine or coarse.
It isn't specified which derivative mode is used, drivers differ on behaviour.
2026-05-06 18:33:03 +01:00
Jake Turner f62af14532 Add VK_Parameter_Zoo test case for VkQueueSubmit with zero count
vkQueueSubmit(0) and VkQueueSubmit2(0)
2026-05-05 13:28:32 +01:00
Jake Turner 2287790c41 Extend VK_Resource_Usage test: multiple usages, desc buffer copying
- Bind the same resource as the Indirect Buffer and the Index Buffer
  - Defines the resource usage when an indirect command binds the same resource for multiple usags i.e. Indirect + Index Buffer
- Descriptor buffer contents set by earlier command buffer than usage in a single submit
  - Verifies the resource usage submit replay is correct (one command buffer at a time)
2026-04-23 16:14:13 +01:00
Jake Turner 0384c64d81 Fix submit semaphores in VK_Resource_Usage test
Fix validation layer errors
2026-04-22 12:24:34 +01:00
Jake Turner 15dfa312da Extend VK_Resource_Usage test: multiple command buffer submit/exec
Execute multiple secondary command buffers at once
Test loose events (barriers) on nested secondary command buffer, secondary command buffer which is submitted multiple times and a command buffer which is submitted multiple times
Submit the same command buffer multiple times
2026-04-21 10:39:23 +01:00
Jake Turner d8cb84e2ce Add setName overload for VkCommandBuffer, VkCommandPool 2026-04-21 10:37:46 +01:00
Jake Turner e4a3fdce0f Extend VK_Resource_Usage test
IndirectDrawCount
Loose events (barriers) after actions
2026-04-16 15:57:22 +01:00
Jake Turner 3cbf516e5f Extend VK_Resource_Usage test
* Descriptor Set: IndirectDraw, IndirectDrawIndexed, IndirectDispatch
* Secondary Command Buffer: Descriptor Set: IndirectDraw, IndirectDrawIndexed, IndirectDispatch
2026-04-08 13:57:33 +01:00
Jake Turner fb8d1e0ed8 Extend VK_Resource_Usage test
A specific demos test instead of using the VK_Simple_Triangle demo

* No Descriptor Set: Draw, DrawIndexed
* Descriptor Set: Draw, DrawIndexed
* Descriptor Buffer: Draw, DrawIndexed
* Secondary Command Buffer: No Descriptor Set: Draw, DrawIndexed
* Nested Secondary Command Buffer: No Descriptor Set: Draw, DrawIndexed
* Descriptor Set: Compute Dispatch
* Descriptor Buffer: Compute Dispatch
* Secondary Command Buffer: Descriptor Set: Compute Dispatch
* Nested Secondary Command Buffer: Descriptor Set: Compute Dispatch
2026-03-31 15:49:46 +01:00
Jake Turner eb30aebfdf Add more overloads for VulkanGraphicsTest::setName 2026-03-30 13:27:30 +01:00
Jake Turner 3d9099bc78 Assign flags in vkh::ComputePipelineCreateInfo constructor 2026-03-30 13:27:21 +01:00
Jake Turner 759f1734ac Fix Validation Warnings in VK_Descriptor_Heap 2026-03-26 08:38:41 +00:00
baldurk aebb1f90ee Fix AoS output in mesh viewer being incorrect with mesh shaders
* This would generally only come up with gl_PerVertex, and was hidden before
  because gl_Position is the first member. It likely would also reproduce if a
  user had a struct output from the mesh shader.
2026-03-16 15:12:30 +00:00
Jake Turner c2636d7250 Add vkQueueSubmit with two submits to VK_Parameter_Zoo 2026-03-12 13:02:12 +00:00
baldurk dc82c117f5 Fix edge case of bitfield extract with count == numbits. Closes #3813
* This is only legal if offset is 0 and so degenerate, but it is valid and needs
  to be handled.
2026-03-11 22:43:24 +00:00
baldurk c5df93bbfa Check for samplers potentially being garbage in descriptor updates
* If immutable samplers are used the sampler parameter of a descriptor update
  could be garbage. Checked for elsewhere but not handled in descriptor update
  template unwrap.
2026-03-03 17:54:46 +00:00
Jake Turner 547a64a13c Fix GPU syncval errors in VK_Custom_Resolve
SynchronizationValidation with "Shader accessed heuristic"
2026-03-03 16:53:14 +00:00
Jake Turner 1cd63c2d6c Added VK_Custom_Resolve test
RenderPass and Dynamic rendering for MSAA 4x target with a custom resolve shader
2026-03-02 12:49:17 +00:00
Jake Turner b08db39817 Change VK_Indirect to only use drawIndirectCount if it is available 2026-03-02 09:12:00 +00:00
Jake Turner 1dad34a8ef VK_Shader_Debug_Zoo fix bad spirv on packed integer dot product tests
spirv-val and spirv-as identified the problem

Add missing PackedVectorFormat4x8BitKHR packed format tests
2026-02-23 11:02:42 +00:00
baldurk e3b4ff8395 Update vulkan headers to 1.4.343 2026-02-13 13:06:20 +00:00
Jake Turner 56de707492 Demos support for "VK_EXT_metal_surface" on Apple 2026-02-09 20:06:59 +00:00
Jake Turner 1bd80b13cc Extend VK_Mesh_Shader tests for struct arrays, struct in a payload 2026-02-04 13:25:18 +13:00
baldurk bd78fcc473 Update multiview test to check shader exported viewport
* This also has code to support the qcom implicit viewport, but we disable that
  path by default since it would break all the single-viewport tests.
2026-01-30 18:11:41 +00:00
baldurk a5d5e4d7fe Check for multiview geometry feature
* This means the triangle size overlay will not be available.
2026-01-30 18:01:50 +00:00
baldurk fe7462330f Fix warning on clang for vulkan helper function 2026-01-30 15:56:14 +00:00
baldurk 490935242d Explicit cast for annoying linux compilers where ULL/LL isn't int64 2026-01-30 15:54:51 +00:00
baldurk a9c590b8a2 Remove accidental commit 2026-01-30 15:54:35 +00:00
Jake Turner 0bec9e0a0c Add struct array to VK_Mesh_Shader task out 2026-01-29 09:16:48 +13:00
baldurk 965d1c9568 Add demo tests for annotations 2026-01-28 14:42:11 +00:00
Jake Turner e351910071 VK Shader Debug Zoo tests for SPV_KHR_integer_dot_product
OpSDot
OpUDot
OpSUDot
OpSDotAccSat
OpUDotAccSat
OpSUDotAccSat

for 8, 16, 32, 64 bit types (signed & unsigned) and packed 32-bit vectors (4x8-bit)
2026-01-27 16:16:29 +13:00
baldurk 856c838def Update copyright years to 2026 and fix copyright ranges
* In a previous update in 2021 many copyright ranges were truncated
  accidentally, and some files have been copy-pasted with wrong years. These
  dates have been fixed based on git history and original copyright messages.
2026-01-05 14:17:28 +00:00