baldurk
a8e807467d
Make sure all resource states have at least one subresource state
...
* Even if it's invalid, this removes the need to check whether the data
for a given id is empty or not.
2018-05-10 10:54:25 +01:00
baldurk
0233f39776
Make sure initial contents are properly freed on GL
2018-05-09 13:25:17 +01:00
baldurk
d7b0807875
Ignore MultiDraw markers when checking if the capture has markers
2018-05-09 13:05:00 +01:00
baldurk
f174853a04
32-bit compile fix
2018-05-08 19:39:38 +01:00
baldurk
4ade1187aa
Fix linux compilation - pass parent QObject* to GUIInvoke
2018-05-08 19:10:28 +01:00
baldurk
61c4af1dc6
Ignore -Wattributes on miniz
2018-05-08 19:10:15 +01:00
baldurk
1393b84fb6
Add proper support for KHR_shader_draw_parameters in Vulkan mesh output
2018-05-08 17:51:56 +01:00
baldurk
788cc9f675
Update SPIR-V stringise to latest enums
2018-05-08 16:54:28 +01:00
baldurk
c9774ea19b
Skip empty files from debug info & display filenames in default disasm
2018-05-08 16:21:21 +01:00
baldurk
78ba839f15
Update glslang to latest, including SPIR-V headers. Remove HLSL support
...
* glslang's HLSL support now requires spirv-opt for correct functioning
and may need more in future, so it's disabled. The compilation was not
externally exposed, and in future this will be handled via
out-of-process execution of compilers.
* The update to SPIR-V headers also had the knock-on effect of allowing
SPIR-V 1.3. Closes #976
2018-05-08 16:20:17 +01:00
baldurk
e5835aa6b3
Add documentation for shader viewer and ISA disassembly views
2018-05-08 15:08:49 +01:00
baldurk
f6048a074e
Clarify how to use dlopen to open the library for in-application API use
2018-05-08 14:56:04 +01:00
baldurk
1a9e22e2f2
Correct spelling/grammar mistakes in docs
2018-05-08 14:09:27 +01:00
baldurk
2efce90591
[Coverity] Fix incorrect logic identified by deref-before-NULL-check
2018-05-08 12:47:28 +01:00
baldurk
ada173ee26
[Coverity] Ensure window dimensions are at least 1x1 on text render
2018-05-08 12:44:31 +01:00
baldurk
8ef0d847ce
[Coverity] Remove redundant if() check where both branches are identical
2018-05-08 12:39:10 +01:00
baldurk
65852d9662
[Coverity] Fix mistaken logic resetting flag before check
2018-05-08 12:38:28 +01:00
baldurk
8acad41a0a
[Coverity] Fix leaking array in error case
2018-05-08 12:37:39 +01:00
baldurk
42979bfeb3
[Coverity] Add some handling for return values in UI code
2018-05-08 12:32:56 +01:00
baldurk
1a5b189441
[Coverity] Fix uninitialised variable warnings
2018-05-08 12:22:45 +01:00
baldurk
3e69599da2
[Coverity] Fix overflow-before-widen errors
2018-05-08 12:15:41 +01:00
baldurk
a45c222941
[Coverity] Remove redundant if() comparisons
2018-05-08 12:10:19 +01:00
baldurk
082ab4d75d
GUIInvoke takes a QObject* to avoid callbacks after object lifetime
...
* The GUIInvoke object takes a QObject, and uses QPointer to check that
it hasn't been deleted when the callback fires. This prevents delayed
callbacks from executing after the object has been deleted and
crashing.
* In most cases the pointer is just 'this'.
2018-05-08 11:54:34 +01:00
baldurk
c880def5ef
Check that capture's enabled physical devices are available on replay
...
* This will fail more gracefully than the logical device failing to
create.
2018-05-08 11:21:29 +01:00
baldurk
a461df2b58
GL non-sharing context support
2018-05-08 11:10:32 +01:00
baldurk
0f3f822597
32-bit compile fix for tinyexr
2018-05-07 19:27:04 +01:00
baldurk
706b258bd4
Remove use of std::to_string in Catch2 for the sake of Android
2018-05-07 19:25:16 +01:00
baldurk
5d0fede646
Add a note to CONTRIBUTING.md pointing users to interceptor-lib README
2018-05-07 18:42:26 +01:00
baldurk
6e57e17f8e
Update tinyexr to 9b30f253 - latest as of the time of this commit
2018-05-07 18:42:26 +01:00
baldurk
314393e412
Declare zlib compatible interface in miniz.h so tinyexr.h can use it
2018-05-07 18:42:26 +01:00
baldurk
909d2fae48
#if out wchar versions of miniz functions to only windows
2018-05-07 18:42:25 +01:00
baldurk
d602d9d6d2
Update pugixml to v1.9
2018-05-07 18:42:25 +01:00
baldurk
e47f2494e4
Update tinyfiledialogs from v2.7.2 to v3.3.5 (Apr 18, 2018)
2018-05-07 18:42:25 +01:00
baldurk
4232736fc2
Make some custom changes to Catch2 for a better experience
...
* Add CATCH_CONFIG_FORCE_FALLBACK_STRINGIFIER to force use of ToStr in
all cases. We can handle ints, etc, we don't need ostringstream, and
this allows us to handle enums that would otherwise just be printed as
their integer value.
* Add CATCH_CONFIG_INLINE_DEBUG_BREAK which restores the Catch 1.0
behaviour of debugbreaks happening in macros and so in-line at the
actual site failure. So the debugger stops on the CHECK() or REQUIRE()
call instead of inside AssertionHandler::complete()
2018-05-07 18:42:25 +01:00
baldurk
2f0ff69faa
Update Catch to v2.2.2
...
* This allows us to use ToStr as a stringifier
2018-05-07 18:42:25 +01:00
Cody Northrop
577769ecc2
Small updates to interceptor-lib build steps
2018-05-07 18:42:09 +01:00
Josh Groves
8d9193aef8
Correct typo
2018-05-06 19:39:55 +01:00
baldurk
e96f290772
If a method is found in a superclass, filter on that class not a child
...
* This could cause a matching event to never happen, if we filtered on
MethodEntry on the child class, but the method we wanted was on a
superclass.
2018-05-04 17:44:23 +01:00
baldurk
4d004fe484
Location is correctly a classID and methoID, not two objectIDs
2018-05-04 17:44:21 +01:00
baldurk
3380379aac
Fix copy-pasted tooltips mistakenly saying "Save Shader SPIR-V"
2018-05-04 13:36:43 +01:00
baldurk
2402ac7fa0
Add version checking to serialiser
2018-05-04 12:51:51 +01:00
baldurk
4023bf75d8
Patch resource usage for secondary draws at execute time. Closes #975
...
* Once we hit vkCmdExecuteCommands we know the renderpass and
framebuffer that are used with the secondary command buffer, so we can
process the added draws and add resource usage to them.
2018-05-03 17:10:59 +01:00
baldurk
e65bc4506e
Don't unwrap DSV that should be passed through as wrapped
2018-05-03 16:26:54 +01:00
baldurk
70f879ad7a
Export AmdPowerXpressRequestHighPerformance to encourage use of dGPU
2018-05-03 15:35:01 +01:00
baldurk
2c084b478e
Don't divide by zero if texbuffer comes back with unknown format
2018-05-03 15:34:53 +01:00
baldurk
b1008ceb82
Add index buffer binding offset to byte offset when opening buffer view
2018-05-03 14:25:37 +01:00
baldurk
644217bcbf
Workaround for QTBUG-14949, eliding multi-line itemview items breaks
2018-05-03 12:35:49 +01:00
baldurk
b8ffc1c79f
Make sure to quote the subject when emailing
2018-05-03 09:49:12 +01:00
baldurk
6c68853ef7
Fix vulkan structured export, don't call frame terminator
2018-05-02 20:59:31 +01:00
baldurk
6258f031da
Repoint travis to new scripts location
2018-05-02 18:46:13 +01:00