Commit Graph

13779 Commits

Author SHA1 Message Date
baldurk 448b78ca68 Bare bones port of demos project to android 2023-03-23 16:16:03 +00:00
baldurk 28f4af1e5c Avoid deadlock if resource is unmapped during capture end on D3D12 2023-03-23 16:16:03 +00:00
baldurk 5fbc3ab8ca Enable GPU readback path on D3D12 2023-03-23 16:16:02 +00:00
baldurk 129cb33266 Tweak selection of memory types for GPU readback on Vulkan 2023-03-23 16:16:02 +00:00
baldurk 0851a9f1ad Fix S8 testing in GL_Discard_Zoo 2023-03-23 16:16:02 +00:00
郝华青(Huaqing.H) 58f0e7bc42 fixing a documentation example
Fix the following errors in the sample code:
AttributeError: 'renderdoc.ActionDescription' object has no attribute 'name'
NameError: name 'window_callback' is not defined
2023-03-17 08:30:09 +00:00
baldurk 54aa110862 Return after detecting an error instead of continuing in lz4 decode 2023-03-16 16:55:21 +00:00
baldurk 7a088ac898 Handle some errors better without stalling in replay proxy networking 2023-03-16 16:55:21 +00:00
baldurk 3ba61e20a6 Fix handling of proxying S8 textures 2023-03-16 16:55:21 +00:00
baldurk 38afb7c8ad Fix handling of S8 multisampled textures. Closes #2883 2023-03-14 16:32:06 +00:00
baldurk 31d5fa9eb3 Fix non-coherent atom alignment issues 2023-03-14 15:11:58 +00:00
baldurk b3035d280e Add a couple of fixes for single flush validate 2023-03-14 14:05:42 +00:00
baldurk bc789ba535 Fix D3D12 RTV formats not being set for float case on MSAA conversion 2023-03-13 17:39:16 +00:00
baldurk 36731cb841 Handle maps on D3D12 of different aliases in a placed heap
* We need to check for map writes even if the mapped buffer isn't the one that's
  referenced by a submit but still overlaps it. We do this by moving to the heap
  for all placed resources so any map to a buffer on a heap is checked as long
  as any buffer bound to that heap is referenced.
2023-03-13 17:39:16 +00:00
baldurk f4529141d2 Fix backwards API terminology on resource usage strings 2023-03-13 17:38:59 +00:00
baldurk e13b4e95f0 Don't run selected draw twice in D3D11 triangle size overlay 2023-03-13 17:38:59 +00:00
Tony T df7ed64ad0 Create separate shader for sint, uint and floats
Co-authored-by: Orson B <obraines@gmail.com>
Signed-off-by: Tony T <tony@tonytascioglu.com>
2023-03-13 10:20:07 +00:00
Bruce He 50afbb05bc Address other comments 2023-03-13 10:20:07 +00:00
Bruce He 692617d814 Rename test gl_pixelhistory_formats to gl_pixel_history 2023-03-13 10:20:07 +00:00
Orson Baines 08be49dce3 Add first unit test for Open GL Pixel History
- Support for integer texture formats in OpenGL Pixel History implementation
- Test reading pixels from a triangle with a variety of texture formats
2023-03-13 10:20:07 +00:00
baldurk 40cd74c713 Fix early return when writing multiple sections in rdc conversion 2023-03-09 13:24:14 +00:00
baldurk bf2df1d09a Fix recompression of D3D12 files not being roundtrip identical 2023-03-09 13:23:33 +00:00
baldurk 2c2bafa1a6 Add protection on D3D12 for bad internal API calls from python 2023-03-09 13:23:19 +00:00
baldurk e81e00beb3 Environment variable modifications with an empty value are valid 2023-03-08 18:06:46 +00:00
baldurk d36d23ab21 Fix access to reserved columns for tooltips 2023-03-08 16:55:22 +00:00
baldurk e74144670d Special case D3D12 dlls in xml codec as well rather than dumping as hex 2023-03-08 16:55:03 +00:00
baldurk 760bfdcb40 Disable find-as-you-type keyboard searches in buffer viewer
* This will cause the model to evaluate every data item to search it, which is
  the exact thing we're trying to avoid with lazy item views.
2023-03-08 14:06:02 +00:00
Orson Baines fd12fdb84b Set Primitive ID to ~0u in error case 2023-03-07 08:46:46 +00:00
Orson Baines 578c963bb2 Fix a few OpenGL Pixel History Bugs
- Filter out events that affect a mip layer that is not selected
- Fix an off by one replay error causing weird behaviour
- Fix framebuffer blitting when attached textures change during frame
2023-03-07 08:46:46 +00:00
baldurk 4439d50aeb Fix handling of dynamic rendering shading rate attachments. Closes #2877 2023-03-06 15:14:05 +00:00
baldurk 5d90500530 Expand GPU readback of memory to integrated GPUs. Closes #2868
* Integrated GPUs with non-host-cached memory should also be handled with a GPU
  readback, similar to all device-local memory on full GPUs.
2023-03-06 15:14:05 +00:00
baldurk 802199da65 Expand use of -Wno-implicit-fallthrough on 3rdparty sources 2023-03-06 15:14:05 +00:00
baldurk 6cb927d638 Fix race removing forced reference on buffer delete 2023-03-06 15:14:05 +00:00
baldurk 00e8bd7d8b When forcing WARP, force all heaps created to be L0 to comply with rules 2023-03-06 15:14:05 +00:00
baldurk 9a30ca304e Only initialise AMD extensions when replaying on AMD
* The driver module may be loaded but that doesn't mean we should try to
  initialise the extensions.
2023-03-06 15:14:05 +00:00
baldurk 61ef550344 add extra GL extension declare to work around Intel driver issue 2023-03-06 15:14:05 +00:00
baldurk 6a7df564fc Handle secondary command buffers with no inheritance info RP 2023-03-06 15:14:05 +00:00
baldurk 0433795378 Disable another buggy vulkan layer 2023-03-06 15:14:04 +00:00
baldurk 6af4d895d8 Recalculate root if fake markers are present. Closes #2870 2023-03-06 15:14:04 +00:00
John Cortell ac302d7a48 APIProperties serialization missing field
The field APIProperties::rgpCapture was added years ago but
renderdoc_serialize.inl wasn't updated. One of those edge cases
where the size check failed to flag the oversight due to the
field appearing prior to other subsequent (conditional) fields.
End result is that the RGP Capture menu option is always disabled,
even when the target supports it.
2023-03-03 11:24:33 +00:00
Orson Baines c8b011344d Remove feature toggle for OpenGL Pixel History 2023-02-25 10:52:53 +00:00
baldurk 52e9404961 Fix reflection of structure sizes in DXIL 2023-02-22 11:09:09 +00:00
baldurk 9c71e9db02 Speculative fix for race during performance counter selection
* If the window is closed while counter enumeration is happening and that takes
  long enough this might break, so keep a QPointer around.
2023-02-22 10:14:17 +00:00
baldurk f05c4efde8 Tweak and extend handling of DWARF debug metadata 2023-02-16 13:04:04 +00:00
baldurk 9c09f2879c Improve dxc-only disassembly annotations 2023-02-16 13:04:04 +00:00
baldurk 57239207a5 Argument values come before function constant values
* We start counting value IDs for value-less first instructions (like calls)
  starting just from the constants, not including arguments
2023-02-16 13:04:04 +00:00
baldurk 62f4b3cd25 Encode functions with internal linkage correctly 2023-02-16 13:04:04 +00:00
baldurk 35f2ad0658 Use the correct type list for calculating number of types to abbreviate 2023-02-16 13:04:04 +00:00
baldurk e50eab747a Format null pointers as 'null' rather than 'zeroinitializer' 2023-02-16 13:04:04 +00:00
baldurk d1c2fc3a49 Correctly print the type for pointer-to-function
* We implicitly treat function types as just function types, llvm makes them
  into pointer-to-function on load.
2023-02-16 13:04:04 +00:00