baldurk
2e9635ff63
Add tests of stringification
2019-01-10 11:51:16 +00:00
baldurk
2caeaee3d1
Output directly into gl_dispatch_table_defs.h from gen_dispatch_table.py
2019-01-10 11:51:06 +00:00
baldurk
654775bf91
MSAA textures should be displayed with a simple 2D image view
2019-01-10 11:49:58 +00:00
baldurk
2e21577c80
Use dummy image when no stencil is present for MS<->Array. Closes #1230
...
* We need to fill all descriptors even if the stencil is skipped dynamically in
the shader, since we're not using VK_EXT_descriptor_indexing. Attempt to
create a dummy UINT MSAA texture.
2019-01-10 11:49:57 +00:00
baldurk
9694e97262
Enable GL_EXT_buffer_storage extension on GLES
2019-01-10 11:49:57 +00:00
akharlamov
04ca50ba63
Adding utility code for VK code generator.
...
ExtObject extends the SDObject structure with helper
methods.
Intervals are used for memory region tracking.
Change-Id: I38198c0a096ed838d527b6526216fb28326ebc89
2019-01-10 09:48:33 +00:00
Remi Palandri
5aaf3b4631
fix glCreateMemoryObjectsEXT by calling the correct function
2019-01-09 23:51:52 +00:00
Remi Palandri
356ef2587d
use glBufferStorageEXT instead of glBufferStorage on GLES platforms
2019-01-09 23:51:52 +00:00
baldurk
6eb4289a90
Fix missing override specifiers in Catch appveyor listener
2019-01-09 17:08:31 +00:00
baldurk
d265a14a45
Change renderdoccmd to be a console program on windows.
...
* This means it outputs natively/properly to stdout/stderr and its output can be
redirected with pipes.
* It does mean we need to be very careful whenever it's run internally to not
pop up a command window, which happens by default.
2019-01-09 16:27:15 +00:00
baldurk
150e6527ad
If a texture is typeless then account for type hint when pixel picking
2019-01-09 16:27:15 +00:00
baldurk
277ba1399c
Don't fetch structured counts for non-buffer UAVs
2019-01-09 16:27:15 +00:00
baldurk
48d6e94891
Fix D3D11InitialContents overloads so wrong types don't get cast
...
* ID3D11DeviceChild* is too broad and can accept a RTV or DSV if there's a bug.
2019-01-09 16:27:15 +00:00
baldurk
21e056e5b8
Fix stringification of bitfields with duplicate values
...
* We'd previously subtract the bitfield value twice, leading to underflow and
then lots of unknown bits appear to be set. Instead we should clear the bit so
that it's safe to apply multiple times.
2019-01-09 16:27:15 +00:00
baldurk
7ad3197982
Revamp catch appveyor reporter to report all test results in a batch
...
* We also only report one test per test-case, as trying to handle sections
separately is unreliable.
2019-01-09 16:27:15 +00:00
baldurk
22f8b2ac79
Specify original Vk*Flags in structured data instead of coerced FlagBits
...
* We coerce the type to the FlagBits enum for serialisation so the
stringification picks up the bits properly. However the variable is properly
typed as just 'Flags' which is a uint32_t typedef, so manually specify its
typename afterwards.
2019-01-09 16:27:14 +00:00
tabi.katalin
d19a495ee0
Handle launching more apps on Android
...
We can check whether an Android app has already been connected to RenderDoc, and warn the user to close the previous app before launching a new one.
2019-01-09 16:27:00 +00:00
baldurk
db2ef74d13
Fix initial state crashes for images in external queues. Closes #1226
2019-01-08 17:24:15 +00:00
baldurk
c34c57fe5c
Initialise latest renderdoc API in demos project
...
* We initialise both 1.0.0 for maximum compatibility, and the latest version for
maximum functionality.
* It's currently unused anyway
2019-01-08 11:38:22 +00:00
baldurk
24032c0039
Update demos project to latest in-application header
2019-01-08 11:36:14 +00:00
baldurk
ab8d07f29c
Add DiscardFrameCapture to in-application API, bumped to version 1.4.0
2019-01-08 11:35:48 +00:00
baldurk
39621ebc40
Delete leftover initial chunks when freeing initial contents
2019-01-08 11:31:17 +00:00
baldurk
8c946c67e0
Fix memory leak in D3D12 tests, sync GPU and reset allocator each frame
2019-01-08 11:29:28 +00:00
baldurk
459650a23c
Fix memory leak in GL text overlay rendering
2019-01-08 10:53:05 +00:00
baldurk
7a460fd85e
Fix appveyor catch.hpp listener
...
* Don't completely lose/misappropriate errors in tests that don't have a base
section
* Change the filename to actually be a filename, and include the base test name
as the first part of the section stack.
* Don't over-multiply duration by 1000 to convert to milliseconds twice.
2019-01-08 10:04:49 +00:00
baldurk
18bd9d8c9b
Add discord server links
2019-01-07 17:33:24 +00:00
baldurk
ab08b8e93d
Don't apply AMD MSAA workaround after 18.5.2
2019-01-04 18:54:19 +00:00
baldurk
a3ff33368b
Add some useful android logging for post-mortem debugging
2019-01-04 16:59:26 +00:00
baldurk
f3dda7959e
For very large tables, don't fallback to rendering all rows
...
* lastRow can return -1 in some situations where there's no last row visible,
but we don't want to render potentially millions of invisible rows.
2019-01-04 16:44:00 +00:00
baldurk
cea0129b9a
Don't completely disable tooltip on D3D12 for 'plain' resource views
...
* We still want the tooltip to display the resource state.
* Also add a tooltip for VBs/IBs which do have a state we want to display.
2019-01-04 16:37:23 +00:00
baldurk
18958fedd0
Workaround ARM driver bug, hide UBOs unless they're used. Closes #1225
2019-01-04 12:26:30 +00:00
baldurk
b0ff17ba08
Don't query texture parameters when a renderbuffer is bound to an FBO
2019-01-04 12:24:26 +00:00
baldurk
761f8be4bd
Fix mesh view with double vertex attribute inputs
2019-01-04 11:48:35 +00:00
baldurk
da52dbe174
Fix GL overlay shader compilation with glCreateShaderProgramv shaders
2019-01-04 10:34:44 +00:00
baldurk
4979157da9
Fix bin/ reference that should be lib for python modules in build script
2019-01-04 10:10:21 +00:00
baldurk
e3b50d2377
If an image is in an external or foreign queue we can't fetch contents
...
* There's nothing we can do - we can't safely transition from/to the external
queue so we have to treat the initial contents as missing/undefined.
2019-01-03 17:56:53 +00:00
baldurk
e13f0e882a
version-detect AMD unreliable image memory requirements needing padding
...
* From driver 2.0.33 (18.5.2) onwards, the image memory requirements don't vary
randomly so don't need any padding.
* It should only be applied also for the AMD binary driver.
2019-01-03 17:25:36 +00:00
baldurk
50a5f05fe4
Cache vulkan version-detecting information at device create time
2019-01-03 17:24:39 +00:00
baldurk
355b81f232
If enumerating remote target controls on Android, distrust everything
...
* On android sometimes if you connect successfully over a forwarded port you
haven't actually connected! You need to wait a bit, try and use the socket,
and then you might find that you've been disconnected.
2019-01-03 17:06:37 +00:00
baldurk
7f0ac0f1fe
Improve message for flushing unmapped memory
2019-01-03 16:26:00 +00:00
baldurk
164453a8eb
Add assert that command buffer is non-NULL
2019-01-03 16:25:51 +00:00
baldurk
91e80a7756
Remove accidentally committed debug print
2019-01-03 14:26:18 +00:00
baldurk
14c110ce58
On all platforms, output library to lib folder in cmake build
2019-01-03 12:43:32 +00:00
baldurk
5e269189b4
Rename catch global variable to prevent clashes
2019-01-03 12:31:27 +00:00
baldurk
1aa1abdf45
Don't lose base thumbnail when converting from zip.xml
2019-01-03 12:22:29 +00:00
baldurk
f543f02998
Check RDC export/import in all simple tri tests, but *only* in those
2019-01-03 12:22:29 +00:00
baldurk
daed903b64
Add support for wglShareLists. Closes #1224
...
* We can't feasibly support calling wglShareLists after wglMakeCurrent because
we must do work and create objects in wglMakeCurrent. If this situation
happens we pretend that wglShareLists failed and print an error.
2019-01-03 12:22:29 +00:00
baldurk
2237c241ff
Fix incorrectly named methods in ResourceFormat
...
* We try to maintain at least an internally consistent naming scheme for the
python/public interface, even if it doesn't match python naming schemes.
2019-01-03 12:22:29 +00:00
baldurk
c154a16442
Add better logging around D3D11 replay device creation
2019-01-03 12:22:28 +00:00
baldurk
5280b6628a
Fix D3D11 drivertype fallback to WARP/REFERENCE not properly applying
2019-01-03 12:22:28 +00:00