Commit Graph
11608 Commits
Author SHA1 Message Date
Jake Turner bc403a291d DXIL debugger handle all int/float types for DXOp::Dot2/3/4 2025-10-25 10:17:24 +01:00
Jake Turner 8a725233d6 DXIL debugger handle all float types for DXOp::Saturate 2025-10-25 10:16:56 +01:00
Jake Turner eebb66eea1 DXIL debugger handle all int types for DXOp::IMin, IMax, UMin, UMax 2025-10-25 10:16:19 +01:00
Jake Turner d3e8891e41 DXIL debugger handle all float types for DXOp::FAbs 2025-10-25 10:15:41 +01:00
Jake Turner 1520431350 DXIL debugger handle all float types for DXOp::FMin, FMax 2025-10-25 10:15:12 +01:00
Jake Turner f1344c5485 Fix DXIL Debugger support for structs in the output structure
i.e. matrices

Fixed incorrect asserts in StoreOutput
Fixed source variable mapping
2025-10-25 08:35:20 +01:00
Jake Turner d1054b8fa2 DXIL Debugger improve handling of arrays of Samplers
Previously would only work in very simple scenarios where the array of Samplers was accessed once
2025-10-24 07:50:42 +01:00
Jake Turner 8a8aaf269a Fix DXIL global samplers resize() which should have been reserve() 2025-10-24 06:51:29 +01:00
Jake Turner 8aa42d0348 Set the correct number of elements in LaneBuffer 2025-10-23 09:48:19 +01:00
Jake Turner c756cbeced Move DXBC debugger comment to the correct place 2025-10-23 09:15:42 +01:00
Jake Turner 1c10c0654a Make DXIL GlobalVar names unique in the debugger and disassmbly 2025-10-23 09:15:42 +01:00
baldurk 6fe5e8d765 Use serialised desc struct for serialised RT emit info call 2025-10-22 18:24:04 +01:00
baldurk 7b00e42310 Handle NULL arrays being bound on D3D11 2025-10-21 23:31:22 +01:00
baldurk 5fd9cd67a5 Ensure D3D12 descriptors are properly initialised for pipeline state 2025-10-21 23:31:22 +01:00
baldurk f42dbdcdd6 Don't force API validation in development builds on D3D11/GL 2025-10-21 23:31:22 +01:00
baldurk 182af54086 Set format in fake descriptors for GL pipeline state FBO attachments 2025-10-21 16:46:50 +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 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 5f4614812c Spirv Atomic operations load GSM from global backing memory 2025-10-10 12:46:00 +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
Jake Turner cfc467bbc4 Increase SRGB <-> Linear test tolerance to 6ULP
MacOS14 LLVM version needed this increase
2025-10-08 16:10:21 +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 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 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 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
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 dadf4a14d5 Serialise D3D12 buffer initial contents less memory-intensivesly 2025-09-29 16:37:45 +01:00
Jake Turner 1ccdf7f4f4 Op::ControlBarrier requires full lockstep when being simulated
Lockstep before executing the instruction
Lockstep after executing the instruction
2025-09-28 07:26:30 +01:00