baldurk
77dea7095c
Ignore format truncation warning on utf8printf.cpp
...
* We deliberately truncate in some tests, to check our printf behaves
correctly.
2017-10-24 23:01:36 +01:00
baldurk
85a7fa744e
Check for renderdoc.dll precisely when injecting, not just close match
...
* This means we don't call into a random dll if it happens to contain
the substring 'renderdoc.dll' somewhere.
2017-10-24 23:01:03 +01:00
baldurk
751a8f21b4
Set USAGE_SIMULTANEOUS_USE_BIT on secondary cmd bufs. Refs #772
2017-10-24 22:17:29 +01:00
baldurk
7de0f8f6cd
Use OpAccessChain to fetch vectors out of matrix output vars. Refs #781
2017-10-24 15:19:48 +01:00
baldurk
a575d25d96
Account for mip size decimation when setting mips in SetProxyTextureData
2017-10-24 12:57:42 +01:00
baldurk
5e6ff6a276
Change ASTC to remap to RGBA16F as it contains more than 8-bits of data
2017-10-24 12:29:25 +01:00
baldurk
03376011f5
Make sure to set refData to NULL whenever it's released
2017-10-24 11:36:33 +01:00
baldurk
b0d9819d1e
Update plthook to latest code from original repo @ 774b270
...
* This includes several fixes notably arm/aarch64 support. Although it's
unlikely to be used in practice it's useful to be able to compile
successfully.
2017-10-24 10:48:18 +01:00
baldurk
48b029ba9b
Add case handling for new debug report object types
2017-10-23 23:22:43 +01:00
baldurk
b49a8a7f91
Restore modification to vulkan.h that removes include of Xrandr.h
2017-10-23 22:18:08 +01:00
baldurk
74ccb054e0
Fill query pools with dummy data on creation. Refs #765
2017-10-23 18:02:55 +01:00
baldurk
42abaf2b4f
Prefer using VK_AMD_shader_info to disassemble when available.
2017-10-23 15:05:29 +01:00
baldurk
96d8502ca4
Fix android execCommand to handle path to exe containing spaces
2017-10-23 14:12:37 +01:00
baldurk
4286588ac1
D3D11 context state is cleared before executing a command list.
...
* Not doing this could taint the state and even cause invalid read-write
conflicts to change bindings vs. what should happen, if a RT is left
bound when it shouldn't, and then an SRV is bound as NULL because it
would conflict.
2017-10-23 13:49:16 +01:00
baldurk
9a3ece6a01
Add a helper macro for obtaining renderdoc's handle from VkInstance
...
* Since other layers could wrap renderdoc has to use the dispatch table
pointer as the unique identifier for API calls, not the VkInstance
directly.
2017-10-23 13:43:38 +01:00
baldurk
fe35c4e033
Don't multiply mesh output size by num instances twice in GL
2017-10-23 13:38:53 +01:00
Janos Pantos
faf93fa2ac
Fix reading back compressed texture data during remote replay
2017-10-23 14:28:16 +02:00
michaelrgb
378d934018
Mesh Viewer: end TF if captured app already used TF on its draw call.
2017-10-12 14:52:15 -07:00
michaelrgb
3b9b455618
Resample thumbnails to fix JPEG shear distortion if(width % 4 != 0)
2017-10-11 08:01:33 -07:00
baldurk
2f72848056
Don't pass internal GL shaders through reflection queries pointlessly
...
* Intel's drivers in particular seem buggy when trying to reflect
shaders, so there's no point in reflecting shaders that aren't from
the capture as all we do is add the potential for crashes.
2017-10-11 11:26:39 +01:00
baldurk
8f4b2a0d49
Fix handling of D3D11_KEEP_{RTs/UAVs} in some edge cases
2017-10-11 11:26:38 +01:00
michaelrgb
87a587cc98
Fix ES attrib client pointers being interpreted as buffer offsets.
2017-10-10 01:29:11 -07:00
Janos Pantos
950c27719b
Restore compressed texture data while reading the capture file
2017-10-06 08:21:48 -07:00
Janos Pantos
2901c3116a
Don't try to use cache for non-array textures in GetTextureData
2017-10-06 08:21:48 -07:00
baldurk
16b8a4795b
Detect incompatible versions of GPA, warn and fail gracefully.
2017-10-05 12:02:33 +01:00
michaelrgb
73e41e532b
Create uniform translation table from live prog instead of initial prog.
...
The table is used on the live program, and we have seen the driver choose
different locations in the initial program due to the TF varyings.
2017-10-05 04:01:49 -07:00
baldurk
cd17180e64
Add docstring documentation for new PVRTC enum
2017-10-02 15:29:13 +01:00
baldurk
554116eee4
Update AMD project to match moved/renamed files
2017-10-02 15:24:27 +01:00
baldurk
d0e4a81266
Tweak sleep test to be more forgiving of variances, +/- 20ms
2017-09-29 20:28:18 +01:00
Marton Tamas
a018deb19f
added pvrtc support
2017-09-29 12:11:16 +01:00
baldurk
2a7944fd1d
When no event is found on >= search, fallback to *last* event not first.
2017-09-29 12:11:16 +01:00
baldurk
0450ea1178
Remove testStruct that should never have been committed to begin with
2017-09-29 12:11:15 +01:00
baldurk
6082c7da55
Remove use of bool32 in CaptureOptions struct.
2017-09-29 12:11:14 +01:00
baldurk
4a677ca291
Add tests for IP processing utility functions
2017-09-29 12:11:14 +01:00
baldurk
9810b4e0e6
Improve error checking in ParseIPRangeCIDR
2017-09-29 12:11:14 +01:00
baldurk
d45f049763
Add some tests of threading
2017-09-29 12:11:14 +01:00
baldurk
80d8db08e8
Add tests of bit operations
2017-09-29 12:11:14 +01:00
baldurk
0347fd358d
Add tests of timing functions
2017-09-29 12:11:14 +01:00
baldurk
d3d35ee216
Change thread creation type to std::function to allow lambdas
2017-09-29 12:11:13 +01:00
baldurk
f529c9a393
Don't use logfile FD if it's -1
2017-09-29 12:11:13 +01:00
baldurk
f5f71e72bf
Add tests of environment variable OS-specific functions
2017-09-29 12:11:13 +01:00
baldurk
079a149c1e
Expose a couple of miniz functions publicly
2017-09-29 12:11:13 +01:00
baldurk
43a9f1fd48
Add memsets to mallocs in miniz to avoid false positives in valgrind
2017-09-29 12:11:13 +01:00
Matthäus G. Chajdas
4bd282755d
Update the AMD GPA integration for GPA 3.0.
2017-09-27 08:00:06 -07:00
baldurk
e9171e4d82
Consider images with external memory pNext structs to be dirty on create
2017-09-26 12:22:05 +01:00
baldurk
05c87778ea
Fix native-newline printing to print atomically
...
* With the log append setup, printing lines and newlines separately can
lead to them being interleaved between multiple processes writing to
the same log.
* This way the lines in a print could still be scattered, but without
over-allocating to modify newlines in place (which would be more
expensive too) this can't be fixed, and both multi-line prints and
multiple processes writing a lot of log prints are rare.
2017-09-26 12:15:51 +01:00
baldurk
8e40cabd57
Fix windows environment variable fetching to use win32 functions
2017-09-26 11:54:58 +01:00
baldurk
ac77eeb98e
Fix Prepend case for environment variables (!)
2017-09-26 11:54:49 +01:00
baldurk
f8d7043ad0
Don't leak iconv handle
2017-09-26 11:54:25 +01:00
baldurk
5c4e21d6b5
printf fix for signed %zd formatters on 32-bit
2017-09-26 11:53:57 +01:00