Commit Graph

11900 Commits

Author SHA1 Message Date
baldurk 263cf0778f Fixes for structured exporting multisampled textures on GL 2021-01-28 15:49:28 +00:00
baldurk 22636f673b Fix bug when no DXIL reflection information is present
* We generate a simple uint array but we were doubling up with a trailing ubyte
  array.
2021-01-28 15:25:57 +00:00
baldurk 410bcf2744 Fix crash if DXIL phi references itself 2021-01-28 15:25:25 +00:00
baldurk 3ac5b9a842 Allow any UUID in DXGI swapchain GetBuffer()
* The only requirements are that we can get the interface as the one we want
  (ID3D11Texture or ID3D12Resource) so we query it straight away as that first.
  Then we also need to be able to convert from that to whatever the user
  requested, so we do that as a second step.
* Because this is all undocumented it's unknown if there's any combination of
  UUIDs that would fail this but might make sense in a different order (e.g.
  queried as the user's UUID first and then we fetch our interface off that).
2021-01-28 12:29:16 +00:00
baldurk 76fabedbe6 Fix false positive matching @EID on text containing foo@2x.png 2021-01-28 12:01:37 +00:00
baldurk 1481f80d35 Bump version to 1.13 2021-01-27 19:23:00 +00:00
baldurk 40b86b63fb Update code for new SSL libraries in new Qt version v1.12 2021-01-27 17:06:09 +00:00
baldurk bddbc53226 Fix compile error in official builds 2021-01-27 16:56:47 +00:00
baldurk f460d79968 Check for @ when initialising rich resource text
* This is used for event linking
2021-01-27 16:05:04 +00:00
baldurk 506f941a14 Don't set invalid size as minimum size on labels, set 0,0 2021-01-27 16:05:03 +00:00
baldurk 4d16c3e44c Add function to close top level windows to MiniQtHelper 2021-01-27 16:05:03 +00:00
baldurk dabd2a803a Give specific instructions on writing UI extensions
* This goes through a worked example of a simple extension.
2021-01-27 16:05:03 +00:00
baldurk ea51a816ed Give ResourceId.Null a proper return type 2021-01-27 16:05:03 +00:00
baldurk 9424b8a3fe Add documentation on setting up python dev environment 2021-01-27 16:05:03 +00:00
baldurk ae96b674c9 Update docs to reference VK_EXT_debug_utils
* VK_EXT_debug_marker still works fine but is deprecated.
2021-01-27 13:03:16 +00:00
baldurk 3f637e0d9b Link to renderdoc-contrib repository 2021-01-27 12:58:51 +00:00
baldurk 29c5965599 Update some missing entries and comments from custom shader snippets 2021-01-27 12:49:36 +00:00
baldurk 34dca01cb2 Don't rely on creation info during capture, it isn't populated
* On capture when we need the buffer size we can get it from the resource
  record.
2021-01-27 00:29:46 +00:00
baldurk 58ef496c8a Conservatively clamp number of samples when saving texture
* No actual texture should be returned with 0 samples but if there are problems
  we want to avoid crashing by dividing by 0 later.
2021-01-27 00:29:46 +00:00
baldurk cf2b0abaf8 Filter out spammy libc messages on android 2021-01-27 00:29:46 +00:00
baldurk 2ab4051140 Don't access graphics pipeline info when doing compute feedback
* This would crash if there's no renderpass set.
2021-01-27 00:29:46 +00:00
baldurk e270d76347 Use the correct default profile version for GLES shaders in glslang
* We need to pass 100 for GLES and 110 for desktop for proper default parsing
  without #version
2021-01-27 00:29:46 +00:00
baldurk 56c5c18aac Tweak leak threshold on vulkan test
* It seems like some drivers don't free some memory from the resident set until
  a certain point, meaning the peak memory is higher after a couple of captures
  then goes down. This isn't a true leak and us  checking the entire process's
  working set size is a very poor litmus test, so bumping this value is fine.
2021-01-27 00:29:46 +00:00
JohnnyonFlame ca4bbc0530 Fix asm/ptrace.h include order 2021-01-27 00:29:14 +00:00
JohnnyonFlame 58a760cc16 Fixed missing ARM_pc define on armhf target. 2021-01-27 00:29:14 +00:00
baldurk 435ef86adf Only set shader ext UAV on DXBC bytecode if it's present
* For DXIL bytecode we don't attempt to nicely fixup the disassembly, but we
  still want to remove the reflected UAV if present.
2021-01-25 21:29:09 +00:00
baldurk 0dde721ad5 Fix reading matrix stride from correct place when reading whole structs 2021-01-25 17:06:02 +00:00
baldurk 176ad2313d Fix check for nan/inf in SPIR-V shader debugging 2021-01-25 16:51:59 +00:00
baldurk 1c37bfa02e Fix painting issues when scrolling with pinned columns 2021-01-25 16:14:03 +00:00
baldurk 5aadf1d649 Fix Iter_Test invalid python tuple use 2021-01-25 12:21:22 +00:00
baldurk d5fb1cfe4b Work around driver issues creating shared contexts on EGL. Closes #2162
* Some drivers seem to fail when trying to share between GLES2 and GLES3 though
  the spec seems to suggest this should work fine. As a workaround if the
  context fails to create, try creating with the same context client version as
  the existing context.
2021-01-25 11:20:21 +00:00
baldurk 106999a43a Fix leak of descriptor memory during each capture on D3D12 2021-01-25 11:13:28 +00:00
baldurk e6601672ec Delete net worker when net manager thread completes 2021-01-22 14:57:48 +00:00
baldurk dae98c3547 Remove memset of struct that's no longer POD 2021-01-22 14:57:35 +00:00
baldurk e292bae3fa Update valgrind suppression file 2021-01-22 14:57:23 +00:00
baldurk 5ce6093661 Pick resident set memory for current memory usage on linux
* The virtual size can be much bigger than the actual amount of memory in use
  that we care about.
2021-01-22 14:20:11 +00:00
baldurk 019d75cd0d Fix demos project compilation on linux 2021-01-22 14:19:33 +00:00
baldurk 0ade24d38a Fix corruption when buffer is deleted after resize mid-frame 2021-01-22 14:19:16 +00:00
baldurk f45bdcb49a Fix Iter_Test and Repeat_Load for newest python API 2021-01-22 13:24:48 +00:00
baldurk a377a61aa2 Clarify acceptable use for issues and support even further
* Capturing copyrighted programs is absolutely not supported or tolerated.
2021-01-22 13:23:53 +00:00
baldurk ba06717842 Don't fetch resource lists for unbound shader stages
* This is a minor optimisation when there are large numbers of bound resources
  that are available (duplicated) to all shader stages. There's no point
  fetching them when there's no shader bound there.
2021-01-21 11:30:50 +00:00
baldurk a4fd53af8f Fix a crash if capture viewers are changed while processing SetEvent
* This could happen in particular now that thumbnails are capture viewers.
2021-01-21 11:28:23 +00:00
baldurk c002c71fe8 Don't display buffers as thumbnails in texture viewer
* This is a holdover from simpler binding times, these days it makes more sense
  to omit buffers than try to hold onto those bindings even when they don't
  contain textures.
2021-01-21 10:43:37 +00:00
baldurk be3a6a5dfb Set counter-fetching mode around IHV counters on OpenGL
* This mode suppresses the default behaviour to end unbalanced things like
  transform feedback and queries, and also stops the capture from using queries
  that might be in use outside.
2021-01-20 20:54:08 +00:00
baldurk 57bb5a73fe Make lack of intel GL counters more obvious to user
* We do the odd thing of adding another fake counter which returns 0s, to direct
  the user to disable paranoid mode in order to enable more perf counters.
2021-01-20 20:40:19 +00:00
baldurk 40f83cfbfd Fix lag in updating texture viewer display when selecting new draws 2021-01-20 17:15:34 +00:00
baldurk 20d8ae2dcf Fix display of 3D texture slices when linear sampling
* When displaying mip 0 of a texture at less than 100% zoom we linear sampling,
  but we don't want to linear sample across slices. Adding a half pixel offset
  in z ensures we sample precisely on the slice itself.
2021-01-20 17:15:34 +00:00
Marcin Ślusarz 309a08373b Put units in table header instead of each row. 2021-01-20 17:15:16 +00:00
baldurk 3d9bba65c8 Fix resizing issue with vulkan scissors display 2021-01-19 17:39:12 +00:00
baldurk f263e244f4 Tweak allowed memory increase when loading VK_Large_Descriptor_Sets 2021-01-19 17:25:35 +00:00