Commit Graph
16654 Commits
Author SHA1 Message Date
Jake Turner 0bed011093 GL_Shader_Debug_Zoo Test for read only resource array (sampler2d) 2026-01-26 10:47:55 +13:00
Jake Turner 993842ecf2 Always set the baseType for DXIL debug data DW_TAG_enumeration_type 2026-01-26 10:04:20 +13:00
Jake Turner d729deec1c Fix DXIL debugger hang if an unhandled DICompositeType is used
There was an infinite loop if the unhandled debug data is mapped to a struct member
2026-01-24 08:17:04 +13:00
Jake Turner eba1a12648 DXIL Shader Debugger test using enum 2026-01-24 08:17:04 +13:00
qwmnerbvqwmn 80cce82823 Fix a hang when debugging HLSL compute shaders with enum types 2026-01-23 18:15:36 +00:00
qwmnerbvqwmn 67a6f20b6e Support #pragma once and multiple inclusions in HLSL editing 2026-01-23 03:02:57 +09:00
Martyn Jacques 842d47da96 Avoid address re-use for internal fake backbuffer memory
Track fake backbuffer memory as a device address
resource to defer freeing it until the end of the capture
2026-01-23 03:02:29 +09:00
baldurk 8f7208fa02 Add beginsWith helper to rdcinflexiblestr 2026-01-22 12:16:05 +00:00
baldurk 52c54ef476 Don't do anything for releasing special resources on GL shutdown 2026-01-21 14:43:05 +00:00
baldurk 03de856edf Track CPU-based image layout transitions while idle. Closes #3778
* Similar to proper image transitions we must always track the state of images,
  even if we only serialise the calls during active capturing.
2026-01-21 11:42:32 +00:00
Jake Turner 6d2fe9d1a4 In Vulkan FlushQ() sync m_PrevQueue if it is active 2026-01-20 06:24:06 +13:00
Jake Turner 6fcd5f03db GL Shader Debugger support for interpolation qualifiers
flat
noperspective

Get the interpolation type from the SPIRV decoration
2026-01-20 06:24:06 +13:00
Jake Turner 1028a7b458 GL_Shader_Debug_Zoo Test for interpolation qualifiers
flat
noperspective
2026-01-20 06:24:06 +13:00
Jake Turner e19f0e9b72 GL Shader Debugger support for bool uniforms 2026-01-20 06:24:06 +13:00
Jake Turner 9678e09f3b GL_Shader_Debug_Zoo Test for uniform bool 2026-01-20 06:24:06 +13:00
Jake Turner ba10e3a380 Add D3D11 Deferred context to the ResourceManager
ResourceManager::Shutdown() will release it.
2026-01-20 06:24:06 +13:00
Jake Turner bd2a66b5f0 Add the D3D11 Immediate context to the ResourceManager
ResourceManager::Shutdown() will release it.
2026-01-20 06:24:05 +13:00
Jake Turner 5b44a2709b Use m_BakedCmdBufferInfo to test for push constant descriptor 2026-01-20 06:24:05 +13:00
Jake Turner b19a453a8c Fix Vk push constants using the wrong command buffer resource ID 2026-01-20 06:24:05 +13:00
Jake Turner bf99f6fb6e Treat ResourceId() as a replay only ID
This matches previous behaviour of GetOriginalID() used when checking for live IDs i.e.

(GetResourceManager()->GetOriginalID(id) == id)
2026-01-20 06:24:05 +13:00
Jake Turner 775a9c947f Vk shader editing: use unreplaced ID of the shader(s) in the pipeline 2026-01-20 06:24:05 +13:00
Jake Turner ee3b8cf76b Fix shader editing check for replay pipelines/programs 2026-01-20 06:24:04 +13:00
Jake Turner 1e39c9951e Always generate resources for D3D11 Proxy device 2026-01-20 06:24:04 +13:00
baldurk 9bef60d6c3 Display source variables mapped to OpUndef as <undefined value>
* Undefined values are still 0xccccccccc, since that value can propagate through
  operations. But source variables mapped directly to an OpUndef are displayed
  in a more semantically clear way.
2026-01-19 13:34:58 +00:00
qwmnerbvqwmn d32454e8ff Use UTF-8 encoding in shader viewer to fix character corruption 2026-01-19 19:20:14 +09:00
Remi Palandri c71f3d504b fix destroyed BDA buffers staying tracked 2026-01-19 19:18:08 +09:00
Jake Turner ef0d6737cc Fix GL GetShaderEntryPoints() when passed in resource is not a shader 2026-01-14 11:26:08 +13:00
MJP 72966f9ba0 Add proper casts when returning the wrapped command queue 2026-01-12 21:54:58 +09:00
MJP c8596542b6 Use proper interface pointer casting during D3D12 CommandQueue creation 2026-01-12 21:54:58 +09:00
MJP 79350fe512 Add missing IID checks for creating ID3D12CommandQueue1 2026-01-12 21:54:58 +09:00
Jake Turner 075870caf5 Fix replace all message showing N+1 replacements instead of N 2026-01-08 06:58:56 +13:00
Jake Turner 7782bc3452 Make VK_Graphics_Pipeline debugged pixel test fail instead of an error 2026-01-08 06:57:56 +13:00
Jake Turner b49291a611 Make enum RemoteServerPacket into enum class, move Count to the end 2026-01-07 09:10:06 +13:00
Sharlock93 2a1b67eeb6 Sorting array members in the Watch and High Level Variables window
This sets the offset of the VariableTag for array members in the watch
window. This ensures they are sorted correctly when displayed.
This also adds sorting by sourceVarIdx if the memebers are
globalSourceVars which fixes the sorting in the High Level Variables
window for built-in Variables
2026-01-06 02:31:07 +00:00
Jake Turner 5e286ad9b8 Original ID/Live ID fixups for Metal backend 2026-01-06 14:26:28 +13:00
baldurk 94df84d5d9 Remove ownership tracked list
* This list on replay is used to free all replay-created resources, but we can
  re-use the resource map for this.
2026-01-05 22:51:40 +00:00
baldurk 72a16ffa97 Merge live and current resource maps
* Only one is needed now that there's no distinction needed anymore.
2026-01-05 22:51:40 +00:00
baldurk 43cde7debd Remove GetLiveID entirely 2026-01-05 22:51:39 +00:00
baldurk 83919d9306 Remove GetOriginalIDs and naming/comments mentioning original IDs
* Original IDs are now always equal to live IDs.
2026-01-05 22:51:39 +00:00
baldurk 7710c7df1a Generate inline shader IDs during capture on D3D12 2026-01-05 22:51:39 +00:00
baldurk 351f287a59 Eliminate original/live ID distinction by respecify IDs on D3D12 2026-01-05 22:51:38 +00:00
baldurk d0aaad8f99 Eliminate original/live ID distinction by respecify IDs on D3D11 2026-01-05 22:51:38 +00:00
baldurk 6133590777 Eliminate original/live ID distinction by respecify IDs on GL 2026-01-05 22:51:38 +00:00
baldurk d2e3b9d26c Generate inline shader IDs during capture on vulkan
* This ensures they are stable, will not apply to old captures.
2026-01-05 22:51:38 +00:00
baldurk ce21a2dc35 Eliminate original/live ID distinction by respecify IDs on vulkan 2026-01-05 22:51:38 +00:00
baldurk 0c1bb18a1b Prepare to remove live<->replay resource id map lookups
* Resources will be given the ID to use on replay in order to match the original
  IDs. Any internal replay-time resources are given the same namespaced IDs as
  before.
* We add a new per-ID query to check if something is replay-only or not.
2026-01-05 19:11:21 +00:00
Jonathan Glines d03952a874 Fix crash in NVIDIA HasCounter() called without EnumerateCounters()
This fix avoids a NULL-pointer dereference when HasCounter() is called without
a preceding call to EnumerateCounters() for NVIDIA Nsight Perf SDK counters.
2026-01-06 00:26:37 +09:00
baldurk 8c97cfb7aa Ensure uniforms are updated on GL pixel history programs. Closes #3760
* When we replace a program, GL programs have *state* in the form of uniforms
  and so must be updated each time even if we retrieve the replacement from a
  cache.
2026-01-05 14:36:33 +00: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
Jake Turner 2b0e143509 Change DXIL ShaderVarible construction for cbuffer variables
Fixes a crash trying to add a watch for these variables
2026-01-05 12:59:05 +13:00