Commit Graph

1487 Commits

Author SHA1 Message Date
baldurk 3b7a6c4dcf Fix global hook options string being total garbage 2015-07-18 13:19:37 +02:00
baldurk cf22d3e2ce Be careful in case shader has been deleted and has no record 2015-07-18 00:28:56 +02:00
baldurk 49e529d990 Fix removing empty drawcall markers even if the option is off 2015-07-16 23:43:35 +02:00
baldurk f05015ba15 Make texture viewer less twitchy by keeping status label length similar 2015-07-16 23:16:39 +02:00
baldurk 5678ea7b29 Fix pixel history getting confused if some (not all) fragments discard 2015-07-16 22:17:06 +02:00
baldurk 8a402f1a28 Fix textboxes that accidentally got made too wide 2015-07-15 22:20:17 +02:00
baldurk 0933d96fc9 Add FileChanged notification, use to reload data in image viewer
* Things will get weird if the image changes drastically like in format
  or dimension.
2015-07-15 22:06:33 +02:00
baldurk 2d8132943c Add a right click context menu to pixel history, to launch debug/history 2015-07-15 21:37:59 +02:00
baldurk 43bc6f836f Tidy up which controls can be used at which stage (tess on or off) 2015-07-15 21:37:59 +02:00
baldurk cd2db46628 Try to anchor top-left pixel on texture viewer when switching 2015-07-15 21:37:58 +02:00
baldurk d602ea090a Change 'unbound' thumbnails to show checkerboard, not dark red 2015-07-15 21:37:57 +02:00
baldurk e0be3e66ec Fix buffer bound inputs showing up as "Unbound"/not rendering thumbnail 2015-07-15 21:37:56 +02:00
baldurk 26cf1f8541 Make Ctrl-# shortcuts for EventBrowser bookmarks work anywhere 2015-07-15 21:37:56 +02:00
baldurk 7539f67d57 Add missing linux_libentry object file to makefile 2015-07-15 21:37:55 +02:00
baldurk 4a3894a187 Add escape to cancel range min/max change, commit change on focus loss 2015-07-15 21:37:54 +02:00
baldurk d6abdb2d2e Make sure NaNs in non-displayed channels don't make preview blow up 2015-07-15 18:53:19 +02:00
baldurk b8c340b1fa Allow arrow-key nudging when the pixel context panel is focussed 2015-07-14 22:09:27 +02:00
baldurk e40ab9261a Handle edge-case where input layout bytecode doesn't use every element 2015-07-14 21:53:36 +02:00
baldurk 8552c18efc Change how pixel debug quad is generated from derivatives
* Should be a bit more accurate, making some assumptions about coarse
  and fine derivatives, but hopefully means shader debugging is less
  divergent from the actual output.
2015-07-14 21:09:25 +02:00
baldurk 441e30187d Handle crazy weirdness with register packing of interpolator arrays 2015-07-13 22:45:03 +02:00
baldurk e965b5118a Remove unnecessary build files from distribution 2015-07-13 08:23:36 +02:00
baldurk 4a401460d3 Fetch layer and mip level for FBO attachments 2015-07-13 00:05:42 +02:00
baldurk 3304830086 Fix pixel history shader output values when looking at a mip 2015-07-13 00:02:54 +02:00
baldurk 97e0697cc2 Remove -Wno-error from glslang files 2015-07-12 12:09:32 +02:00
baldurk 0f54cc550c Update glslang to latest code.
* From renderdoc branch on https://github.com/baldurk/glslang
2015-07-12 12:08:00 +02:00
baldurk 5f08324d71 Remove some debug code that snuck in somewhere (!) 2015-07-12 01:04:43 +02:00
baldurk f513195ae9 Make sure to handle chunks referencing otherwise unused buffers 2015-07-12 00:43:39 +02:00
baldurk 5a79ecb0c6 Don't track AddParent() for VAOs
* It's useless since we stop listening to VAO updates after a short
  while so it gets out of date - and we work around that elsewhere.
* Also the existing code that this change removes was buggy and was
  adding parents to the context record.
2015-07-12 00:15:56 +02:00
baldurk dd70744117 Drop assert about event stack underflowing 2015-07-11 23:54:25 +02:00
baldurk 943ed67149 Fix memory leak when buffer orphaning with glBufferData 2015-07-11 23:44:22 +02:00
baldurk 233c8d07d6 Disable glslang use for SPIR-V compilation until it's proven more stable 2015-07-11 22:37:47 +02:00
baldurk 560c95cdc6 Updates from renderdoc branch on https://github.com/baldurk/glslang 2015-07-11 22:35:54 +02:00
baldurk ccb863b9c2 Check that we have a live texture before trying to fetch it 2015-07-11 22:35:11 +02:00
baldurk 49836d5fcc Make sure to mark programs bound to pipelines as frame referenced 2015-07-11 18:57:22 +02:00
baldurk a0d0a637b5 Be a little less aggressive marking framebuffers ReadBeforeWrite 2015-07-11 18:41:34 +02:00
baldurk e818c4e517 Don't bother with initial states for render buffers 2015-07-11 18:41:34 +02:00
baldurk 8bd6bcde8f Implement dirtying or referencing the whole state object at a time 2015-07-11 18:41:33 +02:00
baldurk c57334dad5 Disable the debug text file writing on capture 2015-07-11 17:58:22 +02:00
baldurk e6dfc4b721 Add calls to MarkResourceFrameReferenced in individual functions
* This might need future handling to catch the edge case where some
  parameters aren't marked referenced (e.g. textures when binding to
  FBO), and if those parameters aren't bound by the time of a draw, or
  used anywhere else, they'll be eliminated (as the call itself is
  redundant).
2015-07-11 17:19:08 +02:00
baldurk b192cc8666 Remove single frame capture limitation 2015-07-11 15:01:36 +02:00
baldurk 1c45b2b24e Handle failed captures and perform post-capture frame cleanup 2015-07-11 14:56:39 +02:00
baldurk 5d7a78a745 Add resources to list while capframing, that would be dirtied when idle 2015-07-11 14:47:54 +02:00
baldurk df931a7e20 Add functions (no impl yet) to mark bound state objects ref'd or dirty 2015-07-11 14:05:12 +02:00
baldurk 19490540d4 Remove RefAllResources enabling, as we'll fix things to work properly 2015-07-11 14:04:31 +02:00
baldurk 961820c155 Bump GL serialise version for these changes 2015-07-11 14:04:01 +02:00
baldurk 66b73c1784 Even if a framebuffer is high traffic, we need to mark bound tex dirty 2015-07-11 14:03:45 +02:00
baldurk a78800c88c Make sure copies propogate dirty state from source
* Also check high traffic resources
2015-07-11 14:02:54 +02:00
baldurk 5b9a8825d2 Add note about what to apt-get on Ubuntu 2015-07-11 11:45:42 +02:00
baldurk 573bfb6b86 Add qrenderdoc folder to folder structure listing 2015-07-11 01:49:04 +02:00
baldurk 87d748f4fb If we fail to debug a pixel, open the pixel history instead 2015-07-11 00:43:16 +02:00