baldurk
d887e25b8d
Ignore format truncation warning on utf8printf.cpp
...
* We deliberately truncate in some tests, to check our printf behaves
correctly.
2017-10-24 23:03:57 +01:00
baldurk
400b9487e1
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:03:57 +01:00
baldurk
6fd1a82454
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 15:53:14 +01:00
michaelrgb
078efb8915
Resample thumbnails to fix JPEG shear distortion if(width % 4 != 0)
2017-10-23 13:39:19 +01:00
baldurk
9b56227e50
Don't multiply mesh output size by num instances twice in GL
2017-10-23 13:39:07 +01:00
baldurk
02fc28a36a
Try updating travis osx_image to fix intermittent qmake errors :(.
2017-10-11 12:37:57 +01:00
baldurk
e275bae307
Add brew update to try and fix OSX intermittent errors on travis
2017-10-11 12:37:57 +01:00
baldurk
b6b7946d3a
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:20:23 +01:00
baldurk
f62f281415
Fix handling of D3D11_KEEP_{RTs/UAVs} in some edge cases
2017-10-11 11:11:52 +01:00
baldurk
019b3072a1
When no event is found on >= search, fallback to *last* event not first.
2017-09-29 12:05:09 +01:00
baldurk
50f03de69b
Add reference to SPIR-V library in AMD library
2017-09-26 11:56:24 +01:00
baldurk
5ccc62f1fe
Auto-guess format of thumbnail from .jpg file extension
2017-09-26 11:56:23 +01:00
baldurk
e037ac02ff
Add note to error message about possible startup fault - missing DLLs
2017-09-26 11:02:11 +01:00
baldurk
9c1de3a876
Get NULL-check the right way around in ?: operator. Refs #754
2017-09-26 11:02:10 +01:00
baldurk
8bf32ac560
Disable CMAKE_INSTALL_PREFIX message for android builds
2017-09-20 10:17:13 +01:00
michaelrgb
04df0d60cd
Fix offscreen render setting GLWindowingData::wnd=0, an error condition.
2017-09-19 17:28:29 +01:00
michaelrgb
57a897c5b0
Use ES color-renderable SRGB8_ALPHA8 for output window backbuffer.
2017-09-19 17:28:29 +01:00
baldurk
fad2ce6964
Don't strip capture's device extensions away with backwards strcmp
2017-09-19 17:14:20 +01:00
baldurk
4d5ab22e97
Don't display a register/slot index for built-in shader variables
2017-09-19 17:14:20 +01:00
baldurk
3f2d82acfb
Fixes for compiling with disabled xcb, or disabled xlib & xcb
2017-09-19 17:14:20 +01:00
baldurk
9e102f801a
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:14:19 +01:00
baldurk
022188c4b7
Fix assertion to allow 8 color attachments. Refs #743
2017-09-14 11:06:24 +01:00
baldurk
2a8cb39ef7
Use GL_DEPTH_ATTACHMENT when attaching depth-only texture to FBO
2017-09-14 11:06:23 +01:00
baldurk
7a78ae67ff
Revert mistakenly cherry-picked follow up to change not on v0.x
...
This reverts commit d129222464 .
2017-09-13 16:00:55 +01:00
baldurk
04b715890c
find previous button should be left of the find next button
2017-09-13 14:55:25 +01:00
baldurk
c7dda154ab
Fix format string
2017-09-13 14:54:51 +01:00
baldurk
e8d9efb844
Reset hover index when widget is cleared, don't leave it to be stale
2017-09-13 14:54:21 +01:00
baldurk
4e275421bb
Set basevertex to 0 when calculating column data width
2017-09-13 14:53:33 +01:00
baldurk
b603230023
Fix texture saving not propagating the right settings
2017-09-13 14:53:26 +01:00
baldurk
d129222464
Make sure to refresh model if only children were added
2017-09-13 14:53:13 +01:00
baldurk
9e6cee3f5c
Turn off tracing after execution finishes
...
* This means the tracing isn't still lingering around when we shutdown
and the context is destroyed.
2017-09-13 14:52:49 +01:00
baldurk
e588b496e5
Immediately delete any open LiveCapture windows when closing
2017-09-13 14:52:44 +01:00
baldurk
9d54cf6b79
Special case - manually backport "Don't select unused bindings..." to C#
2017-09-13 14:52:18 +01:00
baldurk
8617a7fad3
Fix display of 3D textures not applying mip offset to slice
2017-09-13 14:50:49 +01:00
baldurk
809217ec60
Fix formatting of string to not append an int interpreted as a QChar
2017-09-13 14:50:42 +01:00
baldurk
7a38f9d853
Add alpha2coverage to VK state view, move it & alpha2one to MSAA group
2017-09-13 14:50:35 +01:00
baldurk
43c3bf5cf8
Don't select unused bindings over a valid bind in vk pipeline state
...
* If there's a variable which is unused and has no binding declared, it
will be sorted to the end of the list and given a binding of 0. We
don't want to let this override a valid binding for 0, so make sure we
prioritise any variable which is marked as used over one that is
unused.
2017-09-13 14:50:30 +01:00
Alex Smith
2ae8fb9602
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 12:31:31 +01:00
baldurk
41ba1dcba5
Use sudo to update pip packages
2017-09-13 12:31:23 +01:00
baldurk
0a215a03ea
Set proper 3D texture resolution for histogram calculations
2017-09-13 12:31:07 +01:00
baldurk
4c2a4512e7
Only set graphics dynamic state on binding graphics pipeline. Refs #740
2017-09-13 12:30:58 +01:00
baldurk
456f8bbf0c
Don't perform occlusion/statistics queries that aren't needed
2017-09-11 20:36:39 +01:00
baldurk
7a34ebb934
Use correct IsDrawInRenderPass() for vkCmdDraw validity check
2017-09-11 20:36:28 +01:00
baldurk
e25af7685b
Add a fallback if TF varyings cause program not to link
2017-09-11 15:32:09 +01:00
baldurk
6c4f407b62
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 13:56:12 +01:00
baldurk
cf95e7a3f6
VK_KHR_get_memory_requirements2 is a device, not instance, extension
2017-09-11 11:43:25 +01:00
baldurk
dd5590f8e5
Fetch dispatch thread dimension always even if we don't disassemble
...
* We need the dispatch thread dimension to be valid when creating the
shader reflection data, which may happen before we've disassembled the
bytecode.
* We do a minimal pass just to skip to that opcode and extract the dims.
2017-09-11 11:43:19 +01:00
baldurk
d6c03f58bc
Select the next highest event when replaying from an event
...
* Searching down from the end for the next lowest event causes us to
sometimes replay backwards when a marker is selected (and has no
event in the array to replay directly). This can crash on vulkan, and
is unintuitive/wrong on other APIs. Instead we follow the behaviour
that we have elsewhere so that when a marker is selected we move
_forward_ in the frame to select the next event after it.
* Checking the history there doesn't seem to be any strong reason for
this direction of search.
2017-09-11 11:43:08 +01:00
michaelrgb
8d7b4d2f81
Set TF mode for all initProg varyings, to stop driver culling uniforms.
2017-09-07 10:41:46 +01:00
baldurk
92855d3749
Fix remapping 3D textures on vulkan, for fetching texture data to save
2017-08-29 14:47:49 +01:00