Commit Graph

3958 Commits

Author SHA1 Message Date
baldurk 19cc4fa415 Make sure host (if non-local) shows up in connection window title 2016-09-12 15:36:08 +02:00
baldurk 0809778b26 Add a FAQ entry about hooking child processes 2016-09-12 15:09:25 +02:00
baldurk 46644e127f Add some introductory text to the in-application API about how to start 2016-09-12 15:09:13 +02:00
baldurk 0c009cd578 Fix a crash in vulkan pipeline state export to html 2016-09-12 14:28:46 +02:00
baldurk 39fae161d8 Add F3/shift-F3 for find forward backwards in event browser 2016-09-12 14:22:15 +02:00
baldurk 4e4b9e21ad Fix a crash with vulkan shader edit & replace 2016-09-12 14:15:06 +02:00
baldurk b493865349 Make members of TextureSave class not struct, so python can modify them 2016-09-12 12:51:14 +02:00
baldurk f588a21e05 Handle initial states of views better (don't try and copy data contents) 2016-09-12 11:50:24 +02:00
Baldur Karlsson 00a81cc065 Merge pull request #352 from bioglaze/bugfix
Fix glVertexAttribI3iv serialization
2016-09-11 19:16:09 +02:00
Timo Wiren 15b27c7a67 Fix glVertexAttribI3iv serialization 2016-09-11 19:49:41 +03:00
baldurk d43dbf7ce9 Scissors that cover the viewport should be 16384^2 not 4096^2 2016-09-11 09:30:50 +02:00
Baldur Karlsson 60ae11a6ae Merge pull request #351 from nlguillemot/master
Handle NULL arrays passed to GL_ARB_multi_bind functions
2016-09-11 08:53:42 +02:00
Nicolas Guillemot de4dfd043d coding style fixes 2016-09-10 22:29:36 -07:00
Nicolas Guillemot 105b81c1d8 handle NULL buffers in glBindBuffersBase
based on glBindTextures
2016-09-10 18:35:27 -07:00
Nicolas Guillemot b77a3c3eff handle NULL buffers in glBindVertexBuffers
based on glBindTextures
2016-09-10 18:24:11 -07:00
Nicolas Guillemot d48334049a handle NULL samplers array in glBindSamplers
fix based on glBindTextures
2016-09-10 18:15:47 -07:00
Nicolas Guillemot 1ee1d50b0a handle NULL textures array in glBindImageTextures
ported the fix from glBindTextures
2016-09-10 18:12:14 -07:00
baldurk 3695d7de6d Save EXR images in ABGR channel order, for compatibility with viewers
* It seems many viewers don't look at the order specified, and just
  assume that the channels are in ABGR order. Changing it won't affect
  any loaders that do respect that order.
2016-09-10 16:26:19 +02:00
baldurk ebbef4e1aa Fix a crash if a barrier event happens not within a drawcall 2016-09-10 12:54:43 +02:00
baldurk eb5dc90dac Check UVs separately from derivatives for inf/nan values 2016-09-09 20:53:20 +02:00
baldurk a673ee181d Don't transition from undefined when doing implicit renderpass barriers
* This would discard the resource. Instead transition from whichever
  state it's currently in.
2016-09-09 20:53:20 +02:00
baldurk ea5bcfd1f5 Detect "infinite" ranges (even if the endpoints are finite) in tex range 2016-09-09 20:53:20 +02:00
baldurk 05f058f13e Fix pixel history copy parameters being wrong for mip/slice RTVs 2016-09-09 20:53:20 +02:00
baldurk 6d114ba250 Scroll pane to the bottom when getting new output from python 2016-09-09 20:53:20 +02:00
baldurk 351df759e1 Apply missing implicit renderpass barriers when replaying a subpass 2016-09-09 20:53:20 +02:00
baldurk a7d8c6f6de Handle subpass inputs properly in SPIR-V reflection 2016-09-09 20:53:20 +02:00
baldurk 5d07b0ff14 0 is a valid spec constant ID. 2016-09-09 20:53:20 +02:00
baldurk 289cf61dfb Print using the right subpass variable 2016-09-09 20:53:20 +02:00
baldurk 6921b37d8e Don't display previews for sampler resources 2016-09-09 20:53:20 +02:00
baldurk c6fc2cc315 Reverse CmpExch parameters to the sensible way around 2016-09-09 20:53:20 +02:00
Baldur Karlsson aba0bbc1ea Merge pull request #349 from michaelrgb/master
ConstantBuffers must be <= 65536 on some drivers, and 16-byte aligned.
2016-09-09 17:22:56 +02:00
Michael Rennie 81b75ebb74 ConstantBuffers must be <= 65536 on some drivers, and 16-byte aligned. 2016-09-09 15:43:25 +01:00
baldurk 208338b7b2 Handle initial contents being unprepared without crashing at least
* The contents will still be undefined and garbage though
2016-09-08 20:25:24 +02:00
baldurk 2895ff848c Don't mark resources dirty immediately from deferred context actions
* Instead record the dirtied resources to be applied when executing the
  resulting command list.
2016-09-08 20:22:46 +02:00
baldurk 5cc7519e92 Add compare-exchange function to Atomic 2016-09-08 20:19:56 +02:00
baldurk d461e40711 When an unsupported API version is requested, print supported versions 2016-09-08 15:51:06 +02:00
baldurk e51225d739 Add a link to the documentation at the top of renderdoc_app.h 2016-09-08 15:50:52 +02:00
baldurk 726425ee88 Keep chunk count valid with duplicated chunks 2016-09-08 15:50:36 +02:00
baldurk 668e445778 Allow C# side manual construction of ResourceIds from integers
* This is primarily for ease-of-use from python scripting
2016-09-08 14:53:23 +02:00
baldurk df326cf992 Rename python core object, so renderdoc can be the module/namespace 2016-09-08 14:45:27 +02:00
baldurk b8bd7559d5 Make sure unmap chunks for textures are saved in the base record
* Putting chunks in the subresource chunks is a no-no as these are never
  actually referenced and pulled into the frame capture, they're just
  used for locating the right data pointer. Putting an unmap in here
  could lead to texture data going missing on replay if the texture was
  never actually marked as dirty.
2016-09-08 14:43:51 +02:00
baldurk 0df4a0e2f3 If GetProcAddress for the real function returns NULL, don't hook func 2016-09-08 10:45:27 +02:00
baldurk 386dd58916 Don't try and fill cbuffer values that are invalid types (struct/object) 2016-09-06 18:29:01 +02:00
baldurk b4f30d79cd Don't do shader register renaming on anything but D3D11 2016-09-06 18:29:01 +02:00
baldurk 4e752c4c4e Add a 'TDR' style timeout when debugging shaders
* When debugging hits 100k cycles we consider that we're likely in an
  infinite or very long running loop. This is about the limit for then
  loading the trace in the UI in a semi-reasonable time, so prompt the
  user to just abort and view what we have (up to the 100,000th cycle).
2016-09-06 18:29:01 +02:00
baldurk 3aeefc802f Fixed some missing backwards compatibility code when flattening logs 2016-09-06 18:29:01 +02:00
baldurk 888d82b571 Remove Sleep(500) with global hook - was causing process creation stalls
* This was for no good reason anyway. You absolutely shouldn't be
  creating threads in DllMain... but if you do, don't delay return from
  it to wait on those threads, as they won't even start until you've
  returned. Ooops.
2016-09-06 18:29:01 +02:00
baldurk 6c1b60ef56 Don't count empty markers when thinking about faking profile markers 2016-09-06 18:29:01 +02:00
baldurk 446874e70a Check for NULL textures array in glBindTextures (acts like array of 0s) 2016-09-06 18:29:01 +02:00
baldurk 06831aeaea Re-add accidentally removed drawcall for ExecuteCommandList 2016-09-06 18:29:01 +02:00