Commit Graph

15394 Commits

Author SHA1 Message Date
baldurk 69324f8e07 Group apply button with format text box in buffer formatter
* The apply button used to be below the text box but now can be hard to see with
  the saved formats also in the way.
2024-12-13 16:48:16 +00:00
baldurk 7d6ecd1b3d On main UI interface classes add a back-link at where they are retrieved
* E.g. this documents on the ExtensionManager that it's retrieved from
  CaptureContext.Extensions()
2024-12-13 16:48:16 +00:00
baldurk 0880f7b0be Remove unused help window button from extension manager 2024-12-13 16:48:16 +00:00
baldurk e189c0efd0 Manually link to callback types in docstrings
* The auto-type in parameters does not get linked, but we can manually link it
  in the docstring text.
2024-12-13 16:48:16 +00:00
Jake Turner fb4a6645fc DXIL Debugger ignore name on block predecessor
Blocks are guaranteed to have a unique ID
2024-12-12 20:01:28 +00:00
Jake Turner b91d6929e3 DXIL Debugger record all variables related to handles
Previously was not generating a UI change for annotate handle or creating a handle to an already known resource
2024-12-12 20:01:28 +00:00
Jake Turner a4e51b8c7c DXIL Debugger do not do SSA lifetime checks on helper threads
Do the SSA lifetime check before executing the next instruction instead of after executing it
2024-12-12 20:01:28 +00:00
Jake Turner 2405b54e47 DXIL Debugger tidyup some TODOs and clarify handling of input coverage 2024-12-12 20:01:27 +00:00
baldurk beda6597aa Zero-initialise struct 2024-12-12 16:29:40 +00:00
baldurk 3a91874abb Force on BDA unconditionally when ASs are enabled 2024-12-12 16:29:40 +00:00
baldurk 348ca307dd Stringise flags properly in serialisation 2024-12-12 16:02:04 +00:00
baldurk d0e415ea93 Fix formatting of single-count indirect mesh draws 2024-12-12 14:07:37 +00:00
baldurk c82ff05639 Unwrap AS push updates 2024-12-12 12:38:22 +00:00
baldurk b2a9a2b6ec Add missing stringise 2024-12-12 12:38:22 +00:00
Jake Turner 8de9c1dcbb DXIL Debugger support for SV_ related ops
DXOp::SampleIndex
DXOp::Coverage
DXOp::InnerCoverage
DXOp::ViewID
DXOp::PrimitiveID
2024-12-11 15:55:10 +00:00
Jake Turner 4c880eb940 DXIL Debugger copy any SV_* from inputs to m_GlobalState::builtinInputs 2024-12-11 15:54:52 +00:00
Jake Turner 93e3092a75 DXIL Debugger support for DXOp::IsHelperLane 2024-12-11 15:54:11 +00:00
Jake Turner 84cd45d1ce DXIL Debugger remove out of date TODO 2024-12-11 14:41:40 +00:00
Jake Turner c547d7c9d8 DXIL Disassembly show resource type as "half" for 16-bit floats 2024-12-11 14:39:11 +00:00
Jake Turner e7d05668db DXIL Debugger convert int 16-bit component types to 32-bit RETURN_TYPE
The resource sampling is done using 32-bit integer's and converted to 16-bit on the CPU
2024-12-11 14:38:53 +00:00
Jake Turner 0a873087c8 DXIL Debugger convert float sample data to half return type 2024-12-11 14:38:36 +00:00
Jake Turner 8d14ca8400 DXIL Debugger treat half component type as RETURN_TYPE_FLOAT
The resource sampling is done using float's and converted to half on the CPU
2024-12-11 14:38:23 +00:00
Jake Turner 893cf6304e D3D12 Shader Debugging error for invalid sample return type 2024-12-11 14:38:14 +00:00
Jake Turner 35ddf65d62 DXIL Debugger match ExtractInputsPS compile options to vertex shader
Use the same SM profile
Compile with -enable-16-bit-types if the vertex shader has the flag NativeLowPrecision
2024-12-11 14:36:33 +00:00
Jake Turner 052961ea08 Added DXBCContainer::GetGlobalShaderFlags() 2024-12-11 14:36:09 +00:00
Jake Turner daa0392170 Extend D3D12 GetShaderBlob() to allow passing arbitrary compile options
Pass via ShaderCompileFlag with name "@compile_option" and value is the compile option to add

Added helper to return D3D12 Shader Cache m_CompileFlags
2024-12-11 14:34:40 +00:00
Jake Turner cfa392e279 DXIL Debugger handle Half types in GatherPSInputDataForInitialValues() 2024-12-11 14:25:50 +00:00
Jake Turner 8679f8a9ba DXIL Debugger handle Half types in GetInterpolationModeForInputParam() 2024-12-11 14:25:10 +00:00
Jake Turner b6dca8fb47 DXIL Debugger do not flush denorm for Half types 2024-12-11 14:24:39 +00:00
Jake Turner 6fddc34077 DXIL Debugger support for DXOp::IMul, DXOp::UMul, DXOp::UDiv
Prevent divide by zero for integer divides. Set GeneratedNanOrInf for divide by zero.
2024-12-11 06:55:59 +00:00
Jake Turner a40d729bbe Use mad() intrinsic in D3D12_Shader_Debug_Zoo SM6+ tests 2024-12-10 17:36:30 +00:00
Jake Turner ae7159fc63 DXIL Debugger support for DXOp::IMad, DXOp::UMad 2024-12-10 17:36:26 +00:00
Jake Turner 3ada6022e1 DXIL Debugger support for Operation::CompareExchange 2024-12-10 16:39:35 +00:00
baldurk 4f7dd54d9e Fix file encoding error in nvapi header 2024-12-10 15:16:19 +00:00
Friedrich Vock eab775181a Always pass CAPTURE_REPLAY RT pipeline create flags
This is required for RT pipelines when capture/replay handles are used,
both during capture and replay.
2024-12-10 15:16:08 +00:00
Friedrich Vock 6a761c2196 Enable RT pipeline capture/replay feature alongside RT pipelines
Required for using capture/replay shader handles.
2024-12-10 15:16:08 +00:00
Jake Turner 06047f10dd DXIL Debugger support for DXOp::AtomicCompareExchange 2024-12-10 13:50:40 +00:00
Jake Turner 8138a632f2 DXIL Debugger support for DXOp::AtomicBinOp 2024-12-10 13:49:02 +00:00
Jake Turner 8de06cf324 D3D12 Shader Debug Zoo : add a test for UAV Interlocked*
RWTexture<int>

InterlockedAdd
InterlockedAnd
InterlockedOr
InterlockedXor
InterlockedMin
InterlockedMax
InterlockedCompareExchange
InterlockedCompareStore
InterlockedExchange
2024-12-10 13:46:47 +00:00
Jake Turner 8f75a1658f DXIL Debugger treat global variables as always in scope 2024-12-10 11:38:26 +00:00
Jake Turner 9e0e25a576 DXIL Debugger save previous block, Phi Variables for Operation::Switch 2024-12-10 06:21:35 +00:00
Jake Turner 24faca1ae9 DXIL Debugger ignore global variable zeroinitializer
The backing memory is initialised to zero on creation
2024-12-10 06:21:35 +00:00
baldurk 9d32418e33 Fix GL_Buffer_Updates to not rely on exact thumbnail 2024-12-10 00:06:39 +00:00
baldurk 8cabf9eaf0 Use dedicated lists and allocators for overlay to reset them 2024-12-09 16:19:20 +00:00
baldurk aa30ac2c10 Don't overlap storage with multiple inline UBO updates in one template
* Previously we were writing the inline UBO data to the same byte storage
  meaning the last update's data would write over all updates.
2024-12-09 16:19:20 +00:00
baldurk 0e406b0e4d Fix some issues with descriptor display with inline UBOs 2024-12-09 16:19:20 +00:00
baldurk c4caa7395c Keep GPUBuffer fully unwrapped to avoid problems during capture 2024-12-09 16:19:20 +00:00
Jake Turner ca5c0e8a3e DXIL ControlFlow optimisations
Lazy evaluate the connections map
2024-12-09 15:31:11 +00:00
Jake Turner 89c5724477 DXIL Debugger support for TextureStore 2024-12-09 15:31:11 +00:00
Jake Turner 23c7e1cfea D3D12 Shader Debug Zoo : add a test for Texture2D Store 2024-12-09 14:35:49 +00:00