Commit Graph

8305 Commits

Author SHA1 Message Date
baldurk 19aed5b1f2 If a path already has a : treat it as if it were already native
* wslpath seems to fail on converting "C:\foo" to windows path even though it
  has nothing to do.
2018-12-12 11:13:35 +00:00
baldurk ac196bde79 Fix compilation on linux 2018-12-12 09:31:17 +00:00
MichelVachon 04edbc6b82 Add partial OpenSharedHandle support
Add partial (as in write only, no initial data) D3D12 OpenSharedHandle support
2018-12-11 19:57:22 +00:00
baldurk f8720b94af Add demos testing video (YUV / YCbCr) formats on D3D11, D3D12, Vulkan 2018-12-11 19:57:22 +00:00
baldurk b9f5ecaaa8 Add GPU selection on command line to VK/D3D11/D3D12 tests 2018-12-11 19:57:22 +00:00
baldurk f1d2258c5b Update copyright years in demos project 2018-12-11 19:57:22 +00:00
baldurk b530df00a2 Add helper for VkDescriptorImageInfo 2018-12-11 19:57:21 +00:00
baldurk d4ee873013 Disallow copying AllocatedImage/Buffer, but allow create-in-place 2018-12-11 19:57:21 +00:00
baldurk ab89b074d2 Support texture SRVs with swizzle/planeslice parameters on D3D12 2018-12-11 19:57:21 +00:00
baldurk 5e2971a79f Fix initial state for upload/readback buffers on D3D12 2018-12-11 19:57:21 +00:00
baldurk 4c3d70b612 Add D3D11 helper for making sampler objects 2018-12-11 19:57:21 +00:00
baldurk 38644934c5 Add helpers for loading XPM texture, and add simple example texture 2018-12-11 19:57:21 +00:00
baldurk a5a952855c Fix location of khrplatform.h in demos VS project 2018-12-11 19:57:20 +00:00
baldurk 2b802b1ba8 Allow custom display shaders in image viewer 2018-12-11 19:57:20 +00:00
baldurk 8a47aabb94 Remove un-needed resource.h in qrenderdoc project 2018-12-11 19:57:20 +00:00
baldurk 68b23c5f62 Add support for YUV resource formats
* We handle 4:4:4, 4:2:2, and 4:2:0, with packed, 2-plane and 3-plane formats,
  for 8, 10, 12, and 16 bit depths.
* This covers most common formats but still leaves a few out - NV11, palettised
  formats, V208/V408 JPG formats.
2018-12-11 19:57:20 +00:00
baldurk 2411ce70ea Add flags to ResourceFormat to replace bgraOrder/srgbCorrected
* Allows for future expansion as well
2018-12-11 19:57:20 +00:00
Amit Prakash 2db56c2a86 Remove peak clock flag in opening GPA context
* Remove peak clock flag while interrogating GPA about counter
information.
2018-12-11 11:08:28 +00:00
Sebastian Krzyszkowiak 9d21221617 TextureViewer: fix wheel zooming on HiDPI screens
Without adjusting for pixel ratio it zoomed in into a wrong place.
2018-12-11 11:05:49 +00:00
baldurk bba5e6ee5e Handle PNG thumbnails in XML codec (and Raw, just in case) 2018-12-07 18:19:58 +00:00
MichelVachon 76848d493b depth and render classification
Change depth and render texture resource classification
2018-12-07 12:31:35 +00:00
baldurk 5b11cfea0a If recompressed capture doesn't match, include captures in artifacts 2018-12-06 16:36:14 +00:00
baldurk 3ff48cbaa6 For any images that don't have an initial layout recorded, use GENERAL
* This could happen if the image is created mid-frame and its layout isn't
  serialised out in the BeginCaptureFrame chunk, and prevents us from trying to
  use an image while it's UNDEFINED.
2018-12-06 14:26:34 +00:00
baldurk b28b3313d0 When no depth is bound for depth overlay, use NoDepthRP renderpass
* This ensures we're entirely compatible with the renderpass we use for drawing
2018-12-06 14:25:42 +00:00
baldurk d4e4a31dc1 Fix handling of implicit barriers around renderpasses when replaying
* When we replay a draw and artificially call our loadRP renderpasses, we need
  to be careful to handle the barriers to and from the expected image layouts
  when the renderpass itself has layout transitions.
2018-12-06 13:59:10 +00:00
baldurk ae3fbe2085 Select text in find dialog when opening it e.g. with ctrl-f 2018-12-06 12:50:46 +00:00
baldurk 7194374347 If a valid path is entered into the filename field, browse to it 2018-12-06 12:46:16 +00:00
baldurk d450a4f2f8 Don't try to look up home folder before all roots are found 2018-12-06 12:46:05 +00:00
baldurk 7a541b673d Don't expire lookup-in-progress until all GUIInvokes have completed. 2018-12-06 12:32:08 +00:00
baldurk dcf92ca040 Fix accidental commit with vulkan validation layers turned on 2018-12-06 11:05:17 +00:00
baldurk 3f84eff79c Allow python extensions with uppercase letters. Refs #991 2018-12-06 10:52:14 +00:00
baldurk aad7551e4b Fix a couple of CPU memory leaks in D3D12 2018-12-04 23:54:40 +00:00
baldurk 217b584d15 Fix D3D12 internal refcounting to ensure D3D12 device doesn't leak 2018-12-04 23:54:39 +00:00
baldurk 7908577cce Fix refcounting in D3D tests, don't lose ref creating COM smartptr
* If we create in a bare pointer then just cast to a smart pointer, it adds a
  ref instead of stealing it. Just only allow creating smart pointers in the
  first place.
2018-12-04 23:54:39 +00:00
baldurk 6a9f74cddb Add some missing refcount releases in D3D12 driver 2018-12-04 23:54:39 +00:00
baldurk bc051afbe2 Only use basePipeline* if VK_PIPELINE_CREATE_DERIVATIVE_BIT was set
* This prevents us from trying to read an invalid index or handle that shouldn't
  be used at all.
2018-12-04 23:54:39 +00:00
baldurk 3889ecb552 Use WNetGetUniversalName to convert paths to UNC in vulkan registration
* If we use a mounted network drive as the JSON path but then elevate to
  register, the elevated run will not get the mounted drive but the full UNC
  path. This will cause renderdoc to constantly think it needs to re-register.
* Converting to UNC first gives us a baseline comparison.
2018-12-04 23:54:39 +00:00
baldurk 59f0bfeefd Don't try to add live resource for proxy case 2018-12-04 23:54:39 +00:00
baldurk d339874a06 Revert behaviour with cull mode not affecting texture overlays
* This is kind of a "damned if you do, damned if you don't" situation. If the
  cullmode is wrong, having it show up as failures in depth/stencil overlays is
  misleading. However if the cullmode is deliberate setting it to no-cull may
  ruin the results of those overlays.
* The original behaviour of leaving cullmode as is ends up being a better
  tradeoff, since at least when it is misleading you can use the culling overlay
  to show the failure there. If culling is disabled it makes depth/stencil
  overlays useless in situations with no recourse.
* Also add a test of a depth-clipped triangle to overlay tests
2018-12-04 23:54:38 +00:00
Alex Vakulenko 264b296b7d Save .rdc file extthumbnail as PNG
In order to embed the original rendered image during the capture in its
original form, without incurring JPEG pixel artifacts, use PNG file
format for thumbnails.

Change-Id: I14ff487856949cd6f83889507e16feb4c50a40fb
2018-12-04 15:04:29 +00:00
baldurk 3233afd390 If Intel metrics device version check fails, don't call invalid function 2018-12-03 12:13:19 +00:00
baldurk b564555538 Bump version to 1.3 2018-11-30 18:21:56 +00:00
baldurk 204724bebe Add documentation for python extensions v1.2 2018-11-30 16:42:49 +00:00
baldurk fac080ab4d Add documentation for expanded shader processing tools functionality. 2018-11-30 16:25:24 +00:00
baldurk bbe2f36b18 Add a window title to popup for configuring shader processing tool 2018-11-30 16:20:36 +00:00
baldurk b5a3d12133 Add hlsl_stage2 substitution to shader processing tool 2018-11-30 16:20:25 +00:00
baldurk 8b1251a8b8 Add a note to the RGP howto page to enable RGP integration 2018-11-30 16:04:01 +00:00
baldurk 0b52f0e2ea Update docstring on RENDERDOC_GetDriverInformation 2018-11-30 15:55:39 +00:00
baldurk 91a7d45f85 Document new python version info functions 2018-11-30 15:48:42 +00:00
baldurk a1895d8774 MSAA initial states are supported on D3D12 2018-11-30 15:41:12 +00:00