Commit Graph

379 Commits

Author SHA1 Message Date
baldurk 475c0dab7c Improve type display in constant buffer previewer 2014-09-13 18:48:37 +01:00
baldurk 1a2831a52e Update help text 2014-09-13 18:48:37 +01:00
baldurk 67b8b4521a Add api for applications aware of renderdoc to get list of captures 2014-09-13 13:19:34 +01:00
baldurk 6fbb247efd Re-organise external-facing headers to be more easily used
* renderdoc/api/replay/ contains all the headers for using the replay and
  analysis side of renderdoc (like in a UI or auto-testing tool)
* renderdoc/api/app/ contains the headers if you wanted to write a
  renderdoc-aware application.
2014-09-13 12:52:25 +01:00
baldurk fd7c18ffde Handle case where file is empty (don't index invalidly). 2014-09-12 23:29:13 +01:00
baldurk 035570d054 Set the right render target slot when fetching shader output value 2014-09-12 19:17:39 +01:00
baldurk a854fbcc5a Update replay proxy serialisation functions for new members 2014-09-11 19:56:10 +01:00
baldurk 4cca4f90f1 ReplayRenderer takes over ownership of ProxySerialiser 2014-09-11 19:52:14 +01:00
baldurk 974f57279c Fix winsock deprecation warning on inet_addr
* It appeared suspiciously after I installed VS2013 Update 3, even when
  compiling on VS2010...
2014-09-11 19:01:43 +01:00
baldurk 9e90eda3b5 Locate breakpad libraries via $(PlatformToolset)
* This means people building on VS2013 don't need to rebuild breakpad
  locally to link successfully.
* Committed binaries built on VS2012 Update 4 and VS Express 2013 for
  Desktop, which will hopefully work for everyone.
2014-09-11 18:59:32 +01:00
baldurk 35884170eb In D3D11 support setting friendly names on shaders 2014-09-10 18:25:29 +01:00
baldurk 2735de8b9a Clean up linux Makefile
* Compiler now used to generate dependencies via -MM
* Object files are put into .obj folder rather than loose next to the
  source files
2014-09-10 18:20:22 +01:00
baldurk 48748936ba Set installer version via env variable from the code version 2014-09-09 23:59:04 +01:00
baldurk 3e45d2775b Factor version number out in C++ code
* Fewer places to update with the version number.
* Linux can now use this natively rather than passing via Makefile var
2014-09-09 23:39:59 +01:00
baldurk 3d0fe01a56 Add stb_impl to linux Makefile 2014-09-09 23:00:22 +01:00
baldurk b8af0fa144 Compile fix for gcc (or others where 'and'/'or' are keywords) 2014-09-09 22:57:07 +01:00
baldurk 03b6e01d1b Add Radiance RGBE .hdr writer to stb_image_write.h 2014-09-09 01:38:10 +01:00
baldurk f443a40b06 Move stb_impl to a C file so I can test that changes compile 2014-09-09 01:07:18 +01:00
baldurk c1f92dd3d5 Add stb_image.h and stb_image_write.h from http://nothings.org 2014-09-08 19:31:07 +01:00
baldurk 9f1b3362ea Better handling of cubemaps, requiring dx10 header to pass array size 2014-09-07 20:13:15 +01:00
baldurk 24088b6e09 Update README in a few places
* Tweaked links and rearranged a few things
* Updated the building section with instructions for VS2013 or express
2014-09-07 13:42:13 +01:00
baldurk a88fec729d Add a little USE_DIA for anyone building on VS express to disable
* The DIA SDK is only available on VS pro and above, but it's only needed
  to be able to resolve symbols in the pdblocate helper program. So we add
  a little define that makes pdblocate instantly quit, and then symbol
  resolution just fails.
2014-09-07 13:22:46 +01:00
baldurk 0ff9cccbde Release compile fix, remove GetDescDirect as it's a hazard :/ 2014-09-07 10:46:13 +01:00
baldurk 4d05273bc1 Fix loading settings not working with the working-dir hint 2014-09-06 16:28:34 +01:00
baldurk 982b32cc5e Better handling for when app state had depth enabled but not bound 2014-09-06 15:13:17 +01:00
baldurk 68157814ad Mark pixel history events as UAV writes and display before/after 2014-09-06 13:28:58 +01:00
baldurk 640d8aac49 Don't include Present() with others in auto-marker groups 2014-09-06 12:59:29 +01:00
baldurk ea40e40c9b Allow helper/inactive pixels to continue running
* To get correct ddx/ddy results we have to keep helper/inactive pixels
  running along to query from. Just don't allow them to modify global UAV
  data
2014-09-06 12:22:38 +01:00
baldurk 543165cece Give the shader viewer a better disambiguating title when debugging 2014-09-06 11:45:51 +01:00
baldurk 490c9a1fcb Some programs fatal error if SetFullscreenState fails :(. Lie instead
* A bit silly since this can fail for plenty of legit reasons and you could
  just fall back to windowed. So instead we'll just return S_OK and pretend
  everything went swimmingly
2014-09-06 11:42:30 +01:00
baldurk bfffc2110a Change settings title to 'Settings' not SettingsForm 2014-09-06 11:32:27 +01:00
baldurk 8562c337d8 First pass support for texture UAVs (just reading whole tex back) 2014-09-06 11:30:47 +01:00
baldurk 7539e83995 Implement new double instructions 2014-09-06 01:48:43 +01:00
baldurk 03e5872e80 Implement groupshared r/w and UAV write, as well as atomic operations
* Still to do - Texture UAVs, finding a way to display the groupshared
  and UAV memory in the UI.
2014-09-06 00:34:33 +01:00
baldurk a60e21a351 USE_MHOOK/USE_IATH_HOOK defines were moved to win32_specific.h 2014-09-05 18:12:57 +01:00
baldurk ce51ddeba7 Apply initial contents before replaying capture scope
* This ensures that everything is correct before the initial read,
  important for making sure things like Indirect params that are fetched
  are correct the first time.
2014-09-04 22:23:24 +01:00
baldurk 3e52fa6b83 Create and allocate groupshared memory when it's declared 2014-09-03 23:41:51 +01:00
baldurk 1ceb74e266 Add shader hash at the top of the shader disassembly 2014-09-03 23:13:50 +01:00
baldurk 9622c7ba22 Reformat chunk summary table, include size per-chunk 2014-09-03 23:12:54 +01:00
baldurk 04335a7179 Highlight groupshared memory registers on click 2014-09-03 23:12:16 +01:00
baldurk bbc355ad44 Disable stdout/stderr on windows as it just conflicts with debugout 2014-09-03 23:12:06 +01:00
baldurk 00323553f0 Implement lod opcode (returns LOD that would be used) 2014-09-03 00:49:49 +01:00
baldurk 1f84ff02b0 Add support for sampleinfo and samplepos (assume default pattern) 2014-09-03 00:28:39 +01:00
baldurk 616615c41e Simplify 'Allow Fullscreen' off behaviour to simply error. Refs #80
* Rather than trying to fake fullscreen being successful (then getting
  things like GetFullscreenState wrong), we simply return the valid error
  code for fullscreen not being available.
2014-09-02 21:06:15 +01:00
baldurk d04aba48f7 Add simple API version fetch function.
* Plugins/apps that build against the header (and so get the
  RENDERDOC_API_VERSION macro) can call this to verify that they're running
  against compatible API functions. If the versions don't match, the app
  should immediately quit.
2014-09-02 00:54:43 +01:00
baldurk 546a1fbb31 Add functionality for overlay tweaking & manual capturing by apps
* The functionality is exposed via dllexported functions so that apps can
  call it to tweak renderdoc's behaviour when injects.
  1) Can now turn bits of the overlay off, or hide it entirely.
  2) Can also manually start and stop a capture on a given window. This
     skips the need for swapping between active swapchains, and allows the
     app to define the exact region of D3D11 calls to be captured (could in
     fact be many frames).
     The window provided determines the swapchain used for thumbnail, and
     also implicitly specifies the device to be used for capture.
2014-09-02 00:21:12 +01:00
baldurk e0a7c0df85 Reserve mantle back-end ID 2014-09-02 00:18:19 +01:00
baldurk 0dbf879e7d Add small timeouts to blocking recv/send so we don't spin forever 2014-09-02 00:16:17 +01:00
baldurk 3020e5ce95 Protection if import descriptor tables are non-existant
* This is perhaps for descriptors entirely importing by ordinal and the
  linker skips the descriptor table.
2014-09-02 00:15:46 +01:00
baldurk 960387d485 Add a command line parameter --remoteaccess to connect to instance
* This is useful in e.g. a renderdoc-aware application that has voluntarily
  injected renderdoc, and then wants to boot the UI to automatically open
  up the management connection
2014-09-01 21:15:23 +01:00