Commit Graph

356 Commits

Author SHA1 Message Date
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
baldurk d8daa093c5 Fix brain-dead filling of right click menu that was really slow. 2014-09-01 18:50:08 +01:00
baldurk fdfd431a5f latest d3d shader bytecode support (not fully tested!) 2014-09-01 00:01:10 +01:00
baldurk 89e90f8c36 Replace mip selection with sample idx when viewing Tex2DMS. Refs #79
* Also for float/unorm texture add an additional "resolved" option that
  just does an unweighted average of all samples, which is the behaviour
  from before (assuming that's what ResolveSubresource does).
2014-08-29 01:54:14 +01:00
baldurk d17314536a Add comments to the dist.sh script, and include renderdocui.pdb
* Including renderdocui.pdb means that crash dumps with managed callstacks
  in the log will have line numbers. Sweet, sweet line numbers.
2014-08-27 20:39:32 +01:00
baldurk 5452e8da71 Apply same DXGI_FORMAT_UNKNOWN hack to SRV creation as to RTVs 2014-08-27 08:07:54 +01:00
baldurk d7ffb16a72 Add whitespace before C# exception in log 2014-08-25 22:05:04 +01:00
baldurk f2726e071b Bake in symbol upload URL to renderdoc.org 2014-08-25 18:21:01 +01:00
baldurk 620067ec6b Fix %s to %hs usage 2014-08-25 17:23:03 +01:00
baldurk 0532e4e8d6 clang compile fixes 2014-08-25 17:16:07 +01:00
baldurk ce2cf6c87f Move linux_libentry.o to the end to hint static constructor order 2014-08-25 16:57:58 +01:00
baldurk 9a55bb796d Linux compile fixes 2014-08-25 16:57:02 +01:00
baldurk 61b82bbbb8 Update version number in makefiles 2014-08-25 16:54:07 +01:00
baldurk 2271c6ce44 Make installers too in autobuild 2014-08-25 15:44:29 +01:00
baldurk cb6c7b65bb hash_version.sh takes a parameter to append to the git hash
* Useful for adding -official (for version releases) or -beta
2014-08-25 12:41:31 +01:00
baldurk e68162ccb3 Bump version numbers to 0.21, as we're closer to that than 0.20 now 2014-08-25 12:41:30 +01:00
baldurk be3ee7f915 Add support for 'beta' builds
* Beta builds will be between nightlies and official releases in terms of
  stability. Tested at least to make sure there are no obvious bugs, but
  haven't been through 1-2 weeks stabilising period.
* Beta builds will upload crash reports, so I can get early warning of any
  bugs that are creeping in on master.
2014-08-25 12:41:29 +01:00
baldurk 4c6c39a609 Remove sneakily packed data before retrieving anything 2014-08-24 23:49:22 +01:00
baldurk 4cbdfb3e3a Use correct array indices, duh. 2014-08-24 23:45:34 +01:00
baldurk ec5e3ad909 Use proper stride for non-uniform formats, not compCount*compByteWidth 2014-08-24 12:39:10 +01:00
baldurk 497558f338 Display shader output as ints if that's the target format type 2014-08-24 12:38:44 +01:00
baldurk 461588ae1e Always SRGB correct colour for display 2014-08-24 02:02:54 +01:00
baldurk 7ae4c259df Get typed format before trying to do readback 2014-08-24 02:01:47 +01:00
baldurk d2188edc68 Handle viewports correctly in pixel history 2014-08-24 02:01:34 +01:00