Commit Graph

2786 Commits

Author SHA1 Message Date
baldurk 7a557380aa Fix detection of separate samplers and textures to work properly 2016-02-25 22:29:19 +01:00
baldurk 939d7e56bd Compile glsl with vulkan/SPIR-V rules 2016-02-25 22:25:45 +01:00
baldurk 61591da4d0 Update GLSL_STD_450_names to match the newest spirv.hpp 2016-02-25 21:51:17 +01:00
baldurk 7be24e24d5 Update to glslang to latest
* Based on renderdoc branch with local modifications from upstream:
      https://github.com/baldurk/glslang/tree/renderdoc
    * hash bba704293106428f6063ba0a3fa7802e8f413def on renderdoc from
      5184353326ae52d63a1d7c7fccd66269aab768f7 on master
2016-02-25 21:48:51 +01:00
baldurk df5def2182 Add a "load texture as a buffer view" button. Refs #141
* This isn't a complete fix as the buffer gridview doesn't support 100s
  or 1000s of columns, but it's a start and could be useful in some
  cases.
2016-02-24 00:43:57 +01:00
baldurk 729404b225 Fix potential deadlock accessing ByteOffset on render thread 2016-02-24 00:42:59 +01:00
baldurk 92f4e3f90f Fix serialising between Win32 and x64 2016-02-24 00:28:44 +01:00
baldurk e897144a99 Add required pacman install line for Archlinux 2016-02-23 23:34:22 +01:00
baldurk 839ee08768 Don't create unnecessary output for non-mesh buffer viewers 2016-02-23 22:24:45 +01:00
baldurk 9ee529e435 Call ReplacePresentableImageLayout earlier on initial layouts. Refs #185 2016-02-23 21:19:28 +01:00
baldurk a876e13c89 Fix embarassing crash (records only present during capture). Refs #189 2016-02-23 08:35:51 +01:00
baldurk e17e02d162 Create 'safe' git hash script that works outside git repo. Refs #186 2016-02-23 01:07:49 +01:00
baldurk 64ef0d93a8 Create an implicit vkUnmapMemory() in vkFreeMemory() (Refs #179)
* It's legal to free memory while still mapped and this should be
  handled, so here we clean up any mapped state that's present when
  destroying a memory resource record.
2016-02-23 00:49:33 +01:00
baldurk da94c7a8c6 Don't transition non-backbuffer images to PRESENT_SRC (Refs #185) 2016-02-23 00:13:05 +01:00
baldurk 07c4274165 Reduce tiles per block down to 10 so invocation size <= 128 (Refs #180) 2016-02-22 23:43:19 +01:00
Baldur Karlsson 28a514a8a6 Merge pull request #184 from kbiElude/issue_183_fix
Set TRANSFER_SRC usage flag for images @ capture
2016-02-22 15:45:28 +01:00
Dominik Witczak 0cbb9ab576 Spaces => tabs 2016-02-22 15:38:19 +01:00
Dominik Witczak 0920d71cf1 Set TRANSFER_SRC usage flag for images @ capture 2016-02-22 15:22:23 +01:00
Baldur Karlsson e1ece19b66 Merge pull request #182 from kbiElude/issue_181_pull_request
Missing image usage flag bit when setting up the font texture
2016-02-22 14:06:39 +01:00
Dominik Witczak 660666ab17 Fix for #181: Missing image usage flag bit when setting up the font table 2016-02-22 13:36:55 +01:00
baldurk 3e37e1a112 Linux compile fixes 2016-02-22 01:47:57 +01:00
baldurk 1f1694af4f Keep pan consistent when switching between integer multiple textures
* Basically for downsample chains and the like, the pixels should now
  exactly line up with each other rather than shifting back and forth.
2016-02-21 16:37:58 +01:00
baldurk 1a05f4fc4a Forcibly refresh UI state after editing a shader or removing an edit 2016-02-21 16:10:46 +01:00
baldurk c35531c65f Only allow D3D11_BIND_SHADER_RESOURCE on depth display resources
* Not entirely sure if this is actually needed, but seems to fix a bug
  and I don't think it can do any harm.
2016-02-21 15:36:39 +01:00
baldurk 49669d676e Identify depth textures by depth format, not just having DSV flag 2016-02-21 15:36:05 +01:00
baldurk bb408e7de4 Update enums on C# to match C++ enums 2016-02-21 15:35:47 +01:00
baldurk df1dc3368f Remove use of texture2D() 2016-02-21 14:37:04 +01:00
baldurk 3addd2ed38 Change srcStageMask on pipeline barriers to ALL_COMMANDS_BIT 2016-02-19 20:50:19 +01:00
baldurk 6bff873bf1 Fix incorrect calculation (off by one) when picking pixels & y-flipped 2016-02-19 11:08:36 +01:00
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 f15ca1fb15 Always convert paths to full UNC paths. Refs #177
* This avoids ambiguity/possible change between a mapped network drive
  like Z:\ and the UNC path \\hostname\foo\bar\
2016-02-18 15:05:46 +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 c4c0ab8c5b Run Visual Studio 2010 C++ redist installer in RenderDoc installation 2016-02-17 13:37:36 +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
Baldur Karlsson 08141e16a9 Add Vulkan to first line of README.md 2016-02-16 15:04:38 +01:00
baldurk 85fd83f55c Linux compile fixes (some apply to bad code on windows too) v0.27 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 8bf41ab8c9 Add Vulkan to documentation where relevant. 2016-02-09 22:39:22 +01:00
baldurk 11ea496c3d Add credits of individuals who helped with Vulkan work 2016-02-09 21:52:04 +01:00
baldurk 38c950f15c Create overlay font atlas with optimal tiling 2016-02-09 20:59:10 +01:00
baldurk d865223879 Update vulkan layer banner on first shown
* Prevents an ordering issue where the --updatedone installation of the
  layer happens after the capture dialog first checks layer registration
2016-02-08 23:10:53 +01:00
baldurk df714b3f47 Make buffer viewer more robust to being closed while fetching data 2016-02-08 21:11:46 +01:00
baldurk 13007e4e72 Remove printing of debug text 2016-02-08 21:11:33 +01:00