Commit Graph

524 Commits

Author SHA1 Message Date
valeriog f9c0436360 Serialize glUniform* to the current program resource record as glProgramUniform* while in idle state. 2014-10-28 17:31:32 +01:00
Baldur Karlsson 71ac6e05d7 Merge pull request #100 from valeriog-crytek/master
Some GL bug fixes
2014-10-27 20:17:48 +00:00
valeriog d1c341da22 Handle GL shader arrays of one element during reflection and constant buffer read. 2014-10-27 19:24:29 +01:00
valeriog 48be83376d Wrong GL function being called and serialized for glGenQueries. 2014-10-27 19:20:20 +01:00
valeriog 3ff998024e Texture data type GL_UNSIGNED_INT_5_9_9_9_REV was missing from GetByteSize. 2014-10-27 19:18:27 +01:00
baldurk 7aee40f7a4 Handle live resource not being there even if it shouldn't be missing
* I was a little conflicted about this, as the resources present in logs
  should be determinable - if a function marks it as referenced then the
  serialised version of that function should expect the resource to be
  present, and if it's not then there's a bug and we can't properly replay.
* However I am tempted to say that instead of likely crashing due to an
  invalid NULL pointer suddenly appearing somewhere, we should instead try
  to continue even if a resource isn't available.
2014-10-23 00:06:21 +01:00
baldurk f45b2870d1 Prevent crash when custom cbuffer format is larger than buffer 2014-10-22 23:09:44 +01:00
baldurk 61cc49163b Add API function to unload breakpad crash handler 2014-10-22 18:44:27 +01:00
baldurk 1a6f6b7084 Disable RENDERDOC_OFFICIAL_BUILD that was accidentally turned on 2014-10-22 18:34:11 +01:00
baldurk fcbc666135 Calc num data components from stride for struct load/stores. Refs #99 2014-10-19 09:57:33 +01:00
baldurk 16a489c7a5 Handle case where input signature has been stripped from bytecode
* This was found on a flash stage3d sample, where if the input signature
  is stripped, some signature elements can be completely missing, causing
  a mismatch when trying to obtain the inputs for pixel debugging.
* In this case, we try to fill in from the previous shader, and if that
  fails just inserting a dummy element and hoping for the best.
2014-10-15 19:51:32 +01:00
baldurk 32eadbcade Remember last filename as well as last directory for capturing 2014-10-15 18:45:31 +01:00
Baldur Karlsson fda705af9a Merge pull request #98 from valeriog-crytek/master
Fixed some GL issues
2014-10-15 14:55:43 +01:00
valeriog e0450d7940 Fix for typo found in pull request conversation. 2014-10-15 11:50:26 +02:00
valeriog fc4ba7ae81 Avoid applying hooks to powrprof.dll as it causes a crash. 2014-10-14 17:46:59 +02:00
valeriog 86a87f091c Differentiate between glDepthRangef and glDepthRange when capturing.
This prevents a crash when the captured application doesn't retrieve the glDepthRange pointer, and uses glDepthRangef instead.
2014-10-14 17:45:53 +02:00
valeriog 1a71922910 Pass the base format and data type to GetByteSize instead of the internal format in GLReplay::GetTexture. 2014-10-14 17:44:12 +02:00
valeriog 6241559c59 Don't set the GLResourceManager pointer to the serializer to NULL. 2014-10-14 17:40:46 +02:00
valeriog 8fda0a817b Don't throw an error when serializing GL buffer initial state. 2014-10-14 17:38:31 +02:00
valeriog b09454a67d Correctly set and restore pixel pack state when capturing thumbnail; don't set GL_PIXEL_UNPACK_BUFFER to zero in the process. 2014-10-14 17:29:16 +02:00
baldurk 87bcde1c4c Speculative fix for System.OverflowException
* Crash report came in with System.OverflowException inside FillPolygon,
  but I don't see a way for these values to get too large (or invalid
  some other way).
2014-10-13 20:07:09 +01:00
baldurk 2ffb2c6a05 Fix cp typo in distribution script 2014-10-12 22:15:42 +01:00
baldurk 29894e4db3 Add Interactive/script running python shell window 2014-10-10 21:30:40 +01:00
baldurk 1c306fb155 Make sure public function is properly invoked :) 2014-10-10 21:23:38 +01:00
baldurk 9907abcc9b Add IronPython 2.7.4 to project 2014-10-09 18:25:47 +01:00
baldurk 3bd5f028dc Take UAV type from resource not shader type, for correct size 2014-10-09 08:17:38 +01:00
baldurk ed1b03fe68 Hide highlight verts button when not in mesh view 2014-10-08 22:08:55 +01:00
baldurk 333ade7201 Handle drawcalls of 0 indices/vertices without crashing. 2014-10-08 22:07:59 +01:00
baldurk 96dc252d4b Add HTML export for D3D11 pipeline state viewer. Closes #92 2014-10-07 23:20:43 +01:00
baldurk deffa8c68e Add displayable string representation for primitive topology 2014-10-07 23:20:19 +01:00
baldurk 37e4209cc9 Remove MipSlice parameter to make things a little simpler 2014-10-07 23:19:57 +01:00
baldurk 9793ac6312 Add a default copy paste handler for tables in pipeline state. Refs #92 2014-10-07 00:27:06 +01:00
baldurk 50626337da Copy handler for texture viewer that copies status text. Refs #92 2014-10-07 00:11:28 +01:00
baldurk cfbdc98212 Re-hook up KeyDown handler that mysteriously went missing. Refs #92 2014-10-07 00:11:23 +01:00
baldurk e8f25d4067 Make sure menu-strip export comes from selected buffer view. Refs #92 2014-10-07 00:11:10 +01:00
baldurk f3f3e7629f Disable verify map writes by default 2014-10-06 17:41:10 +01:00
baldurk 2cebc9866f Fix WindowFromPoint P/Invoke 2014-10-06 17:40:30 +01:00
baldurk 56e7f0c754 Add an option to verify Map() writes don't overrun. Closes #42
* Has a couple of limitations - won't check deferred context or
  NO_OVERWRITE Map()s except in a captured frame. This could in theory be
  implemented but it'd be complex and I don't want to complicate/break
  the normal path.
* When an overrun is detected, a messagebox pops up to block the thread,
  and if you hit yes, it will debugbreak.
2014-10-05 23:42:25 +01:00
baldurk a23f597c99 Fix some stupid typos/errors with commit e749f4287 2014-10-05 22:25:01 +01:00
baldurk 4c934b5049 pdblocate rebase 2014-10-05 19:06:25 +01:00
baldurk 3b8e4a3323 [Refs #87: Static Analysis] Fix incorrectly unused variables/returns 2014-10-05 19:01:28 +01:00
baldurk 09863d920b [Refs #87: Static Analysis] Fix P/Invoke - C# point varies on x86/x64 2014-10-05 19:01:28 +01:00
baldurk f198e71806 [Refs #87: Static Analysis] Remove unused variables 2014-10-05 19:01:27 +01:00
baldurk a470213b4b [Refs #87: Static Analysis] Add neutral resources language 2014-10-05 19:01:26 +01:00
baldurk 8b0f05ca5e [Refs #87: Static Analysis] Clarify timer member by explicit use 2014-10-05 19:01:26 +01:00
baldurk e749f42876 [Refs #87: Static Analysis] string compare as uppercase or by length 2014-10-05 19:01:25 +01:00
baldurk d29024dd8b [Refs #87: Static Analysis] Handle paranoid case of NULL parameters 2014-10-05 19:01:24 +01:00
baldurk 47edff3d5b [Refs #87: Static Analysis] Ensure indices are initialised 2014-10-05 19:01:23 +01:00
baldurk 3c0e4357c4 [Refs #87: Static Analysis] Only verify Format/Offset if it was fetched 2014-10-05 19:01:23 +01:00
baldurk 5954f1a406 [Refs #87: Static Analysis] Handle paranoid case of dll not existing 2014-10-05 19:01:22 +01:00