Commit Graph

2943 Commits

Author SHA1 Message Date
baldurk b9b8fe4b1b Claim proper contents margins for height of RDLabels with rich text 2025-09-16 16:29:57 +01:00
baldurk 511c33c52a Handle Expanding policies in flow layouts 2025-09-16 16:29:25 +01:00
baldurk f37b4ee631 Set correct array size 2025-09-10 20:58:19 +01:00
baldurk 5957a2710b Enforce that all docstrings of members have a :type: 2025-09-09 18:57:35 +01:00
baldurk fff4e0d5e4 Improve displayed sorting of descriptor buffer sets in pipeline state 2025-09-09 18:57:34 +01:00
baldurk b4615dbd18 Add a delayed callback helper for python 2025-09-09 18:57:34 +01:00
baldurk b3cec5a4cf Add a helper to clear the set of debug messages from python 2025-09-08 17:29:08 +01:00
baldurk bb2ac5ee27 Fix variable advance for packed 10:10:10:2 and 11:11:10. Closes #3685 2025-09-08 16:35:41 +01:00
baldurk 2702bb1469 Update old copyright years in about dialog and module metadata 2025-09-08 16:35:40 +01:00
baldurk d4c907faa1 Fix sorting of bindings in vulkan pipeline state with descriptor buffers 2025-09-03 10:01:48 +01:00
baldurk ffa70fabdc Auto-break on NonSemantic.DebugBreak instructions
* This is almost completely worthless as it seems at least NV and amdvlk both
  actually crash the GPU on this instruction, meaning there's no way to get it
  to the shader debugger. But on other drivers like radv, or maybe if this is
  fixed in future, this will be useful.
* For this reason it also can't be tested automatically.
2025-08-21 16:09:40 +01:00
baldurk 52c1cae925 Follow symlinks when iterating extension folders on linux 2025-08-20 10:24:44 +01:00
Hans-Kristian Arntzen 814d764df7 Fix exporting large raw buffers at an offset. 2025-08-20 00:05:29 +09:00
baldurk fd61a60a42 Fix error with structured object iteration 2025-08-15 13:44:56 +01:00
baldurk ec01df4fd4 Fix errors with pre-declaring swig wrappers 2025-08-15 13:42:46 +01:00
baldurk fb2c09a4d9 Fix crash if APIInspector::RevealParameter is called for hidden object
* There's nothing to expand for hidden objects so make sure we don't crash or
  expand the wrong item.
2025-08-15 12:56:26 +01:00
baldurk bd193696b8 Prevent infinite recursion if python class doesn't override all methods
* We shouldn't require 'pure virtual' functions in CaptureViewer implementations
  in python, so detect when the derived class methods point to the base class
  pass-throughs, and skip them in that case.
2025-08-15 12:56:26 +01:00
baldurk adf8acbccd add pcre build step if it's not found locally
* Unfortunately the new upcoming debian has made the really poor decision to
  actively *delete* the pcre package, breaking any programs depending on it even
  at build time. As far as I can see it's still available in most other common
  distributions.
* Users could easily build it themselves but would have to install it system
  wide for it to be picked up. This kind of dependency absolutely should not be
  something the build system has to set up itself but when distributions make
  poor choices we have little choice but to adapt somehow.
2025-08-07 15:56:08 +01:00
baldurk dbeeb67459 Display a specific message for resources with no usage tracked
* Currently we only track usage for buffers and textures.
2025-07-31 17:10:14 +01:00
baldurk 9bfcb76e0b Try to de-elevate after applying an update to not run UI as admin 2025-07-31 17:10:14 +01:00
baldurk e6a7b36cdc Add the ability to cancel an update while it's downloading. Closes #3162 2025-07-31 17:10:14 +01:00
baldurk 799a9a8452 Report and display descriptor buffer state in pipeline view 2025-07-30 22:10:25 +01:00
baldurk ceb062b658 Add a DescriptorType to GetDescriptors query
* This will be optional in many cases but for some situations might be required
  when type information is not implicitly available in the descriptor store.
  Generally it should always be available unless the descriptor store is being
  viewed 'blank' purely from its contents with no other context.
2025-07-30 22:10:23 +01:00
baldurk 9545e6f27b Add specific annotation for GPU address serialised values 2025-07-30 22:10:22 +01:00
baldurk 3be544c51d Prevent infinite recursion when processing includes for shader edits 2025-07-29 13:05:07 +01:00
Andrew Marshall c612fdeb29 remove superfluous changed for macos build 2025-07-18 16:20:56 +01:00
Andrew Marshall b7612d8c9c cmake fixes for MacOS SDK 15.5 build (AppleClang 17) 2025-07-18 16:20:56 +01:00
baldurk 01115b3126 Detect cases where vectors are misaligned only in arrays. Closes #3644
* Scalar layout is required for vectors to straddle 16-byte boundaries but this
  may not be detected if they are naturally aligned within an otherwise mis-
  aligned struct.
2025-07-15 11:28:15 +01:00
baldurk 82e963550a Display read-only DSVs more clearly in D3D pipeline state 2025-07-08 13:37:37 +01:00
baldurk 0293487eb8 Properly handle D3D11 constant buffers with a 0 range specified 2025-07-04 14:10:51 +01:00
baldurk f94a479939 Fix a potential crash while closing a capture 2025-07-04 10:16:53 +01:00
baldurk 6be083f66a Display space and register for root parameters in root signature viewer 2025-06-30 11:06:13 +01:00
baldurk 9bad0c5ec0 Remove some memset calls on non-POD types 2025-06-06 12:16:54 +01:00
baldurk 93617f3d11 Adjust shader viewer highlight colours for dark theme 2025-06-05 17:11:45 +01:00
baldurk 18cb138aa3 Do not allow error reports on fatal error from dev/unoffiical builds 2025-06-03 14:20:33 +01:00
baldurk 435956cf4d Format VK_WHOLE_SIZE properly on texel buffers in pipeline state 2025-05-26 15:00:00 +01:00
Jake Turner f120f46b45 ShaderViewer UI validation for ShaderVariable construction
if members.size() == 0
rows * columns must be between 1 and 15
type must not be Struct

if members.size() > 0
type must be Struct or Unknown or ConstantBlock
rows must be 0
columns must be 0
then recurse and check construction of each element of members array
2025-05-19 16:44:25 +01:00
baldurk 0fb918909e Fix ordered list editor to look up row instead of caching
* The widget was persistent so caching the row in the callback could lead to an
  invalid (or wrong) row being used.
2025-05-16 16:01:28 +01:00
baldurk 1564c7f44e Handled typed pointers with bare scalar types not structs 2025-05-16 16:00:55 +01:00
Jake Turner 8dcf051d99 Fine grained ShaderVariable comparison for ShaderViewer UI consistency 2025-05-14 18:11:05 +01:00
Jake Turner 47c64f607d ShaderVariable UI consistency check for duplicated variable change
Detect if a ShaderVariable has multiple changes per step
2025-05-14 16:28:37 +01:00
Jake Turner 370334ca6e Do not do ShaderViewer UI consistency checks in RELEASE builds 2025-05-09 13:27:10 +01:00
Jake Turner 6b39f8de88 ShaderViewer UI error checks for consistency in ShaderVariableChanges
Step Forwards: first appearance of a variable must have "before" = {}
Step Forwards: not-first appearance of a variable "before" must equal currently known value

Step Backwards: first appearance of a variable must have "after" = {}
Step Backwards: not-first appearance of a variable "after" must equal currently known value
2025-05-08 16:06:35 +01:00
baldurk 2288237723 Early detect and error when launching reserved filenames for capture
* This is a safety measure to ensure we never add hooks to system processes, so
  we should detect this case earlier and error for the user.
2025-05-05 10:49:42 +01:00
baldurk 9673a5571c Don't silently drop working directory, print error if it doesn't exist 2025-05-05 10:49:01 +01:00
baldurk 0f019eafb9 Add option to make shader search paths non-recursive
* For very large shader symbol stores especially those on network drives, the
  bad behaviour that PIX has to recursively search all possible subdirectories
  and enumerate all files can be really slow. Most of the time a file is
  identified by its hash filename and looked up directly - if that isn't a hit,
  in many cases users would rather a fast exit to having no symbols.
2025-04-16 17:39:51 +01:00
baldurk e4af8bcf39 Only close texture goto when focus is lost
* Previously this closed as soon as the mouse left the bounds.
2025-03-28 17:09:51 +00:00
baldurk 2d006eaa7b Ensure newlines are stripped from command line input
* These can be inserted via copy-paste even though Qt says that QLineEdit only
  does single line editing :(
2025-03-24 13:05:59 +00:00
Tristan Ritchie 2eade4650b Add support for VK_KHR_maintenance5 2025-03-19 15:43:08 +00:00
baldurk 2322e165de Update copyright years to 2025 2025-03-14 18:54:37 +00:00