Commit Graph

3244 Commits

Author SHA1 Message Date
baldurk d0ba1dc010 Don't reject valid desc writes with immutable samplers. Refs #260
* Previously we were rejecting/ignoring any descriptor write that didn't
  have a valid sampler and imageview. But if the layout has immutable
  samplers we can allow any write that just has the imageview, and lets
  sampler be NULL.
2016-06-03 14:23:15 +02:00
baldurk 566ab0b678 Work around apparent bug encountered on Intel 2016-06-03 14:04:55 +02:00
baldurk 33146871c8 Fix memory maps with offsets not being properly recorded 2016-06-03 10:54:33 +02:00
baldurk 5ba92b4dce Allow a capture to replay if it has more physical devices than replay
* This will still fail if the physical devices are used, but if they're
  not this allows a bit more capture portability between machines.
2016-06-02 20:17:17 +02:00
baldurk 09760ffb7d Support arrays-of-structs as SPIR-V in/out signature elements
* This is commonly used for tessellation and geometry shaders with
  gl_in[] and gl_out[]
2016-06-02 17:23:47 +02:00
baldurk 61ae6893f8 Fix mesh output when tessellation is active
* We don't want to have any other shader stages than vertex shader
  active really. It's enough to run the vertex shader, fetch output, and
  stop. Other stages active imposes more requirements (like tessellation
  has to happen with patch list types not point lists, etc).
2016-06-02 16:59:25 +02:00
baldurk 8107adcf9e Copy scissors into correct array when creating pipeline creation info
* Fixes quad overdraw not working sometimes when pipeline had no dynamic
  viewports/scissors
2016-06-02 16:37:11 +02:00
baldurk 5553c4c435 Add single-flush-validate code to applying initial image layout barriers 2016-06-02 14:48:20 +02:00
baldurk d7d3d88a9e Add newly declared inputs (vertex/instance index) to entrypoin interface 2016-06-02 12:42:23 +02:00
baldurk 306ebd1ad7 Fix a backwards compatibility issue causing some panels to go missing 2016-06-01 19:02:45 +02:00
baldurk 56c8fbc595 Handle purely typed texel buffers with no members 2016-06-01 16:48:22 +02:00
baldurk 6c39971374 Add proper support for immutable samplers. Refs #260 2016-06-01 16:39:18 +02:00
baldurk a9d7ff60e2 Extract out driver version major/minor from physical properties 2016-06-01 14:46:11 +02:00
baldurk 432806cfb2 Don't pass VK_FENCE_CREATE_SIGNALED_BIT when creating semaphore 2016-06-01 13:50:50 +02:00
baldurk 2e291638a4 Make sure dummy infos are unwrapped 2016-06-01 13:49:20 +02:00
baldurk 6e2a8344ce Fix crash with markerColour not being created for fake markers 2016-06-01 13:08:36 +02:00
baldurk 054a01c3b0 Check for drawcall potentially being NULL 2016-06-01 11:57:55 +02:00
baldurk 094e79dee2 Greatly speed up 'attach to running instance' dialog in the 99% case
* 99% of the time, you'll only have localhost and the application will
  be running on the first ident checked which will return a valid socket
  almost immediately.
* Instead of continuing to search through each valid port before
  returning valid data, we change the enumerate function to just find
  the next valid port and return - so we can update the UI as soon as
  we have the first result.
2016-06-01 11:31:57 +02:00
baldurk 4b149abdbd Don't crash if network handshake fails and we don't get any data 2016-06-01 10:47:28 +02:00
baldurk ab84b84ba4 Add bullet-proofing to GetTextureData/GetBufferData
* So that it won't crash on invalid input but will just return empty
  data.
2016-06-01 10:44:44 +02:00
baldurk 3136328346 Print IDs in resource manager asserts for better post-mortem debugging 2016-06-01 10:35:54 +02:00
baldurk c1f66de413 Add early OS X compiling support from @Zorro666 - still non-functional!
* Build with cmake -DENABLE_VULKAN=OFF -DENABLE_QRENDERDOC=OFF
2016-05-31 12:05:45 +02:00
baldurk c0e0b105e4 Add note about currently supported compilers 2016-05-31 10:28:04 +02:00
baldurk 0cb940fcbe Support LZ4 compression of stripped separate debug blobs 2016-05-30 12:12:18 +02:00
baldurk 91f32f5c9a Pass -Wno-shift-negative-value only for gcc 2016-05-29 21:26:45 +02:00
baldurk 8128dc3102 Fix other type-punning strict aliasing violations. Refs #274 2016-05-29 21:01:57 +02:00
baldurk d26dd2d6d2 Disable -Wshift-negative-value on jpeg-compressor. Refs #276 2016-05-29 20:54:46 +02:00
baldurk 33f11512a7 Update COMPILE.md to reference cmake build system. Refs #275 2016-05-29 10:34:00 +02:00
baldurk 64db4e6e8e Use a union to return NaN constant from ConvertFromHalf. Refs #274 2016-05-29 10:32:02 +02:00
baldurk 9e2fa30a7e Add check for all-opaque-black markers and ignore. Works around UE4 2016-05-28 12:25:29 +02:00
baldurk 60706ca4eb Add options controlling marker colourising 2016-05-27 23:26:59 +02:00
baldurk 1978bc2409 Apply colours (optionally) to event browser and timeline bar. Refs #270 2016-05-27 19:44:25 +02:00
baldurk a85d11643b Add treelistview custom tree lines (colour/width) and text colour 2016-05-27 19:29:49 +02:00
baldurk 54106a2108 Pass through marker colours to UI 2016-05-27 19:28:58 +02:00
baldurk 7b3cb14186 Fix size of array - must support up to index [16] for 16 viewports 2016-05-27 17:46:15 +02:00
baldurk b74ad435e5 Add a 1:1 (zoom 100%) button. Refs #272 2016-05-26 23:58:58 +02:00
baldurk 1914a8a029 For APIs with proper separate sampler objects use debug names. Refs #273 2016-05-26 23:51:09 +02:00
baldurk e99660bebc Unwrap images/buffers used in transitions in debug init code 2016-05-25 20:00:22 +02:00
baldurk 65a7cc62c0 Coverity: Fix some warnings from core.cpp/.h 2016-05-24 23:28:15 +02:00
baldurk ddf64963a5 Apply clang-format as I'm not yet in the habit :). 2016-05-23 20:34:46 +02:00
baldurk 2c8b329704 Travis: try clang-format in install, with git diff --exit-code 2016-05-23 20:32:01 +02:00
baldurk ca76864f20 Travis: Run clang-format in before_script so that it halts the build 2016-05-23 20:22:55 +02:00
baldurk bbe25464f0 Coverity: Fix newly added defects 2016-05-23 19:04:07 +02:00
baldurk 1ddcc2f919 Travis: Try to fix LLVM apt authentication issues 2016-05-22 21:28:43 +02:00
baldurk 60a9d77dd2 Travis: Only check clang-format on code builds 2016-05-22 21:26:22 +02:00
baldurk 0fe6a15754 AppVeyor: Allow Win32 Development job to fail 2016-05-22 21:15:46 +02:00
baldurk add56be1c0 Travis: need to actually install clang-format 2016-05-22 21:14:13 +02:00
baldurk 40e7a2616b Travis: Fix for parameters to add-apt-repository 2016-05-22 21:07:28 +02:00
baldurk c0eb5c7988 Update CONTRIBUTING.md to mention clang-format 2016-05-22 19:42:15 +02:00
baldurk 5f28b745a2 Format code according to newly added clang-format
_  /)
                 mo / )
                 |/)\)
                  /\_
                  \__|=
                 (    )
                 __)(__
           _____/      \\_____
          |  _     ___   _   ||
          | | \     |   | \  ||
          | |  |    |   |  | ||
          | |_/     |   |_/  ||
          | | \     |   |    ||
          | |  \    |   |    ||
          | |   \. _|_. | .  ||
          |                  ||
          |repository history||
          |                  ||
  *       | *   **    * **   |**      **
   \))ejm97/.,(//,,..,,\||(,,.,\\,.((//
2016-05-22 19:41:53 +02:00