Commit Graph
17287 Commits
Author SHA1 Message Date
baldurk 69a9c09ecd Use correct clear colour for UINT discard texture 2026-08-26 09:23:58 +01:00
baldurk 97380e0e45 Update version of action dependency 2026-08-26 08:33:05 +01:00
baldurk 72d67ba3c7 Add new ignored warning in VS2026. Closes #3892 2026-08-26 06:52:41 +01:00
baldurk e744863a06 Ensure annotations aren't deleted early on device lost
* Similar to the structured file, the ownership of these must pass to the dummy
  driver to be kept alive until it's deleted.
2026-08-25 23:20:28 +01:00
baldurk 7a84691cf0 Fix patching of XFB annotations for vulkan to not have incorrect values
* This doesn't work everywhere so needs some further clarification...
2026-08-25 18:21:06 +01:00
baldurk b31e02a067 Set correct aspect for clearing depth-stencil in overlay 2026-08-25 15:51:26 +01:00
baldurk 30c817486e Fix bad casts on overlay texture pixel picking 2026-08-25 15:29:58 +01:00
baldurk 752543e0fe Don't test 1D block compressed textures in vulkan texture zoo 2026-08-25 13:19:05 +01:00
baldurk 6122e32454 Fix A8 remapping when decoding pixel data manually 2026-08-25 13:18:50 +01:00
baldurk fb6f320eab Only read co-ordinates that exist in parameter. Closes #3885
* ShaderVariable contents are not guaranteed to be 0-initialised outside of
  their valid range and could contain leftovers from older IDs and calculations.
2026-08-25 10:27:25 +01:00
baldurk 1a3e8c79bf Loosen precision requirements on vulkan shader debugging
* Test 185 does repeated pow() calls and the precision difference seems to
  accumulate on mesa drivers at least.
2026-08-24 23:25:58 +01:00
baldurk 08d6492dc6 Fix epsilon check being too strict for equality depth checks 2026-08-24 21:52:31 +01:00
baldurk a87c93bf0b Add ultra dirty specific hack to work around mesa following GL spec
* The GL spec is absolutely and maliciously unhinged and the queried stencil
  value will be clamped to 0 if no stencil texture is currently bound. This of
  course will break in so many different places that will never get fixed, but
  this minimal change at least allows autotests to run on mesa.
2026-08-24 20:17:37 +01:00
baldurk 4de445d2f5 Don't try to copy PS uniforms if there is no program bound 2026-08-24 17:46:21 +01:00
baldurk fc50157566 Use 0.5 for depth-equal test so it works on various precisions 2026-08-24 17:46:21 +01:00
baldurk f8e2d0f36c Properly save and restore FB attachments in pixel history
* When we need to substitute a depth attachment, ensure we handle all attachment
  possibilities
2026-08-24 17:46:20 +01:00
baldurk 4db49e2c6b Fix copy-paste error for int case in GL pixel history 2026-08-24 17:04:14 +01:00
baldurk 85075565cd Don't hang onto new extensions item, recreate each time
* Clearing an RDTreeWidget deletes all items in it, so we would either need to
  remove it before clearing or just recreate it. We only need the handle in
  order to check against it when we see clicks
2026-08-24 17:04:14 +01:00
baldurk 57a0d90aac Ensure we have a depth buffer for GL depth bounds test 2026-08-24 17:04:14 +01:00
Jake Turner b7f009212f Demote error to warning on unbalanced markers on D3D12
* Apply the Vulkan fix 9bb79a05 to D3D12
2026-08-24 09:57:04 +01:00
baldurk b7f1554feb Explicitly call parent copy-constructor 2026-08-20 12:10:06 +01:00
baldurk 56379f7f01 Fix incorrect moves if inserting large range into smaller rdcarray 2026-08-18 15:14:42 +01:00
Samir Toularhmine b62836c1c7 Remove sideband list of reflection IDs.
Now directly serialise the uint64_t pointer value in the pipeline state.
Add docs.
2026-08-18 22:15:24 +09:00
Samir Toularhmine e11dc1ca48 Fix remote pipeline shader reflection retrieval
Serialize remote ShaderReflection pointers as uint64 cache keys and fetch
them through a proxy-local RPC.
2026-08-18 22:15:24 +09:00
baldurk e43b7c14d3 Use correct path for python libs in package 2026-08-15 13:40:26 +01:00
baldurk 02636139fd Update Qt download link in docker script 2026-08-15 13:22:58 +01:00
baldurk 4728158bcf Update docker build to compile python 3.8 for linux builds 2026-08-15 13:16:28 +01:00
baldurk a2753429bf Fix fixup of chunk length for pre-allocated 64-bit sized chunks 2026-08-14 23:17:27 +01:00
baldurk 1aeac957bd Compile fixes 2026-08-13 23:23:27 +01:00
baldurk 75682ad346 For stubs generate files non-ident name
* For some reason python type checkers get confused at things like `from .Foo
  import Foo` and start then treating `Foo` as either the module or the class.
2026-08-13 21:05:16 +01:00
baldurk da4350a759 Add an example of advanced buffer format/processing 2026-08-13 21:05:16 +01:00
baldurk 8dd7692282 Improve parsing of enums in buffer formatter
* Add a [[flags]] annotation for enums that should bitmask-match, and add a
  member to each interpreted enum value leaf to provide the string name.
2026-08-13 21:05:16 +01:00
baldurk 63e130e72a Handle example editors better - don't treat example name as filename 2026-08-13 21:05:15 +01:00
baldurk bd005c9a96 Add clarification on the workflow for attaching python debugger 2026-08-13 21:05:15 +01:00
baldurk 73a125ed41 Document problems with VS Code path mappings
* When adding a 'remote attach' target in VS Code it adds path mappings that
  then break itself when debugging on the same machine :(.
2026-08-13 21:05:15 +01:00
baldurk e20c2b9985 Expose buffer interpretation helpers to python 2026-08-13 21:05:15 +01:00
baldurk 2fbf67493f Add dummy implementation for constructor @overload
* This is needed to import the stubs when default parameters invoke constructors
  - like `ResourceId()`
2026-08-13 21:05:15 +01:00
baldurk 4a03afc0ce Fix docs build warning 2026-08-13 21:05:15 +01:00
baldurk 964ef04526 Fix some cases where type aliases were not used in reflection 2026-08-13 21:05:15 +01:00
baldurk f97094fb23 Don't include swig static member function wrappers in stubs 2026-08-13 21:05:14 +01:00
baldurk 71f40cef1a Remove any extra typing aliases that were pulled into module dir()s 2026-08-13 21:05:14 +01:00
baldurk 68bb7e1ceb Track our own custom types for user-defined functions/classes
* This lets us track the docstrings of these for better tooltips
2026-08-13 21:05:14 +01:00
baldurk b3710eba3b Fetch & display tooltips for each entry along with autocomplete options 2026-08-13 21:05:14 +01:00
baldurk 586886b3f5 Add custom change to scintilla to query bounds of autocomplete box 2026-08-13 21:05:14 +01:00
baldurk 79ad933913 Avoid accessing possibly deprecated typing members 2026-08-13 21:05:14 +01:00
baldurk 022a5e1438 Change python scripting 'debug' button to just attach, not run 2026-08-13 21:05:14 +01:00
baldurk 810e6a79d2 Run scripts in their place when they are on disk
* We only write the pytmp/script.py for unsaved scripts, so they can be
  recovered.
2026-08-13 21:05:14 +01:00
baldurk e7f0aac008 Don't run syntax checks while a script is running 2026-08-13 21:05:13 +01:00
baldurk bf710530d2 Don't write scripts to temp file, run in their real location
* This means any changes in the external editor/debugger will be reflected
  properly.
2026-08-13 21:05:13 +01:00
baldurk a113dbbda8 Detect crashes during python extension loads and offer to disable 2026-08-13 21:05:13 +01:00