Commit Graph

2248 Commits

Author SHA1 Message Date
baldurk 144a91ea97 Correctly handle sparsely-defined descriptor set layouts (Refs #176) 2016-02-18 17:32:51 +01:00
baldurk a15dcb4ded Update RenderDoc vulkan layer json to latest version numbers 2016-02-18 17:32:21 +01:00
baldurk 0e76c57540 Make sure to unwrap oldSwapchain in vkCreateSwapchainKHR (Refs #178) 2016-02-18 10:14:39 +01:00
baldurk 1be73d0ff7 Remove deleted file from MSVC projects 2016-02-17 13:59:01 +01:00
baldurk bf331422b1 Update to shipped vulkan headers 2016-02-17 13:37:36 +01:00
baldurk 154161e260 Bump version number to 0.28 2016-02-17 13:37:35 +01:00
baldurk 85fd83f55c Linux compile fixes (some apply to bad code on windows too) 2016-02-10 20:26:52 +01:00
baldurk 6de03e58f1 Update to glslang to latest
* Based on renderdoc branch with local modifications from upstream:
  https://github.com/baldurk/glslang/tree/renderdoc
* hash 0011d911d67ea3c029a11010ba6f20bbe5149ebc on renderdoc from
  103bef9d74d768f0690ed53f52681baead384d1e on master
2016-02-10 20:26:52 +01:00
baldurk 3db724294f Conditionally disable use of texelFetch() in shaders 2016-02-10 17:13:05 +01:00
baldurk 814dfddf0d Conditionally silence an assert on surface capabilities 2016-02-10 17:13:04 +01:00
baldurk c8ade743a2 Add function to check if running on AMD 2016-02-10 17:13:02 +01:00
baldurk a67f559308 Don't create quad write FS module just to delete it again 2016-02-10 17:13:01 +01:00
baldurk 38c950f15c Create overlay font atlas with optimal tiling 2016-02-09 20:59:10 +01:00
baldurk 13007e4e72 Remove printing of debug text 2016-02-08 21:11:33 +01:00
baldurk 89dba11640 Ignore all validation layer messages about barrier access masks 2016-02-07 18:52:21 +01:00
baldurk a1d2a75e3b Fix for 'Ref all resources' on vulkan - don't ref baked cmd buffers 2016-02-07 18:52:20 +01:00
baldurk 230ded1aa2 Switch histogram and minmax to use proper tex sampling code
* Should then handle float/uint/int and different image types
2016-02-07 18:52:19 +01:00
baldurk 3bb57de612 remove old flag 2016-02-07 18:52:18 +01:00
baldurk a966b84537 Add utility functions for manipulating ICD magic number
* Fixes issue with validation layers & object wrapping.
2016-02-07 18:52:17 +01:00
baldurk 29a0f7dbce Update for latest validation layers 2016-02-07 18:52:16 +01:00
baldurk 90b1058f9d Update code to header 1.0.2 and new layer initialisation scheme 2016-02-07 18:52:14 +01:00
baldurk d502dd109d VK_LAYER_GOOGLE_unique_objects is required for using validation layers 2016-02-07 18:52:12 +01:00
baldurk 07d1789fb4 Don't destroy surface while old swapchain still exists, when resizing 2016-02-07 18:52:12 +01:00
baldurk 7dab29e984 Make sure to set descriptor set specifically, don't just append to list 2016-02-07 18:52:11 +01:00
baldurk 17b28c7724 print API version as hex, not decimal 2016-02-07 18:52:10 +01:00
baldurk f042c3912f Remove an old debug print 2016-02-07 18:52:09 +01:00
baldurk 82f1444710 Inherit instance extension enablement into device enablement 2016-02-07 18:52:08 +01:00
baldurk 1cb4da5beb Nominally check vkGetPhysicalDeviceSurfaceSupportKHR 2016-02-07 18:52:07 +01:00
baldurk a572886aed Fix data offset calculation for structs and arrays of structs 2016-02-07 18:52:06 +01:00
baldurk 420f1e7000 Fix display of push constants in the UI 2016-02-07 18:52:05 +01:00
baldurk 366071aebe Fix stupid typo 2016-02-07 18:52:04 +01:00
baldurk c804c9f25b Allow private global variables silently 2016-02-07 18:52:02 +01:00
baldurk 93f2b91701 Set the right descriptor set even if extras are bound. 2016-02-07 18:52:01 +01:00
baldurk 482f337cf1 Re-enabled memcmp'ing of coherent maps on queue submit 2016-02-07 18:52:01 +01:00
baldurk ee771ac14a Make vector swizzle more robust 2016-02-07 18:52:00 +01:00
baldurk 7948ac777a Put image into SHADER_READ_ONLY_OPTIMAL 2016-02-07 18:51:58 +01:00
baldurk 80865e8ebf Make quad overdraw pass and draw overlays more similar paths 2016-02-07 18:51:57 +01:00
baldurk e62bfc5951 Fix to a buffer memory barrier in GetMinMax 2016-02-07 18:51:56 +01:00
baldurk 00bff6bddd Set proper pipeline barriers to clear in TRANSFER_DST_OPTIMAL 2016-02-07 18:51:55 +01:00
baldurk 6d8beae490 Warn if a function is requested via GPA without enabling the extension 2016-02-07 18:51:55 +01:00
baldurk 8527f7afc8 Clear output window depth as well as colour when rendering empty mesh 2016-02-07 18:51:54 +01:00
baldurk cae7509a33 Disable the diff tracking and serialise full memory range each time.
* There seem to be some bugs here, and doing the copy unconditionally
  doesn't seem to be that costly. It means a larger buffer to serialise
  and a bit larger logs - but the lz4 compression mostly takes care of
  that.
2016-02-07 18:51:53 +01:00
baldurk 459883550d Also be sure to update refData whenever flushing a second time 2016-02-07 18:51:52 +01:00
baldurk c0717042de Make sure that when checking persistent maps, refdata matches serialised
* The comment goes into more detail, but basically if there's a delay
  between fetching the first full-flush of the map, and fetching the
  ref data, some changes could happen in between and get lost.
2016-02-07 18:51:51 +01:00
baldurk 19a0fc5094 Remove some deprecated code 2016-02-07 18:51:50 +01:00
baldurk bab3ff105a Always use nearest mipmap mode, not linear 2016-02-07 18:51:50 +01:00
baldurk 82995798b8 Don't enable stencil test while doing quad overdraw 2016-02-07 18:51:49 +01:00
baldurk 016aadfdcc Make sure to unwrap pWaitSemaphores in VkPresentInfoKHR 2016-02-07 18:51:48 +01:00
baldurk 6bd2a457b3 Fix overly-conservative buffer data fetch
* This could be a big win in the case where a large object is instanced
  many times, we only fetch the data for the relevant instance output
  data, not ALL the output data.
2016-02-07 18:51:47 +01:00
baldurk 03488c2fa2 Don't reference iterator after it may have been deleted. 2016-02-07 18:51:46 +01:00