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
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
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
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
554116eee4
Update AMD project to match moved/renamed files
2017-10-02 15:24:27 +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
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
8833effbd8
Add reference to SPIR-V library in AMD library
2017-09-26 11:53:24 +01:00
baldurk
1992183e8e
Add support for specifying a subfolder under the lib/ target. Refs #750
...
* This allows a buidler to customise from e.g. /usr/lib/librenderdoc.so
to /usr/lib/renderdoc/librenderdoc.so - which is harmless since the
library is 'private' and not intended to be linked against directly.
2017-09-26 11:00:17 +01:00
baldurk
3f943ea0f1
Get NULL-check the right way around in ?: operator. Refs #754
2017-09-26 10:12:05 +01:00
baldurk
6eb9969d37
Disable CMAKE_INSTALL_PREFIX message for android builds
2017-09-26 10:07:34 +01:00
Janos Pantos
8a98ba0baf
Add hack for replaying ASTC textures with GL driver
2017-09-22 10:09:33 -07:00
Janos Pantos
45d67fdac2
Improve the retrieval of compressed textures on GLES
2017-09-22 10:09:33 -07:00
baldurk
4465c37fe7
Don't strip capture's device extensions away with backwards strcmp
2017-09-19 17:28:12 +01:00
baldurk
67bea64070
Make it non-fatal to be missing WSI extensions at runtime
...
* Instead of erroring and failing to replay a capture if WSI is not
present when replaying even though enabled at compile time, we just
print a warning and allow the supported windowing systems list to
become empty.
* The UI or whichever app is controlling things must then respect this
and not try to create any outputs. If the replay is happening
completely headless there are then no more errors.
2017-09-19 17:28:12 +01:00
baldurk
86c3ee4086
Fixes for compiling with disabled xcb, or disabled xlib & xcb
2017-09-19 17:28:12 +01:00
baldurk
ba64ae6274
Add a warning if only CMAKE_INSTALL_PREFIX is customised
...
* VULKAN_LAYER_FOLDER points outside the prefix to /etc in absolute, so
usually if you customise one you'll want to customise the other.
* This is especially true if you're pointing the install prefix at some
non-root location, and you want make install to succeed instead of
failing to write to /etc.
2017-09-19 17:28:11 +01:00
michaelrgb
61606d8aea
Fix offscreen render setting GLWindowingData::wnd=0, an error condition.
2017-09-19 09:28:05 -07:00
michaelrgb
3c05b25653
Use ES color-renderable SRGB8_ALPHA8 for output window backbuffer.
2017-09-19 09:28:05 -07:00
Matthäus G. Chajdas
e6a746623c
Fix D3D11 counters trying to sample "FirstAMD", and early out.
...
Previously, the D3D counters would always run, even if none of them was requested.
2017-09-15 12:18:22 -07:00
baldurk
139b122cc4
Fix assertion to allow 8 color attachments. Refs #743
2017-09-14 10:48:44 +01:00
baldurk
dbc445de49
Use GL_DEPTH_ATTACHMENT when attaching depth-only texture to FBO
2017-09-14 10:47:43 +01:00
baldurk
6a4cb2664f
Fix display of 3D textures not applying mip offset to slice
2017-09-13 14:50:02 +01:00
baldurk
f4c3254435
Set command buffer info for all re-recorded commands, including partials
2017-09-13 12:30:38 +01:00
baldurk
d4149985ea
Set proper 3D texture resolution for histogram calculations
2017-09-13 12:30:37 +01:00
baldurk
ffb8a6b2e8
Only set graphics dynamic state on binding graphics pipeline. Refs #740
2017-09-13 12:30:37 +01:00
Alex Smith
aeb7a85895
Fix tracking of dynamic offsets when binding multiple descriptor sets
...
Before this, when binding multiple sets that use dynamic offsets, the
wrong offsets would be stored for all sets other than the first. This
caused the wrong offsets to be used when replaying individual draws.
2017-09-13 04:30:06 -07:00
baldurk
529dec8c65
Add a fallback if TF varyings cause program not to link
2017-09-11 20:23:56 +01:00
baldurk
a19cc17bdd
When applying TF varyings workaround, handle matrix variables with :row
...
* The vertex output signature is split into vectors only, so we need to
go back to the base matrix name.
2017-09-11 20:23:56 +01:00
baldurk
08aa7399cd
Don't perform occlusion/statistics queries that aren't needed
2017-09-11 20:23:56 +01:00
baldurk
d6ffd19178
Use correct IsDrawInRenderPass() for vkCmdDraw validity check
2017-09-11 20:23:56 +01:00