Commit Graph
3367 Commits
Author SHA1 Message Date
baldurk ada40e303c Serialise glActiveTexture during frame captures 2014-05-31 00:04:20 +01:00
baldurk c7b0ae41ef Remove texture alignment tracking and save texture units in initial state
* Tracking the alignment was pointless and it isn't implemented yet anyway.
* Relevant state should be saved at the start of each captured frame, so
  include the active texture bindings in this
2014-05-31 00:04:19 +01:00
baldurk f15fffa115 Use vsnprintf_s over vsprintf_s, make char buffer big enough. Closes #64 2014-05-27 19:18:12 +01:00
baldurk 07d16672a4 Fix backbuffer RTV not recreating properly if Desc->Format is UNKNOWN
* Judging by the error reports that pointed to this crash, this happens
  with the Dolphin emulator.
2014-05-26 13:50:09 +01:00
baldurk 827fae3a67 Fix shader debugging always reading from pixel resources. Closes #59
Instead of assuming that we can sample straight from the bound resource,
we save what's bound on PS slot 0, always sample from that slot, and
bind whatever resource & sampler onto PS slot 0 for the sampling draw.
2014-05-13 22:40:59 +01:00
baldurk 1f43b0e64e In release advance precisely opcode length. Fixes #54.
In non-release, still warn + log for unexpected tokens, and
error for over-reading, but since there's no good documentation
we have to just assume the opcode length is accurate and try not
to worry about mysterious inaccuracies.
2014-05-10 23:46:53 +01:00
baldurk b30fe86658 check for vshost exe as well as other exes to detect replay app 2014-05-08 22:20:48 +01:00
baldurk 3b4c2a909e Merge pull request #52 from zerhacken/vs2013-compiler-warnings
vs2013 compiler warnings
2014-05-08 20:16:36 +01:00
Rasmus Christian Pedersen 7c1260fdc0 core: fix VC++ warning C4703
This commit fixes VC++ warning C4703 in core/remote_access.cpp
"potentially uninitialized local pointer variable".
2014-05-08 21:14:06 +02:00
Rasmus Christian Pedersen 15aa210468 jpeg compressor: fix VC++ warning C4703
This commit fixes VC++ warning C4703 in jpeg-compressor/jpgd.cpp
"potentially uninitialized local pointer variable".
2014-05-08 21:13:15 +02:00
Rasmus Christian Pedersen 77ffde4beb core: const correctness
This commit chanages several functions in renderdoc/core to const functions.
2014-05-08 11:20:20 +02:00
Rasmus Christian Pedersen 01da98996b wrapped pool: IsAlloc constness
This commit changes WrappingPool::IsAlloc to take a const pointer as argument
as pointer isnt modified. ItemPool::IsAlloc is changed to a const function
taking a const poiner as argument.
2014-05-07 20:34:27 +02:00
Rasmus Christian Pedersen 37a5f1c8e1 threading: HasLock const function 2014-05-07 20:34:27 +02:00
baldurk abbe8efc26 Only read from input data from debug message when WRITING.
Fixes submitted auto-crash-dump "report_2014.05.07_16.39.37_408"
2014-05-07 18:39:50 +01:00
Rasmus Christian Pedersen e783ae4473 timing: constness fix 2014-05-07 15:18:44 +02:00
Rasmus Christian Pedersen cf27eb36d5 camera: minor constness
This commit fixes constness of camera getters, and changes a few
arguments into const references.
2014-05-07 13:13:45 +02:00
baldurk c38affcded Initial commit of existing code.
* All renderdoc code up to this point was written by me, history is available by request
2014-05-02 08:33:01 +01:00