Commit Graph

9266 Commits

Author SHA1 Message Date
baldurk 1c05c5e5d1 Add option to renderdoccmd replay to specify a loop count 2018-10-02 16:23:40 +01:00
baldurk 4937a9e4b9 Skip initial application of FBO 0 state, before context FBO is created 2018-10-01 18:28:11 +01:00
baldurk ad5cfcd290 Pass through and display VAO object in GL pipeline state 2018-10-01 18:27:44 +01:00
baldurk 989971f6af Make sure structs exposed to python have explicit copy constructors
* This means SWIG generates a copy constructor which is very useful for making
  duplicate objects in python. Without an explicit 'default copy constructor'
  statement, SWIG doesn't generate one.
2018-10-01 18:12:28 +01:00
baldurk 49b247a7ec Add missing init chunk registration for a number of GL functions
* This mostly benefits VAO/FBO where there are lots of function calls for
  configuration of the actual object state.
2018-10-01 18:06:23 +01:00
baldurk 0ffff7d5da When creating an unsized renderbuffer, convert to sized. Closes #1116 2018-10-01 16:38:40 +01:00
baldurk a008a4825b Handle unsized DEPTH_STENCIL as a texture format 2018-10-01 15:30:39 +01:00
baldurk ab270f7ef2 Handle replaying if context has no backbuffer FBO 2018-10-01 15:28:29 +01:00
baldurk b200852eae Skip counter & indexed queries while doing FetchCounters 2018-10-01 15:27:57 +01:00
baldurk 8a3d85ebed Use Query resource type for resources in glCreateQueries 2018-10-01 15:12:24 +01:00
baldurk dd01a3036f Don't use slice in texture cache key for 3D textures 2018-09-28 17:58:52 +01:00
Igor Surmin 4a4fdb40e7 Implement Intel performance counters support for D3D11 2018-09-28 16:12:23 +01:00
baldurk d61726bde3 Set baseArrayLayer to 0 when copying from 3D image 2018-09-28 15:03:12 +01:00
baldurk 66e8c6f9ff Don't set invalid zoom level when no previous texture size is set 2018-09-28 15:03:12 +01:00
baldurk d1bdae94a7 Add workaround for QTBUG-52697, manually do high-dpi in rich text 2018-09-28 15:03:12 +01:00
Jeremy Lukacs 66319d72bb Fix D3D12 debug overlay pipeline creation 2018-09-28 09:42:32 +01:00
baldurk f20c2d1c43 Fix handling of multi-dimensional arrays in GL uniforms 2018-09-27 18:48:47 +01:00
baldurk bcd086e423 Fix calculation of array-of-structs bytesize calculation 2018-09-27 16:43:22 +01:00
baldurk 525ea12112 Fix handling multi-dimensional arrays in SPIR-V disassembly & reflection 2018-09-27 16:31:32 +01:00
baldurk 90b432b622 Update interceptor-lib LLVM compile instructions to match STL 2018-09-27 14:44:14 +01:00
baldurk 9116983972 Fix error mail script with incorrect quoting 2018-09-27 14:44:13 +01:00
baldurk 6f1a458c8a If a non-global dlopen happens, check for loaded libraries. Closes #1114 2018-09-27 14:44:13 +01:00
Jeremy Lukacs de4bf9711c Fix D3D12 expanded pipeline state creation 2018-09-27 09:33:00 +01:00
baldurk 0bad880e72 Handle EINTR errno correctly 2018-09-26 13:39:26 +01:00
baldurk 3893fc2567 Make sure to trim off filename for windows paths, or if there's no path 2018-09-26 13:26:11 +01:00
baldurk 4ac54ac554 Add VirtualFileDialog fall back if initial directory is invalid 2018-09-26 13:24:18 +01:00
baldurk 3cc0159b84 Create client-memory fake buffers after serialising context activation
* Doing it this way around ensures that the creation of the buffers themselves
  doesn't trash the state of the previous context with bind-to-edit calls.
2018-09-26 13:03:48 +01:00
baldurk b47ca371e7 When deleting objects for a context, don't double-increment iterator 2018-09-26 12:54:07 +01:00
baldurk 9aedacdc90 Serialise glObjectLabel calls in the resource's own record 2018-09-26 12:53:52 +01:00
baldurk e13c292fac Explicitly select c++_static STL, default Android STL is totally broken 2018-09-26 11:12:44 +01:00
baldurk c99cce5d5b Detect the case where no vulkan physical devices are enumerated and bail 2018-09-25 19:08:00 +01:00
baldurk cd1d87daa1 Disable IA bytecode button when no capture is open 2018-09-25 18:39:59 +01:00
baldurk b3c8c66a99 When reading file, handle an empty or truncated header 2018-09-25 18:24:09 +01:00
baldurk fcb74d2f7c Don't try to display vertex buffer if we should be using generics 2018-09-25 18:20:27 +01:00
baldurk 2eb01151c3 When mapping with VK_WHOLE_SIZE, account for any offset 2018-09-25 17:32:45 +01:00
baldurk d0b650778b Handle D3D12 register spaces with high values without full array size
* Technically register space values are arbitrary so the array should not be
  resized to account for all space indices, in case one is very large.
2018-09-25 17:24:01 +01:00
baldurk 1985a6e87a Add minimal hook to block initialisation of AMD extensions on DX12 2018-09-25 15:50:48 +01:00
baldurk fb23f6ad1d Add check for ANDROID_NDK, and error if not set when building android 2018-09-25 15:50:11 +01:00
baldurk 5b07a48479 Switch android build to use NDK-provided cmake file
* The existing android cmake file doesn't work with newer NDK releases, so we
  have to use the provided cmake file. It should work in NDKs as far back as
  version 14.
2018-09-25 15:09:54 +01:00
baldurk 0092e5ced2 Append link flags in cmake on android instead of replacing
* Thanks to @Themaister for this fix
2018-09-25 15:09:54 +01:00
baldurk 390096e796 Add missing includes on android
* Thanks to @Themaister for this fix
2018-09-25 15:09:54 +01:00
baldurk a316e7ff12 Add missing VKAPI_ATTR declaration on vulkan layer functions
* Thanks to @Themaister for this fix
2018-09-25 15:09:53 +01:00
baldurk 4dccb2d02c Add support for simple vulkan extensions
* VK_EXT_post_depth_coverage
* VK_EXT_queue_family_foreign
* VK_KHR_8bit_storage
* VK_KHR_get_display_properties2
* VK_KHR_vulkan_memory_model
2018-09-25 15:09:53 +01:00
baldurk a88c5c4008 Use VkBaseInStructure, official version of VkGenericStruct 2018-09-25 15:09:53 +01:00
baldurk 87d5856bf5 Update to 1.1.85 vulkan headers 2018-09-25 15:09:51 +01:00
baldurk b5d4d44356 Hook libGLX.so as well, just in case 2018-09-25 11:01:33 +01:00
baldurk 081d283575 On linux don't take address of glX/egl symbols
* The application could export a public glXSwapBuffers symbol that is its own
  function pointer, and &glXSwapBuffers looking up that symbol will get it,
  instead of our entry point. Follow the GL function scheme of still exporting a
  small stub with the proper name, but forwarding to an internal suffixed symbol
  that won't be overloaded.
2018-09-25 11:01:25 +01:00
baldurk 73ec1e1d37 Don't assume text output byte buffer is null terminated 2018-09-25 10:39:59 +01:00
baldurk 5b4978b0bf Copy over original specialization info when fetching mesh output 2018-09-25 10:39:37 +01:00
baldurk 7a8581ebab Expose function to query git commit hash version info 2018-09-25 10:31:09 +01:00