Commit Graph

66 Commits

Author SHA1 Message Date
baldurk bb9ff1ccb7 Adjust GL SPIR-V shader test demo to do opengl-unique things
* E.g. not specify a binding and let that be done at runtime, or global
  variables not in constant buffers.
2018-12-17 17:10:35 +00:00
baldurk b08d277b61 Apply clang-format to embedded internal shader source
* It gets a couple of things less than ideal, mostly glsl block names being on
  the next line, but otherwise it's readable and stops mixed tabs/spaces which
  had snuck in without checks.
2018-12-17 17:10:34 +00:00
baldurk 46b0dc6c6e Specify YCbCr conversion sampler when creating conversion views 2018-12-14 15:38:35 +00:00
baldurk 2cf5129e71 Add support for YCbCr conversion samplers in vulkan. Refs #1194 2018-12-14 14:08:33 +00:00
baldurk caaa2bf144 Fix demos compilation on Win32 2018-12-12 23:53:34 +00:00
baldurk ff20086e4c Make sure MediaEngine is released before calling MFShutdown() 2018-12-12 23:53:34 +00:00
baldurk 796b05d76e Add markers to D3D11 video textures demo, around video update & blit 2018-12-12 23:53:34 +00:00
baldurk 6fcba1ced4 Add use of MediaFoundation to decode video in D3D11 video texture demo
* Where available - on Win8+ basically. On win7 the video doesn't play (but most
  of the demo also doesn't work, so that's not much change).
* Added a short 10kb clip from Caminandes (http://www.caminandes.com/sharing)
2018-12-12 13:55:17 +00:00
baldurk d777f6bf9d Allow sourcing data from disk in demos program 2018-12-12 13:55:17 +00:00
baldurk 360ab71a56 Update demos copy of DX official headers 2018-12-12 13:55:17 +00:00
baldurk 1f0192ba3e Fix python not calling bgraOrder function right (it used to be a flag) 2018-12-12 13:55:16 +00:00
baldurk 208b6facff Add a couple of helper D3D/DXGI smart pointers 2018-12-12 13:55:16 +00:00
baldurk 7880cc5d7b Allow customising D3D11 device creation flags in D3D11 demos 2018-12-12 13:55:16 +00:00
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 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 5b11cfea0a If recompressed capture doesn't match, include captures in artifacts 2018-12-06 16:36:14 +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 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
baldurk a9151a8c0b Add testing framework useful for automated testing
* Built entirely independently of the main renderdoc build (for now).
* Contains python scripts & framework for running tests on a renderdoc build,
  which will be run nightly.
2018-11-29 14:47:20 +00:00
baldurk 7a3d84108e Fix generation of pdbstr on WSL
* When C: isn't /c/ the simple sed approach doesn't work, use native_path.
2018-11-29 11:01:53 +00:00
baldurk fca4995d6e Add cygpath and wslpath support, wrap in bash function 2018-11-28 14:41:13 +00:00
baldurk b147041581 Remove error emailing, just print all errors to console and exit 2018-11-28 11:21:19 +00:00
baldurk b89a8295cf Ignore errors from non-existent files when trying to find aapt 2018-11-28 10:43:30 +00:00
baldurk fb71ea1a75 Accept aapt without an extension depending on SDK setup 2018-11-27 22:39:25 +00:00
baldurk 400dc807af Fix missing Win64 tag on RGP plugin in 64-bit installer 2018-11-27 12:00:04 +00:00
baldurk 4392171f7d Skip building android on windows if existing apk is found
* This allows sharing the android build from linux where the result should be
  equivalent (if not identical) and runs a fair bit quicker.
2018-11-27 11:28:50 +00:00
baldurk 821e300fd8 Strip binaries inside docker instance, outside they are owned by root 2018-11-26 18:12:27 +00:00
baldurk d9eb98ee64 Remove SPIRV-Tools timers hack, cmake option is now upstream 2018-11-26 18:12:11 +00:00
baldurk c4d87ef0d3 Include spirv-as and glslang in SPIR-V plugins 2018-11-23 13:43:57 +00:00
baldurk ef34c13ea2 Add scripts to build SPIR-V plugins
* These are the shader tools we ship with official builds. Most people don't
  need these scripts, but here they are just in case (and so I don't lose them).
2018-11-23 13:34:27 +00:00
baldurk f331ce814b Change appveyor build matrix, add VS2017 x64 Development build 2018-11-12 19:26:36 +00:00
baldurk 6d1c5a65b5 Only examine most recent 100 commits for commit message length
* There are old commits that break the rule, and some badly configured branches
  pull in the entire repo history.
2018-10-29 17:24:34 +00:00
baldurk 6388bf1c77 Add RGP plugin DLL to installer manifest 2018-10-23 14:23:12 +01:00
baldurk ae474fa8a6 Skip x86 Release instead of x86 Development, improve appveyor build time 2018-10-23 14:23:09 +01:00
baldurk fa6b5c5d09 Magically fix travis OSX compile
* Probably there was a trailing non-zero exit code that's not actually fatal,
  from homebrew commands. The echo hides that.
2018-10-23 14:23:09 +01:00
baldurk 3766c43ee5 Fix path conversion to windows paths when preparing symbols 2018-10-12 11:25:45 +01:00
baldurk 9116983972 Fix error mail script with incorrect quoting 2018-09-27 14:44:13 +01:00
baldurk 5b07a48479 Switch android build to use NDK-provided cmake file
* The existing android cmake file doesn't work with newer NDK releases, so we
  have to use the provided cmake file. It should work in NDKs as far back as
  version 14.
2018-09-25 15:09:54 +01:00
baldurk 871685fe86 Split up CONTRIBUTING.md and move it under docs/ 2018-09-17 17:31:05 +01:00
baldurk 94fcff1616 Force installer to always overwrite all files regardless of version/date
* The AMD plugins e.g. don't have consistent incrementing versions, and in
  general we don't care too much about version numbers or creation/modified
  dates. We want the installer to always install the files it should.
2018-08-29 20:50:13 +01:00
baldurk adb3bb8cc6 Ensure RENDERDOC_VERSION env var passed to WiX on Windows 10 WSL 2018-08-20 11:57:05 +01:00