baldurk
f00914bbfd
Always point sample depth textures on display
2014-11-02 20:09:35 +00:00
baldurk
bb87949c89
Implement glMemoryBarrier
2014-11-02 19:52:58 +00:00
baldurk
dcc9937bed
Fix linestrip usage for highlight box
2014-11-02 19:34:22 +00:00
baldurk
8ca8ac4ab3
Fix range becoming 0 if both min and max were negative
2014-11-02 19:05:42 +00:00
baldurk
3c4f9313e2
Fix the wrong define being used meaning histogram/minmax were wrong
...
* Several places were using HGRAM_PIXELS_PER_TILE*HGRAM_PIXELS_PER_TILE
instead of HGRAM_PIXELS_PER_TILE*HGRAM_TILES_PER_BLOCK and calculating
blocks as too large. This meant histogram/minmax would miscalculate the
number of blocks needed and fail to read properly from > 2048 textures
2014-11-02 19:04:14 +00:00
baldurk
05c5870326
Remove assert that's pointless and has false positives.
...
* Technically CopySubresourceRegion should only be called for matching
types, but the handling won't change (we'll just mark dest resource as
dirty), so this fires when programs are being a bit naughty for no use.
2014-11-02 19:02:35 +00:00
baldurk
3fa5852c93
Remove D3D11_MAP_FLAG_DO_NOT_WAIT Map() flag on replay
...
* If we serialised out the Map, then it succeeded during capture, so need
to make sure we wait and do it on replay regardless.
2014-11-02 18:41:50 +00:00
baldurk
e549c58413
Implement glBindImageTexture and glDispatchCompute
2014-11-02 13:43:55 +00:00
baldurk
6308d78cd4
Implement debug device/debug api message tracking for GL
2014-11-02 10:52:24 +00:00
baldurk
a4fe8e3261
Add missing serialise call for PROGRAMUNIFORM_MATRIX
2014-11-02 10:52:23 +00:00
baldurk
d63352a1b0
bail out of glBindTexture() if texture name is invalid
2014-11-02 10:52:23 +00:00
baldurk
61df69d80f
remove debug print that got left in
2014-11-02 10:52:22 +00:00
Baldur Karlsson
537a18ceb6
Clarify that only GL 3.2+ Core is supported
2014-11-01 19:03:55 +00:00
baldurk
d4f31f9f42
fixes for linux building
2014-11-01 17:26:07 +00:00
baldurk
9e817e7e19
Fixes for in-program font rendering on linux
2014-11-01 17:15:45 +00:00
baldurk
df813b6659
Add flipY handling for SInt/UInt tex sampling in texdisplay.frag
2014-11-01 17:14:53 +00:00
baldurk
a429bf3ab9
OpenGL in-app text overlay
2014-11-01 17:14:23 +00:00
baldurk
bf46a3fd54
linux compile fixes
2014-11-01 17:04:53 +00:00
baldurk
53a4964cb3
Don't write log for spammy unimportant debug messages
2014-11-01 17:04:52 +00:00
baldurk
360199b2ce
Only account for faked backbuffer in renderstate when replaying
2014-11-01 17:04:52 +00:00
baldurk
8d8c8a7c47
Hook into platform delete context function
2014-11-01 17:04:51 +00:00
Baldur Karlsson
54c84c05c4
Merge pull request #103 from valeriog-crytek/master
...
Some missing GL replay features
2014-11-01 17:04:37 +00:00
valeriog
baa530eb5f
Add visualization of most missing OpenGL texture types (cube maps, texture arrays, stencil, 1D/3D textures, integer textures), take selected mip level into account and point sampling when required.
2014-10-31 19:47:42 +01:00
baldurk
8193c80697
Ditch position buffer for all but fonts. Closes #102
2014-10-31 18:41:10 +00:00
valeriog
d18557239f
Added visualization of rasterizer state for OpenGL.
2014-10-31 19:40:16 +01:00
baldurk
63d1f868ac
Have captures listed on overlay decay after 20 seconds
2014-10-31 00:35:54 +00:00
baldurk
2121fcebd5
add source code pro to license & credits files
2014-10-30 23:27:28 +00:00
Baldur Karlsson
2febc49374
Update README.md clarifying current API support
2014-10-30 23:18:56 +00:00
baldurk
09f8dc93dc
Better handling of NaN/inf in range histogram
...
* This is the proper fix for 87bcde1c which is also more explicit about
what is going wrong. Thanks to the anonymous user who mentioned that they
clicked auto-fit before hitting the range histogram crash, which got me
on the right path to track down the exception!
2014-10-30 22:55:42 +00:00
baldurk
1ac13f418c
Handle mismatched swapchain & window sizes
...
* The debug text used to render at swapchain dimensions, but that could
make it unreadable if the window was significantly different, so apply a
scaling factor to account for it.
2014-10-30 22:48:12 +00:00
baldurk
e8508be085
Re-do text rendering to use stb_truetype so it's portable to linux
2014-10-30 22:47:21 +00:00
Baldur Karlsson
5fa1c8f360
Merge pull request #101 from valeriog-crytek/master
...
GL fixes and Python improvements
2014-10-28 20:04:04 +00:00
valeriog
91871a7a18
Fixes for pull request #101
2014-10-28 20:27:33 +01:00
valeriog
71b10310cd
Reduce thread spawning in python script trace callback and highlight the line where an exception happens.
2014-10-28 18:08:55 +01:00
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