Commit Graph

3261 Commits

Author SHA1 Message Date
baldurk 8538e045cb Need to downcast from BGRA formats 2016-06-08 15:30:38 -07:00
baldurk 8f7ca2974c IsRenderOutput() should go over the remote proxy 2016-06-08 15:30:38 -07:00
baldurk b722ddf16d Make sure to set stencil aspect flag correctly when handling images 2016-06-08 14:13:04 -07:00
baldurk 0105967ebc Don't initialise whole pass worth of postVS buffers unless we need it 2016-06-08 14:00:34 -07:00
baldurk 88695370fd Implement mesh/vertex picking for Vulkan 2016-06-08 11:04:11 -07:00
baldurk 6281dd760c Fix an incorrect barrier from frame-to-frame on replay output depth img 2016-06-08 11:04:10 -07:00
baldurk cb0c8ca620 Don't try to pick vertices if there's no input buffer specified 2016-06-08 11:04:10 -07:00
baldurk 59484fa380 Fix incorrect size calculation in GL mesh picking code 2016-06-08 11:04:09 -07:00
baldurk d41c9538de Add support for SPIR-V specialization constants 2016-06-07 11:35:44 -07:00
baldurk 3374876114 Add new VS2015 intellisense files to .gitignore, remove sandcastle ext 2016-06-07 11:27:35 -07:00
Bart Muzzin ffdea92260 Account for possible lower space. Refs #279 2016-06-07 10:19:50 -07:00
Bart Muzzin 2f07027386 Always write pPropertyCount value when returning properties. Refs #279 2016-06-07 10:19:16 -07:00
baldurk 4e7276165a Allow for DSA style glCreate*d buffers which are never bound to a type 2016-06-06 15:46:36 -07:00
baldurk a885074e9c Restore previous bind when binding to glGet params. Refs #278 2016-06-06 15:46:27 -07:00
baldurk 947f7decb2 Add 'show all instances' mode, and make colours consistent. Closes #248 2016-06-03 17:34:26 +02:00
baldurk e0d664f1b3 Fix a case where selecting an instance would break viewing other draws
* The UI would prevent you from selecting too high an instance for a
  draw, but if you selected a non-zero index and then selected a non-
  instanced draw, it would try and fail to render instance N.
2016-06-03 17:28:43 +02:00
baldurk a853836819 Change vulkan overlays to render at same multisample level as rendering 2016-06-03 16:08:30 +02:00
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