Commit Graph

9266 Commits

Author SHA1 Message Date
baldurk 4047595811 Forward dummy ID3D11Debug QueryInterface to device. Closes #946 2018-04-05 11:10:36 +01:00
baldurk c075c3cfbb When showing previous instances, include current instance in search list
* For vertex picking we want to pick from all visible instances, so the
  max should be curInstance + 1 (which is the default).
2018-04-05 11:08:16 +01:00
baldurk 3387f49efb For input vertex picking, return current instance always. Closes #944
* Since we aren't displaying multiple instances we don't want to change
  the instance selection, so instead of returning 0 return the currently
  selected instance.
2018-04-05 11:07:44 +01:00
baldurk 42cf604d38 Fix travis commit message length check 2018-04-05 10:43:23 +01:00
baldurk f76545c64e Use the correct set of physical devices during replay 2018-04-04 17:59:40 +01:00
baldurk 97fcff0254 Try to identify versions of adb that have whacky error prints 2018-04-04 17:56:33 +01:00
baldurk 0ecc8ed0e5 Fix a reported NULL pointer dereference when exporting GL state to HTML 2018-04-04 17:53:28 +01:00
baldurk 35865efef2 Always use git commit hash to identify android build
* This prevents reinstall issues if the UI is looking for a plain major/
  minor versionName and the apk was built with a commit hash.
2018-04-04 16:52:44 +01:00
baldurk c5612dc7dc Add out typemap for rdcpair that passes through ConvertToPy 2018-04-04 16:19:17 +01:00
baldurk c84cba4b88 Use proper constant IDs instead of relying on output constID 2018-04-04 15:57:43 +01:00
baldurk 4b4ce8dc01 Until proper support is added, prevent crashes by decaying VB formats
* Unfortunately some formats are *only* supported through VB fixed-func
  inputs, and not through any other access (like texel buffer access).
* As a result, it's invalid for us to just create buffer views using
  these formats to read from, so we will need to read-back the data to
  the CPU, decode and unpack to another format that is supported, and
  then re-upload. In some cases this might be extremely complex (e.g.
  64-bit wide formats that have no easily supported fallback).
* In the meantime, we just re-write the format to R8G8B8A8_UNORM. It
  will return the wrong data, but will at least not crash.
2018-04-03 17:10:27 +01:00
baldurk 378c5d928e Demote a log print to a debug log 2018-04-03 17:10:26 +01:00
baldurk 1e3c827edc Use image type not sampled image type, to get dimension. Closes #923 2018-04-03 17:10:25 +01:00
baldurk a5f116f451 Add ToStr for DXGI_ERROR_UNSUPPORTED 2018-04-03 17:10:24 +01:00
baldurk 2fb9429f5b Add nointerpolation on floats where they are packed with ints
* This makes shader debugging interfaces match better to pick up
  interpolators correctly.
2018-04-03 17:10:23 +01:00
baldurk ada2222d8f Don't allocate wholeMemBuf buffer for memory that doesn't allow buffers
* Some memory types may not be compatible with buffers, so allocations
  in those memory type indices we just don't create a spanning buffer,
  as it won't be needed anyway to restore memory contents.
2018-04-03 17:10:21 +01:00
baldurk 0c130982ac Fix problem added in .sln recently 2018-04-03 17:10:20 +01:00
baldurk 9685f5e9c5 Clarify that clicking 'No' to not elevate installs the layer per-user. 2018-04-03 17:10:19 +01:00
baldurk fbf483e401 Add mention of the symbol server to the README 2018-04-03 17:10:18 +01:00
baldurk 0cbcba2413 Fix issues with displaying UAVs in D3D12 pipeline state. Closes #926 2018-04-03 17:10:16 +01:00
baldurk 2d8981faf5 Fix backwards logic enabled/blend enabled columns in D3D11 pipe state 2018-04-03 17:10:08 +01:00
baldurk 6c3c488a4c Fix typo of knosole -> konsole 2018-04-03 11:46:09 +01:00
reinsteam 714b37ded5 Various fixes for PR
- Various style-related fixes
- Loading NvPmApi.dll from plugins directories
- Added copyright notice to newly added files
- Replaced local fixed size array of `char` with std::vector<char>
- Removed `FlushGPU`
2018-03-28 19:27:44 +01:00
reinsteam 7347a11dff Implemented data retrieval from selected NV counters 2018-03-28 19:27:44 +01:00
reinsteam f3cb0e1854 Plugged in NV counters into D3D11Replay.
- Counters are displayed in RenderDoc 'Performance counter selection' window
2018-03-28 19:27:44 +01:00
reinsteam 48cb7d6c49 Added a project with NVidia counters and NvPmApi header from NV Perfkit
- nv_counters.h/.cpp load NVidia counters using NvPmApi 4.4.0
2018-03-28 19:27:44 +01:00
Silent 3074ebeb51 Project fixes to fix building from paths with spaces 2018-03-26 15:07:12 +01:00
Baldur Karlsson ae82dfcb26 Disable debug/pixel history buttons when they cannot be used 2018-03-15 13:32:21 +00:00
Baldur Karlsson 497575b687 Remove Qt::WA_StaticContents property as it has several Qt bugs
* In particular, the widget gets added to a 'staticWidgets' list in a
  widget backing store, but if the window is floating then it's never
  removed from the list and causes a crash shortly after the floating
  window is closed.
2018-03-15 13:02:39 +00:00
Baldur Karlsson 5076b9c37f Escape any HTML characters in resource names when rendering rich text 2018-03-15 13:01:36 +00:00
Baldur Karlsson 3ded6e590a Fix crash in DXBCFile processing if array is last binding. Closes #919 2018-03-15 13:01:22 +00:00
Baldur Karlsson ef12358ceb Hash all properties of mesh config that affect highlighting. Closes #918 2018-03-14 15:29:35 +00:00
Baldur Karlsson d798146de3 Don't allow launching an application with no application selected! 2018-03-14 15:27:20 +00:00
Baldur Karlsson 68a3879ca2 Remove unused variable. Closes #915 2018-03-13 20:24:41 +00:00
Baldur Karlsson 3b239dcfa9 Fix non-ASCII issues in 3rd party files. Refs #915
* Each of these have been reported upstream respectively, but changing
  it manually here to avoid a potentially long turnaround time.
2018-03-13 20:21:50 +00:00
Baldur Karlsson f49dfadc9a Try alternative ps for some android devices that don't support ps -A 2018-03-13 17:31:32 +00:00
Baldur Karlsson 34c4ecd1f2 Return a more useful error code when injection fails on windows 2018-03-13 15:56:50 +00:00
Baldur Karlsson 93cebc715c Only show texture viewer when closing live capture if we got a capture 2018-03-13 15:49:31 +00:00
Baldur Karlsson d4b1741cec Add issue and pull request templates 2018-03-13 13:32:21 +00:00
Baldur Karlsson f8a0aeef1f Skip vertex buffers with invalid byte stride 2018-03-13 13:04:36 +00:00
Baldur Karlsson 8de1bcce90 Set pixmap device pixel ratio when creating empty version 2018-03-13 12:49:18 +00:00
Baldur Karlsson 032944c249 Fix export of a single slice of a texture to DDS 2018-03-13 12:40:40 +00:00
Baldur Karlsson 07dba4732f 32-bit compile fixes 2018-03-12 17:11:11 +00:00
Baldur Karlsson 4992e09918 Fix potential crash if shader reflection is NULL 2018-03-12 15:46:45 +00:00
Baldur Karlsson 128381ce10 Fix refcounting with RemoteManager that could cause crash after refresh 2018-03-12 15:46:45 +00:00
Baldur Karlsson 98041c5b93 Try to protect against invalid draw counts without crashing
* This can be especially error-prone with indirect draws where the
  parameters are GPU-fed and may point to random memory.
2018-03-12 15:46:45 +00:00
Baldur Karlsson 669589b3f8 Preserve mesh tables horiz scroll when picking vertices or syncing views 2018-03-12 15:46:45 +00:00
Baldur Karlsson 449eef4b9b Implement query for IDXGraphicsAnalysis with DXGIGetDebugInterface1
Closes #897
2018-03-12 15:46:44 +00:00
Baldur Karlsson 103618c2eb Add error messages if RenderDoc app fails to install 2018-03-12 15:46:44 +00:00
Baldur Karlsson dd1d7bd2ba Handle 'slice' apks with many apks in the shell pm path. 2018-03-12 15:46:44 +00:00