Commit Graph

12770 Commits

Author SHA1 Message Date
baldurk 4d26628a3c Don't store cap-referenced desc sets as objects directly
* When we see a descriptor copy during a frame capture we force the source
  descriptor set to be included since it may never be bound to a command buffer,
  but it may also be deleted so instead we AddRef the record to keep it alive
  and store the id & record directly.
2022-01-12 11:24:22 +00:00
baldurk cb066ee905 Don't add SSBO variable to interface if it's not used 2022-01-12 11:24:22 +00:00
baldurk 0620a8f114 Allow customising the fixed/monospace font as well. Refs #2443 2022-01-12 11:24:22 +00:00
baldurk 83f4b0bfcc Don't treat OOM in post-vs code as fatal, since we handle it gracefully 2022-01-12 11:24:22 +00:00
baldurk 089126c34b Add a new in-app API function ShowReplayUI to raise the UI window
* This is not guaranteed to work, e.g. on windows where for good reason
  background windows can't necessarily raise themselves.
2022-01-12 11:24:22 +00:00
baldurk 3587f8e448 When closing multiple capture connections apply 'No to All' answer wider
* This means if you're closing multiple connections and click 'no to all' when
  prompting save of instead of discarding just the captures in that connection
  then going on to prompt for the next, it discards all remaining captures.
2022-01-12 11:24:22 +00:00
baldurk 49876a1043 Fix incorrect calculation of alignment for pessimistic external memory 2022-01-10 19:57:31 +00:00
baldurk b89e0712b2 Fix missing case handling S8 in vulkan formats 2022-01-10 18:49:57 +00:00
baldurk 6a7ca28809 Fix compile error 2022-01-10 18:48:19 +00:00
baldurk 755d141840 Don't leak allocated memory when exporting GL structured data 2022-01-10 17:53:39 +00:00
baldurk a0d40073ce Allow customising the font family. Closes #2443 2022-01-10 17:53:18 +00:00
baldurk a16e1e7995 Add a python script to sort .ui files so grid layouts are in order
* This will help in future to keep diffs more readable
2022-01-10 17:30:57 +00:00
baldurk 1c3f30d90d Resave all UI files with Qt Creator 5.15
* This gets rid of anything that might be changed with the latest version when
  updating these files
2022-01-10 16:57:43 +00:00
baldurk b87c22b081 Track command buffer and root debug msgs separately. Closes #2435
* This also prevents messages from being populated after initial load to avoid a
  never-ending increase of messages.
2022-01-10 14:51:24 +00:00
baldurk cc2d49ad1c Fix handling of unused attachments in dynamic rendering. Closes #2432 2022-01-10 14:05:51 +00:00
baldurk 27d26834f5 Struct array stride is only 16-aligned for cbuffers in D3D. Closes #2441 2022-01-10 13:45:13 +00:00
baldurk 657257dbbf Remove fail-on-compile flag for vulkan PSOs on replay 2022-01-10 12:58:50 +00:00
baldurk f1e81f69c5 Fix handling of S8 textures on vulkan. Closes #2428 2022-01-10 12:54:25 +00:00
baldurk 87bd7a4179 Demote error to warning when spec constants are unbound
* This is perfectly legal, the spec constant data provided in the pipeline is
  just ignored. It's only a problem if this indicates some RenderDoc bug
  matching up the constant IDs.
2022-01-10 12:53:37 +00:00
baldurk d0563ebaea Fix array overrun in test 2022-01-10 12:51:37 +00:00
baldurk ea708dd816 Don't apply depth load and store ops to stencil aspect. Closes #2437 2022-01-10 11:49:13 +00:00
baldurk ac457f0def Only process program pipeline being bound if it's non-zero
* Unbinding the pipeline by setting 0 should still be serialised, but there's
  nothing to reference or query for.
2022-01-10 10:53:27 +00:00
baldurk f8476b53b5 Fix generated RP barriers to specify no queue transfer explicitly
* For concurrent images this is required, and for shared images it's still
  valid.
2021-12-02 12:12:55 +00:00
baldurk d6ef7d51ac Bump version to 1.18 2021-11-26 17:39:16 +00:00
baldurk 22d4dc4574 Don't create temporary device if D3D12 is not supported v1.17 2021-11-26 10:59:22 +00:00
baldurk 33751470f2 Fix random new CI failure by setting CMAKE_CXX_STANDARD_REQUIRED 2021-11-25 12:16:45 +00:00
baldurk eb18acf224 Fix a crash opening performance counter viewer with capture open 2021-11-24 14:11:42 +00:00
baldurk 62babcb497 Fix python example for API change 2021-11-24 14:08:52 +00:00
baldurk c8c3cc35fc Fix crash in rdcarray comparison 2021-11-24 13:02:56 +00:00
Jake Turner e3e50fd9e4 By default disable ENABLE_PYRENDERDOC for Apple
Rather than a platform exception when building python modules
cmake variable UNIX is true when building for Apple platform
2021-11-23 10:32:45 +00:00
baldurk 8d9a618bd6 Fix possible compile error in VK_Load_Store_None test 2021-11-22 13:15:41 +00:00
zephyrxiao 0f403fc201 Fix EXT_map_buffer_range alias
glMapBufferRangeEXT and glFlushMappedBufferRangeEXT are aliases of glMapBufferRange and glFlushMappedBufferRange repectively.
2021-11-22 12:41:18 +00:00
baldurk 3aa37498fc Add missing comparison operator for rdcarray 2021-11-19 15:43:41 +00:00
baldurk c413e5786a Add some unit test coverage of basic types 2021-11-19 14:55:15 +00:00
baldurk fb7f3c2ecb Keep any preserved builtins in entry point interface. Closes #2417
* When running SPIR-V < 1.4 we only put Input variables in the entry point
  interface, which is usually just our thread ID. However we keep subgroup
  builtins as-is and they are also Inputs and need to be kept in the interface.
2021-11-19 14:51:56 +00:00
baldurk 861f55b467 Test picking empty draws in mesh view 2021-11-19 12:26:06 +00:00
baldurk bd2659a6ab Increase number of captures on GL_Leak_Check test to match other APIs 2021-11-19 12:11:41 +00:00
baldurk 2498043374 Add test of standard counters 2021-11-19 11:56:36 +00:00
baldurk 8f51857c69 Test D3D12 placed resources keeping a reference on their heap 2021-11-19 11:22:53 +00:00
baldurk 0ba16d187a Handle B8G8R8A8_UNORM case in DDS load 2021-11-19 11:18:51 +00:00
baldurk 966ab0a738 Add command line option to qrenderdoc to run a script with the UI open 2021-11-17 15:52:52 +00:00
baldurk 888676ecc7 Fix crash reading D3D12 pipeline state from vulkan for compute selector 2021-11-17 13:07:12 +00:00
Mikko Rasa f068494218 Fix signedness mismatches 2021-11-16 17:10:00 +00:00
baldurk 3e8ecc6040 Fix unit test expectations for specialisation constants 2021-11-16 17:09:37 +00:00
baldurk b8f19b3808 Fix serialiser assert firing when writing structured chunk data 2021-11-16 17:09:29 +00:00
baldurk 0f4433f658 Add a test of multiple entry points in a SPIR-V module 2021-11-16 16:27:36 +00:00
baldurk 5312c86592 Remove unused execution modes when removing entry points 2021-11-16 16:27:17 +00:00
baldurk c6a915f4b4 Only use VkPipelineRasterizationStateStreamCreateInfoEXT if stream set 2021-11-16 16:18:30 +00:00
baldurk 9f97419ee4 Fix problem with patching framebuffers in vulkan pixel history 2021-11-16 15:41:13 +00:00
baldurk 751c80af85 Don't use spec constant ID as offset for storage. Closes #2413
* This requires a linear search to get the offset for a constant by ID, but
  hopefully no-one will have so many constants that this becomes an issue.
2021-11-16 15:01:42 +00:00