Commit Graph

2798 Commits

Author SHA1 Message Date
baldurk bd9768451f Make sure saving logs from connection dialog marks them as saved 2016-02-29 19:16:38 +01:00
baldurk 096b1b1a7c Don't log out debug push/pop messages 2016-02-29 18:34:01 +01:00
baldurk 8333087595 Rename 'since last clear' to 'show whole pass' 2016-02-28 14:05:47 +01:00
baldurk a8b07fbff2 Change histogram result array to uvec4 instead of uint
* This complies with the packing rules needed for storage buffers
2016-02-28 13:42:05 +01:00
baldurk a91dc78a8c Fix wrong dimension calculation leading to wrongly included minmax tiles 2016-02-28 13:33:00 +01:00
baldurk a6a4ae6cd9 Use gl_VertexIndex / gl_InstanceIndex instead of ID variants on vulkan 2016-02-28 12:15:56 +01:00
baldurk 81ff983fa2 Fix a long-standing silly bug. Vertical and Horizontal were reversed 2016-02-28 11:52:07 +01:00
baldurk 0a42d3e4d7 Rename 'Profile' target in visual studio to 'Development'
* When I went to explain to someone why the target was named Profile and
  not Debug as you might expect, I realised the reasons were entirely
  opaque and historical. So instead, rename it to Development since that
  is really what it's for - any profiling would be done in Release mode.
2016-02-28 11:33:23 +01:00
baldurk a347b54be4 Add some needed ToStr implementations 2016-02-27 17:51:19 +01:00
baldurk ba36dec115 Change a load of asserts to the new value-printing style assert. 2016-02-27 17:40:32 +01:00
baldurk 542131624f Create new assert macro, that can log the values in the expression
* The main motivation for this is because it's convenient to be able
  to just assert a simple expression rather than print a proper error
  message, but then after the fact you want to know what the value was
  (e.g. a return code, or similar).
2016-02-27 17:29:16 +01:00
baldurk 7b8097690d Disable force-crash for errors/asserts/etc in profile
* On balance I think this does more harm than good. The idea was to make
  sure errors don't get ignored when running in profile, but really all
  it did was mean people trying to debug renderdoc without much
  familiarity got confused as to why things crashed suddenly.
2016-02-27 14:53:52 +01:00
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