baldurk
066de4d1d0
Fix hover line rendering for ResourceId-only rich resource text painting
2020-01-29 11:48:04 +00:00
baldurk
1899b5ffc3
Pass size when fetching cbuffer variables
2020-01-27 20:45:08 +00:00
Steve Karolewics
0d2275ac02
Fix pixel pick value in D3D12 with a sRGB target
2020-01-22 19:05:37 +00:00
baldurk
6b1d186e6f
Collapse variable initialisation & assignment into just init
...
* This doesn't make any difference but removes some warnings from PVS Studio and
is slightly cleaner.
2020-01-21 18:28:56 +00:00
baldurk
7dd116abd4
Remove redundant/tautological comparisons identified by PVS Studio
2020-01-21 18:28:56 +00:00
baldurk
8fa93105f2
Fix some casts/calculations to keep PVS Studio happy
...
* It identifies some potential overflows which we know likely won't happen, but
the fixes are harmless.
* Some issues are definitely bad, though not actual bugs.
2020-01-21 18:28:56 +00:00
baldurk
baac06ca93
Remove redundant/dead code identified by PVS Studio
2020-01-21 18:28:56 +00:00
baldurk
a5c54b3ce7
Don't pass event ID to PickVertex()
...
* It's meaningless to try and pick on any other event but the current one
2020-01-20 17:44:34 +00:00
baldurk
210626ae18
When updating postvs position/secondary configs, reset camera properties
2020-01-20 14:32:22 +00:00
baldurk
cd3ef3dd55
Fix near/far plane specifiers being backwards
2020-01-20 14:28:59 +00:00
baldurk
42841e23be
Expose vulkan layer registration in renderdoccmd on win32. Closes #1690
...
* This is needed so that the functional tests can elevate and run renderdoccmd
to register the vulkan layer, if needed.
* At the same time remove the old spammy message and ignore flag - this dates
back to before the UI existed, and that should be the way users run RenderDoc
generally and it has a good UI for walking through layer registration if
needed.
* The command is always available, but will only show up in help if attention is
needed.
* Also fix registering installs on shared drives.
2020-01-20 11:46:48 +00:00
baldurk
d4e723bfd8
Fix bugs identified by using PVS Studio
...
* A few copy-paste errors, some tautological checks indicating errors, missing
return value checks.
2020-01-17 19:53:38 +00:00
baldurk
4a587da167
Account for byte offset when expanding arrays in bufferviewer formatter
2020-01-17 19:53:38 +00:00
baldurk
df266eb04d
Fix some version properties in windows resource files
2020-01-14 18:02:10 +00:00
baldurk
a2562200f7
Hide update check progress bar even if network error occurred
2020-01-14 18:02:10 +00:00
baldurk
f4ab28205f
Add option to non-interactively resolve callstack symbols
...
* Primarily for use in scripts
2020-01-13 18:29:50 +00:00
baldurk
e9182377e5
NULL out connection handle after shutdown
2020-01-13 16:55:05 +00:00
baldurk
bc6401f23a
Don't refresh overlay unnecessarily when it's not enabled
2020-01-10 12:55:26 +00:00
baldurk
cb0e8958b1
in debug builds don't include resource ID when renaming resources
2020-01-10 11:01:05 +00:00
Steve Karolewics
824188d047
Fix text contrast in pixel history view with dark UI theme
2020-01-09 17:56:54 +00:00
baldurk
ff37dc9787
Update APK installation failure message to mention USB APK installs
...
* Apparently some android devices don't allow installation of APKs over USB by
default.
2020-01-07 17:28:17 +00:00
baldurk
10aa4662ec
Add deliberate fall-through comment into scintilla code
2020-01-07 17:28:17 +00:00
baldurk
7b678a4dae
Add missing break in android error-mapping switch
2020-01-07 17:28:17 +00:00
baldurk
77b76b98a8
Allow -Wimplicit-fallthrough on qrenderdoc project
2020-01-07 17:28:17 +00:00
Steve Karolewics
bbd2a4ecb0
Implement D3D12Replay::DebugThread
...
Also added logic for initiating debugging in the D3D12 pipeline state
viewer. Both locations are guarded by defines for now.
2020-01-07 17:28:01 +00:00
baldurk
c43d9146a9
Use globbing to get dependencies for swig builds
...
* Fixes a warning in VS2019 from stale warnings and should mean rebuilds are
more accurate too.
2020-01-06 16:25:34 +00:00
baldurk
9ede309c39
Update qrenderdoc README
2020-01-06 16:20:45 +00:00
baldurk
2916c0f9f7
Update copyright years to 2020
2020-01-06 16:20:45 +00:00
baldurk
27098f8f70
Give our threads debugger-friendly names
2019-12-19 21:50:13 +00:00
baldurk
7ff0796b89
Check for incomplete textures on OpenGL. closes #214
2019-12-18 19:09:18 +00:00
baldurk
2c80a7206b
Enable 'enum value not handled' warning on MSVC, fix issues
...
* Mostly we add an explicit default: break but in some cases we add explicit
cases and/or error messages.
2019-12-17 18:02:10 +00:00
baldurk
e302ecfe83
Don't leak target control handle
2019-12-17 15:51:16 +00:00
baldurk
93b0d65726
Override new/delete for structured data objects to go through our allocs
...
* Otherwise if structured data cross a module boundary the (de)allocation could
fail.
* We also ban new/delete for structs that don't need it
2019-12-17 14:51:11 +00:00
baldurk
14d01ff995
Remove support for serialising STL types, remove STL interop
2019-12-16 18:10:32 +00:00
baldurk
c4ca8cb1d1
Reduce reliance on big public headers where possible
...
* Mostly moving includes from common headers to cpp where possible, and removing
includes of the whole thing where only enums or rdcstr etc are needed.
2019-12-16 17:06:16 +00:00
baldurk
25536836b6
Split up renderdoc_replay.h header further
2019-12-16 17:06:15 +00:00
baldurk
ec7a852582
Refactor and improve rdcarray/rdcstr interface
...
* We are going to replace all std::string/std::vector use with these.
2019-12-16 17:06:15 +00:00
baldurk
8e21b28785
Split basic_types.h into separate independent headers
2019-12-16 17:05:11 +00:00
baldurk
c82d0f58b9
Rename WASD to Flycam in mesh viewer controls
...
* This should now work regardless of keyboard layout, e.g. on AZERTY the same
physical keys will still work. We also add arrow keys as a backup
2019-12-13 16:37:14 +00:00
baldurk
24e4f4179f
Fix projection guessing controls sometimes being enabled when unused
2019-12-13 16:36:44 +00:00
baldurk
4f3ea6d12b
Special-case VK_LOD_CLAMP_NONE for samplers in pipeline state view
2019-12-06 01:04:12 +00:00
baldurk
01674ec93b
Invoke qmake in release mode when building a release cmake build
2019-12-03 21:47:04 +00:00
baldurk
3df0c59935
Don't use -Wcomma in old versions of clang
2019-12-03 10:12:06 +00:00
baldurk
6d1d302491
Fix a number of warnings identified by higher clang warning levels
...
* We enable a couple of high signal-to-noise warnings in all clang builds
2019-12-02 20:41:28 +00:00
baldurk
cfe601123c
In debug builds display resource ID in resource inspector
...
* This can save some breakpointing and looking up in maps when a resource is
named (especially if it's not given a unique name).
2019-12-02 20:28:05 +00:00
baldurk
ff08748238
Ensure all files have trailing new-lines and enforce with clang warning
2019-12-02 20:28:05 +00:00
baldurk
5838a33d7e
Don't add array stride until first child struct
2019-11-29 22:41:09 +00:00
baldurk
23c3a38496
Create fake buffer for D3D11 UAV hidden counters. Closes #1593
2019-11-29 13:53:45 +00:00
baldurk
3bf805ec35
Add 'expand all' menu to resource inspector
2019-11-29 13:53:45 +00:00
baldurk
f514815e3c
Update buffer formatter help text, save its visibility in config
2019-11-29 13:53:45 +00:00