15677 Commits

Author SHA1 Message Date
baldurk cd94206b0f Add sections in Repeat_Load test v1.37 2025-02-27 15:31:00 +00:00
baldurk fe9a875fab Fix documentation of ResultDetails.code 2025-02-26 16:13:24 +00:00
baldurk 19512165bb Bail from Iter_Test when fatal errors are detected 2025-02-26 16:12:10 +00:00
baldurk 7ac76492f4 Clamp pixel shader comparisons to output components in Iter_Test 2025-02-26 16:11:58 +00:00
baldurk fd85828351 Respect scalar swizzles while preserving out-of-bounds clamp behaviour 2025-02-26 12:34:41 +00:00
Jake Turner 631144faab Set per-thread builtins for Vk Compute single thread debugging
DispatchThreadIndex
GroupThreadIndex
GroupFlatIndex
2025-02-26 12:08:24 +00:00
Jake Turner 60d0c6b21c Handle NULL resource for AtomicOp's
Was already handled for UAV Load/Stores
Increase assert value for components (maximum is 16 instead of 4)
2025-02-25 18:44:21 +00:00
Jake Turner bfe042a288 DXIL Debugger extend SM6.6 Direct Heap Access support
SM6.6 Direct Heap Access was already implemented for Texture data sampling
Now support getting SRV/UAV Buffer data and UAV Texture data
2025-02-25 18:44:20 +00:00
baldurk 2c67e87c17 Fix handling of out-of-bounds raw buffer loads in DXBC debug 2025-02-25 12:35:11 +00:00
baldurk 81268dc79a Try to preserve selected pipeline stage as much as possible
* When switching between mesh/normal pipeline keep the same stage selected if
  it's a common stage even if the index has changed.
2025-02-25 11:42:56 +00:00
baldurk d8535c6678 Fix writing of fake availability results in AS queries 2025-02-25 11:25:48 +00:00
baldurk 3d316dc4b2 Serialise dummy AS query results and ensure resolves are nop'd 2025-02-25 11:24:12 +00:00
baldurk 339927e2b4 Update VMA version in demos project 2025-02-25 10:58:15 +00:00
baldurk 2bb425563b Task and mesh shaders are part of pre-rasterization library interface 2025-02-24 18:52:49 +00:00
baldurk f3129c908c Clarify renderdoc module vs library for python 2025-02-24 17:19:46 +00:00
baldurk 32879d6f7c Update docs to mention both python modules version overrides 2025-02-24 17:19:46 +00:00
Jake Turner 4ab9cba381 Get the element type from the Constant not Global Variable for GEP 2025-02-24 16:37:45 +00:00
Jake Turner f2de54c148 Fix missing else if causing false assert about unhandled OpCode 2025-02-24 16:37:45 +00:00
Jake Turner 88f817f77d Handle callstacks to class/struct member functions 2025-02-24 16:37:45 +00:00
Jake Turner 7ebd608cbe Add basic compute shader debug test action to iter_test
Does not check any output, purely runs DebugThread on a random groupId and threadId
2025-02-24 16:37:45 +00:00
baldurk 57ceb652e3 Don't show internal buffers in external replay on D3D12 2025-02-24 15:39:11 +00:00
Jake Turner 554e746cc8 Emit error message instead of crashing for missing SSA variables
Make GetLiveVariable() behave similarly to GetPhiVariable()
2025-02-21 16:48:00 +00:00
Jake Turner 8e733a7b01 Extend parsing for DbgOpDeclare source data : constants
Let any instruction opcode be valid for the instruction that creates the variable
2025-02-21 16:35:24 +00:00
Jake Turner 38d0fdbf72 Add sub sections to DXIL ControlFlow tests
Add [controlflow] tag to tests
2025-02-21 16:35:07 +00:00
baldurk 46f83c15a4 Ensure replay loop is cancelled before window is hidden
* See also f56a989e4f - we don't want to make the replay loop always on
  top though
2025-02-21 14:38:54 +00:00
baldurk 31d29fcea1 Add python function to clear replay cache 2025-02-21 14:19:12 +00:00
baldurk e59c0494a5 Add fatal error checks to avoid crashes on load in AS init state apply 2025-02-21 13:46:59 +00:00
baldurk 8f0e9a2c48 Ensure no false positives in tests if some values are 0.0 2025-02-21 13:46:59 +00:00
baldurk 0cc8cded0c Only simulate multiple threads with config option enabled 2025-02-21 13:46:59 +00:00
baldurk a9cc63904e Catch and print errors properly if unregister() fails 2025-02-21 13:46:59 +00:00
baldurk 783e7d47a5 Make python extension loading more robust to missing register/unregister 2025-02-21 13:46:59 +00:00
baldurk 875cd36f9d Detect up to python 3.15
* Future proofing I guess
2025-02-21 13:46:59 +00:00
baldurk e7f400e4f3 Add D3D12 handling of swizzled UAV loads/stores 2025-02-21 13:46:58 +00:00
baldurk 2ae986ff70 Cache blobs in PSO helper to allow in-line blob compilation 2025-02-21 13:46:58 +00:00
baldurk d6c560415a Add D3D11 handling of swizzled UAV loads/stores
* Ensuring we properly clamp for non-typed UAV stores. Typed UAV stores are
  'easy' because they must always write all components.
2025-02-21 13:46:58 +00:00
baldurk 5e3bfb29b2 Simulate and propagate gsm data in DXBC 2025-02-21 13:46:58 +00:00
baldurk fc5282398f SRCI sizes includes null terminator 2025-02-19 15:10:27 +00:00
baldurk ec476bea79 Skip library functions in RDAT for listing entry points 2025-02-19 15:10:27 +00:00
baldurk e61aca2ee4 Try to re-use BDA capture/replay structs 2025-02-19 13:36:44 +00:00
baldurk f30f49fce5 Determine threadscope for DXBC and DXIL shaders 2025-02-19 13:36:44 +00:00
baldurk 1a6f62cecf Workaround new windows SDK not compiling on VS2015 2025-02-19 13:35:51 +00:00
baldurk f69ac73f1f Add demos that utilise groupshared memory in a simple way 2025-02-19 13:35:51 +00:00
baldurk 26e575f4e0 Improve display of root buffers in D3D12 pipeline state view
* When they're 'structured' but with no structure, still prefer the basic type
  declared in the shader reflection over the descriptor (which can't do better).
2025-02-19 13:35:51 +00:00
Jake Turner acf6307f81 Extend parsing for DbgOpDeclare source data : global variable, nop
It is valid for the instruction for the variable to be NoOp
2025-02-17 17:12:04 +00:00
Jake Turner 7109ef24f2 Extend DIExpression parsing
Add error for DW_OP_plus
DW_OP_deref is treated as a nop
2025-02-17 17:11:56 +00:00
Jake Turner 9364eff865 Disassemble cbuffer's with scalar type instead of Struct type 2025-02-17 17:11:49 +00:00
baldurk 4039b0f2f4 Process undocumented SRCI chunk in DXBC files containing source code
* When building to separate PDBs source code gets stripped out of the debug
  module and put into a separate chunk, it's all kind of a mess.
2025-02-14 17:33:57 +00:00
baldurk 7115c461d2 Ensure proxy texture remaps are correctly typecast. Closes #3541 2025-02-14 17:33:57 +00:00
baldurk ed27404d07 Add epsilon to VK_Pixel_History test 2025-02-14 17:33:57 +00:00
baldurk 4d41b7d421 Ignore some other WSI-only extensions on replay 2025-02-14 15:31:40 +00:00