Commit Graph

16341 Commits

Author SHA1 Message Date
baldurk cb053efe77 Fix duplicate failure reporting in auto sections 2025-10-21 16:46:47 +01:00
baldurk 70c303d1ab Bump shader cache version for modified include files 2025-10-15 12:32:44 +01:00
baldurk 5d824d9d3e Treat template types as trivial copies in debug info 2025-10-15 12:32:44 +01:00
baldurk dd40f0103e Insert dummy debug types for functions in case of member functions 2025-10-15 12:32:44 +01:00
baldurk 81a367be66 Add naming helper for image views 2025-10-15 12:32:44 +01:00
baldurk 48b19e8ba4 Add an immediate error check if SPIR-V compiler fails in tests 2025-10-15 12:32:44 +01:00
baldurk 9192882273 Silence validation warning about non-coherent map invalidates 2025-10-15 12:32:44 +01:00
baldurk ba578ed15f Handle maintenance9 handling of 3D barriers to internal transitions 2025-10-15 12:32:44 +01:00
baldurk 9571252d0c Fix wrong view range used for 2D-view-of-3D in renderpass discards 2025-10-15 12:32:43 +01:00
baldurk d0bf4546b8 Ignore validation message about dedicated sizing that we must ignore 2025-10-15 12:32:43 +01:00
Steven Li bee232f40c Fix the read back for remapped depth texture 2025-10-15 00:46:58 +09:00
Jake Turner 196ca9bae2 Run validate_trace() as part of generate_full_trace()
Ensure the trace is valid before running comparisons on it
2025-10-10 12:58:32 +01:00
Jake Turner 5f4614812c Spirv Atomic operations load GSM from global backing memory 2025-10-10 12:46:00 +01:00
Jake Turner 2fda1f79eb Extend VK Groupshared GSM atomic tests to match D3D12 Groupshared 2025-10-10 12:40:44 +01:00
Jake Turner 4f8954ca1a Extend D3D12 Groupshared GSM atomic tests of groupshared int 2025-10-10 12:40:40 +01:00
baldurk d4c38ac2fb Fix crash reading out of bounds on marker string 2025-10-10 11:48:25 +01:00
baldurk f64a6f3d31 Handle undef or NULL constant pointers without crashing 2025-10-09 14:47:28 +01:00
baldurk 824c8c1345 Don't match builtin inputs to vertex input attributes 2025-10-09 12:31:58 +01:00
baldurk 9e0d6f18d6 Display a message when we can't debug a pixel shader and show a history 2025-10-08 22:34:53 +01:00
Jake Turner 03b06b7e3c Update mac CI to use macos-14 runner 2025-10-08 16:10:31 +01:00
Jake Turner cfc467bbc4 Increase SRGB <-> Linear test tolerance to 6ULP
MacOS14 LLVM version needed this increase
2025-10-08 16:10:21 +01:00
Jake Turner c69d482f66 Remove race from D3D12 Shader Debug Zoo Interlocked tests 2025-10-08 16:08:43 +01:00
baldurk a2ce9b46db Add some array-based tests to shader linkage zoo demos 2025-10-08 14:22:45 +01:00
Aliya Pazylbekova 56ee544a28 Special treatment of UNDEFINED layout for external images
- Preserve the initial contents of UNDEFINED images if they are
external
- Don't consider a pipeline barrier from UNDEFINED a resource
discard for external images

Change-Id: Ife30e7c542a66668d681d492363a25745238119e
2025-10-08 21:11:12 +09:00
Jake Turner 49e764e2c1 D3D12_Shader_Debug_Zoo test overlapped GPU math and sampling operations
Also unified the indentation to spaces in the shader source
2025-10-08 09:48:14 +01:00
Jake Turner 15b510f131 Fix incorrect assert about DXIL result SSA tracking
Assert was changed in 0809a6dd3f when ssaMaxExecPoints was made into an rdcarray
2025-10-07 16:43:12 +01:00
Jake Turner 30b45f0cff Use ShaderDebugData enum when creating Vk Shader Debug Readback Buffer
ShaderDebugData::MAX_QUEUED_OPS instead of hard coded 128
2025-10-06 16:20:55 +01:00
baldurk 2485eefc80 viewportCount can't be assumed to be the number of scissors
* Although normally viewportCount == scissorCount, if viewport is
  DYNAMIC_WITH_COUNT and scissor is only dynamic (or fixed) the number of
  scissors must be used strictly.
2025-10-06 14:21:10 +01:00
baldurk a4ae1e881a Handle descriptor state being invalid/inaccessible for non-draw actions 2025-10-06 13:17:29 +01:00
Jake Turner 48fd758960 Set the correct values for the return of Operation::CompareExchange
Returns a struct: { Original Value,  1 (equal) / 0 (not equal)
2025-10-05 07:50:05 +01:00
Jake Turner 0e6fc382d7 Add Interlocked* tests to D3D12_Groupshared 2025-10-05 07:50:05 +01:00
Jake Turner 823ae93845 Support for Operation::ExtractVal on a struct 2025-10-05 06:49:54 +01:00
Jake Turner c1ba2694f7 Remove m_State from Spirv Debugger
Replaced with bool hasDebugState
2025-10-04 12:23:10 +01:00
Jake Turner 95b98c81f1 Update Spirv DebugBreak to work with multi-threading
Use pendingDebugState instead of m_State
2025-10-04 11:20:11 +01:00
Jake Turner 0809a6dd3f Changed ExecutionPointPerId to be an rdcarray instead of std::map
DXIL Debugger optimisation
2025-10-04 11:09:13 +01:00
Jake Turner b70b79e897 Changed m_Variables to be an rdcarray instead of std::map
DXIL Debuggeer optimisation and thread-safety
2025-10-04 09:25:04 +01:00
Jake Turner 377280eada Op::ImageRead does not have to be in lockstep
It does not require derivatives
2025-10-04 08:19:42 +01:00
Jake Turner ecd1860789 DXIL Debugger helper lanes don't modify UAVs 2025-10-04 07:16:49 +01:00
Jake Turner 3e38a63ebb D3D12_Shader_Debug_Zoo test for helper lane UAV writes are ignored 2025-10-04 07:16:49 +01:00
Jake Turner a0db9d5a1f Comment about thread safety requirements in Spirv debugger ids container 2025-10-03 15:20:57 +01:00
Jake Turner d7f7be63a9 Spirv debugger small tidy up for consistency
Rename:
simulationFinished -> atomic_simulationFinished
Vulkan_Hack_ShaderDebugUsesJobSystemQueue -> Vulkan_Hack_ShaderDebugUsesJobSystemJobs
2025-10-03 06:24:49 +01:00
baldurk 36f8d654dc Add NULL aliasing barrier around buffer discard patterns 2025-10-02 14:17:20 +01:00
baldurk 2018b5d790 Use the correct state for creating whole memory buffers on D3D12 2025-09-30 11:26:01 +01:00
baldurk a92e0d2669 Ensure capabilities are properly cached when only prepared once 2025-09-30 11:26:01 +01:00
Zackery Mason-Blaug 30f5a4023d Add support for VK_EXT_vertex_attribute_robustness 2025-09-30 19:10:06 +09:00
Zackery Mason-Blaug 9711e0eb57 Add support for maintenance9 vertex attribute robustness 2025-09-30 19:10:06 +09:00
Jake Turner c03b2e2fb0 Remove unused methods from GpuMathOperation & GpuSampleGatherOperation
Clear() methods are not used
2025-09-29 17:09:04 +01:00
baldurk 8864a1d81e Improve time listing available demos
* Remove redundant repeated calls when preparing multiple tests
2025-09-29 16:40:15 +01:00
baldurk dadf4a14d5 Serialise D3D12 buffer initial contents less memory-intensivesly 2025-09-29 16:37:45 +01:00
baldurk 41e9f3c426 Add a demo project with extremely high overlap/sparseness buffers
* For stressing memory overhead in buffer initial states
2025-09-29 16:37:45 +01:00