baldurk
38dfd05387
Wrap user-created debug report objs to suppress output. Refs #313 , #323
2016-08-15 19:56:01 +02:00
baldurk
ddeadb2d96
Handle SRGB and UNORM variants of RGBA/BGRA swapchain formats
...
* Avoids some picky (but technically correct - the best kind of correct)
validation warnings about mismatching renderpasses.
2016-08-15 19:56:01 +02:00
Baldur Karlsson
fdce6ced34
Merge pull request #327 from michaelrgb/master
...
Fix Android replay check so we can record from APKs.
2016-08-15 18:25:38 +02:00
Michael Rennie
7d3e5f7348
Fix replay check to record from APKs, and write to app's temp directory.
...
/sdcard is not always available as it requires manifest write permissions.
Recordings still need to be copied somewhere readable by RenderDocCmd.apk,
as APKs can only read from their own temp directory.
2016-08-15 16:51:22 +01:00
baldurk
d531ffdad4
Print error codes if IsWow64Process fails
2016-08-12 15:57:00 +02:00
baldurk
c4310373fd
clamp when assigning prevHighestMip, just in case
2016-08-12 15:57:00 +02:00
Baldur Karlsson
2ab9690695
Merge pull request #322 from michaelrgb/forpull
...
Get the real dimensions of the ANativeWindow.
2016-08-10 17:44:02 +02:00
Michael Rennie
d57a853a86
Get the real dimensions of the ANativeWindow.
2016-08-10 15:29:10 +01:00
baldurk
c674c27057
Make update dialog non-resizeable. Refs #321
2016-08-10 16:07:16 +02:00
Baldur Karlsson
6a9f392b31
Merge pull request #320 from Marqin/calc
...
add CMake function for determining current git rev
2016-08-10 15:31:47 +02:00
Hubert Jarosz
05bc395fd6
move get_git_hash definition to main CMakeLists.txt
2016-08-10 13:00:59 +02:00
baldurk
362d33813c
Add code to run hhc.exe to make.bat and Makefile
...
* Thanks to @mivance for the make.bat code!
2016-08-10 12:56:36 +02:00
Michael Rennie
396b83699b
Fixed vulkan library used for Android replay, plus cmdline args.
2016-08-10 12:21:40 +02:00
Hubert Jarosz
cf4ee8e861
fix failing CMake build when "git" is not installed
2016-08-09 23:57:46 +02:00
Hubert Jarosz
6b01ab8136
add CMake funcion for determining current git rev
...
/GetGitHash.cmake has function get_git_hash that gives current
git rev hash or "NO_GIT_COMMIT_HASH_DEFINED" if we are
building out of git repo.
It's used in /renderdoc/CMakeLists.txt
2016-08-09 23:04:19 +02:00
baldurk
b1aa004216
Continue to advance line number if encountering blank lines. Refs #319
...
* Also advance for any invalid/unparseable #line statements
2016-08-09 21:50:44 +02:00
baldurk
9d24013f3b
Clamp the view-size specified number of rows to the max num rows.
2016-08-09 00:41:10 +02:00
baldurk
b7431aec46
32-bit compile fix (downcast from UINT64 to size_t)
2016-08-06 23:21:02 +02:00
baldurk
5d25018874
Fix some appveyor variable shadowing warnings
2016-08-06 19:38:50 +02:00
baldurk
3dbd750846
Put more updater code inside the try { } catch(Exception)
...
* A crash was uploaded where File.Copy() failed due to permissions.
2016-08-06 19:23:30 +02:00
baldurk
989482923a
Implement texture initial states
2016-08-06 18:31:54 +02:00
baldurk
1dad17ec7b
Use the resource format from the texture, with type hint, creating SRV
2016-08-06 18:31:53 +02:00
baldurk
399fb28a80
Mark resource mapping functions as unimplemented so I don't forget
2016-08-06 18:31:52 +02:00
baldurk
ee553addf9
Convert some TODOs into D3D12NOTIMPs
2016-08-06 18:31:51 +02:00
baldurk
77e9030e55
Support resource naming
2016-08-06 18:31:50 +02:00
baldurk
cdde7606a8
Don't list replay-created textures in texture list
2016-08-06 18:31:50 +02:00
baldurk
a94b6dafb9
Track bound descriptors and mark their contents are frame referenced
2016-08-06 18:31:49 +02:00
baldurk
992c2b56fb
Don't do no-op barriers, it invalidates the command list
2016-08-06 18:31:48 +02:00
baldurk
910940bbae
Add convenience overload of GetResIDFromAddr just returning the id
2016-08-06 18:31:45 +02:00
baldurk
7095c663a2
Track root signature and its contents for matching against root sets
2016-08-06 18:31:44 +02:00
baldurk
699dde6563
Serialise SetDescriptorHeaps and SetGraphicsRootDescriptorTable
2016-08-06 18:31:43 +02:00
baldurk
d026705c50
Make sure struct is properly initialised
2016-08-06 18:31:41 +02:00
baldurk
09a73a1ac7
Parameters to macro were the wrong way around
2016-08-06 18:31:40 +02:00
baldurk
00cea7bbd5
Implement drawcall callbacks on D3D12 (untested - nothing uses them)
2016-08-06 18:31:39 +02:00
baldurk
6ca41cc681
Implement complex version of CopyDescriptors
2016-08-06 18:31:38 +02:00
baldurk
041018db69
Flush command lists so we don't leak one each present
2016-08-06 18:31:37 +02:00
baldurk
ceeb1ece04
Align buffer offsets to 256 bytes
2016-08-06 18:31:36 +02:00
baldurk
42054c7814
Only create debug manager after internal allocator/lists are available
2016-08-06 18:31:35 +02:00
baldurk
9755ae2880
Don't crash but return NULL if GetNewList() can't allocate
2016-08-06 18:31:34 +02:00
baldurk
9f9610ce6d
Recreate output windows after use, since D3D12 breaks them
2016-08-06 18:31:33 +02:00
baldurk
842d75a27c
Implement font rendering on D3D12 with simple ring buffer (needs tidied)
2016-08-06 18:31:32 +02:00
baldurk
b2c9ed0b4b
Make sure not to reset newly created command lists - it's invalid
2016-08-06 18:31:31 +02:00
baldurk
46464dc403
Switch D3D11 font rendering to generate tri strip data in shader
2016-08-06 18:31:30 +02:00
baldurk
3a384e1113
Make sure to transition resources into PS read before texture display
2016-08-06 18:31:29 +02:00
baldurk
dfc432d740
Clear up queue record after capture so we don't accumulate old chunks
2016-08-06 18:31:28 +02:00
baldurk
0b51f23441
Fix some missing refcount releases
2016-08-06 18:31:28 +02:00
baldurk
94e09f3905
Don't register initial contents as live resources, just wrap them
2016-08-06 18:31:27 +02:00
baldurk
e29e3d2357
Add toggle (default on for now) to get debug layer in replay
2016-08-06 18:31:26 +02:00
baldurk
d121567ddd
Print debug messages while writing as well as while reading
2016-08-06 18:31:25 +02:00
baldurk
1a33324767
Protect some more debug prints with VERBOSE_PARTIAL_REPLAY define
2016-08-06 18:31:24 +02:00