Commit Graph

8424 Commits

Author SHA1 Message Date
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
baldurk 2e18b09bc9 Fix typo that saved D3D12 indexed draw indirect index offset incorrectly 2019-01-03 12:22:28 +00:00
baldurk 09207c5de0 Set structured serialisers as streaming mode
* This means that checks for array sizes won't check against an empty input
  buffer and fail.
2019-01-03 12:22:28 +00:00
baldurk 7860bee811 Make sure to fail if errors are found in python interface method naming 2019-01-03 12:22:28 +00:00
baldurk 6dd67d0069 Fix argument string for buffer views in D3D12 pipeline view 2019-01-03 12:22:28 +00:00
baldurk 96075bc575 Remove unwanted rowspan on D3D12 sample mask
* This messed up the grid outlines as it included another extra row that it
  shouldn't have.
2019-01-03 12:22:27 +00:00
Jake Turner d02280ea5e tests: increase milliseconds2 test maximum to 1580
OSX unit tests on travis failing with milliseconds2 = 1575.065805
2019-01-03 12:21:58 +00:00
Jake Turner 8105ddb5ab osx: for cmake set library output to be lib folder
On Apple only set  CMAKE_LIBRARY_OUTPUT_DIRECTORY to be “lib” folder instead of “bin” folder
Fixes osx problem when launching renderdoccmd not being able to find librenderdoc.dylib
RPATH is set to be "@executable_path/../lib" which matches where qrenderdoc.app copies the renderdoc library to

qrenderdoc: set library search folder “-L” to be CMAKE_LIBRARY_OUTPUT_DIRECTORY instead of CMAKE_RUNTIME_OUTPUT_DIRECTORY
2019-01-03 12:21:58 +00:00
Jake Turner 8fdf3ac245 osx: Fix cmake warning about policy CMP0068
``RPATH`` settings on macOS do not affect ``install_name``

Set BUILD_WITH_INSTALL_NAME_DIR to 1 to obtain old behaviour for before cmake 3.9
2019-01-03 12:21:58 +00:00
Jake Turner e9d70d7eec osx: enable unit tests for OSX travis building
force any command failures to call “exit” to make the script fail if a unit test fails
2019-01-03 12:21:58 +00:00
azhirnov 5d08efc16b Fix some untyped member serialisation 2018-12-29 15:25:59 +00:00
Alex Smith 5444c4b3ab Treat Op(Member)DecorateStringGOOGLE as part of the annotation section
Fixes a crash in the driver on RADV when compiling the PostVS shader
for a shader that has these opcodes. The incorrect section boundaries
was causing BuiltIn decorations to not be stripped.
2018-12-29 14:00:34 +00:00
Alex Smith 9db805a1cd Add OpName before OpModuleProcessed
The SPIR-V spec requires OpName comes before any OpModuleProcessed.
Fixes a SPIR-V validation error on the generated PostVS shader if the
original shader has any OpModuleProcessed.
2018-12-29 14:00:34 +00:00
Jake Turner 2ec0096bc2 osx: Fix FileIO::GetLibraryFilename
Was always returning empty path. Fixes failing test and error message when launching an OSX capture from qrenderdoc
2018-12-22 09:52:26 +00:00
Jake Turner 0d31fa28ee Tests: added test for FileIO::GetLibraryFilename
Verify it does not return an empty path
2018-12-22 09:52:26 +00:00
Jake Turner f0a50cf4cc osx: Implement Wide2UTF8
Copied from linux implementation using iconv API
Added if guard before calling iconv_close() to fix

> ./build/bin/renderdoccmd test
renderdoccmd(77013,0x11660e5c0) malloc: *** error for object 0xffffffffffffffff: pointer being freed was not allocated
renderdoccmd(77013,0x11660e5c0) malloc: *** set a breakpoint in malloc_error_break to debug
Abort trap: 6
2018-12-22 09:52:12 +00:00
baldurk 3c319024e8 Remove useless spammy log print of progress. 2018-12-21 12:38:29 +00:00
baldurk b006ea81a6 Handle all logical sections in SPIRVEditor 2018-12-21 12:38:29 +00:00
baldurk 2af0c8c9f8 Automatically strip nops when destroying SPIRVEditor 2018-12-21 12:38:29 +00:00
baldurk b33e5e018a Add tracking of which extensions are in the module 2018-12-21 12:38:28 +00:00
baldurk 36a4de8170 Don't show two empty rows for a completely empty combined image/sampler 2018-12-21 12:38:28 +00:00
baldurk 64fc592341 Fix index used to look up writes when applying initial state descriptors 2018-12-21 12:38:28 +00:00
baldurk 68c5ffe5ee Don't apply quick check-and-skip for array descriptor slots
* Just because the first element in the array isn't valid doesn't mean there
  aren't elements later that are valid which we should update.
2018-12-21 12:38:28 +00:00
baldurk 7498c53a37 Verify thread access to ReplayController to ReplayOutput 2018-12-21 12:38:28 +00:00
baldurk 1617b4618d Fix crash on GL after saving a texture to disk, wrong thread access 2018-12-21 12:38:28 +00:00