Commit Graph

344 Commits

Author SHA1 Message Date
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
baldurk 24ed434bcd Change up pixel history UI to show individual fragments 2014-08-24 01:00:28 +01:00
baldurk 83d13357b3 If depth/stencil is known to be unbound, don't mark it "unknown" 2014-08-24 01:00:27 +01:00
baldurk 3c4f29727c Use depth comparison from pipeline to get correct fragment post-mods
* The fragments now correctly pass/fail depth so you won't see inconsistent
  post-modification values. Precision will make this slightly incorrect
  potentially, as we use D32 instead of the native depth size (as we can't
  - D16 has no stencil version).
* Likewise this won't account for stencil failures per-fragment.
2014-08-24 01:00:26 +01:00
baldurk 072b1fe74a Copy post mod colour/depth immediately, not after intervening events 2014-08-24 01:00:26 +01:00
baldurk ae2c75fb7a Make sure primitive ID value doesn't get blended 2014-08-24 01:00:25 +01:00
baldurk 0d8135ba20 Support for B8G8R8A8, R11G11B10 and R10G10B10A2 2014-08-24 01:00:24 +01:00
baldurk 5a407bdb47 Set -2 when intra-fragment values are not available/fetched 2014-08-24 01:00:23 +01:00
baldurk 8feed73cc0 Save and restore blend state when fetching shader output value 2014-08-24 01:00:23 +01:00
baldurk e144bde4d4 Fix stride calculation 2014-08-24 01:00:22 +01:00
baldurk 22c8f749f8 Ensure proper refcounting (don't miss anything) 2014-08-24 01:00:21 +01:00
baldurk f63b89b16e Fetch primitive ID 2014-08-24 01:00:20 +01:00
baldurk 0b580f32c3 Fetch per-frag post-modification & shader output values 2014-08-24 01:00:20 +01:00