baldurk
bd81b5bf73
Fix typo/copy-paste error in GetByteSize
2016-04-21 12:45:48 +02:00
baldurk
10e11bd83d
Don't allow Apply_InitialState to clear a compressed image
2016-04-20 18:56:41 +02:00
baldurk
c5440c6a22
Handle buffers having stricter memory size requirements. Closes #213
2016-04-20 18:56:39 +02:00
baldurk
1948bd5041
Don't apply barrier to dummy images until memory is bound
2016-04-20 18:56:38 +02:00
baldurk
9f91f16f8a
Add COLOR_ATTACHMENT usage for dummy images - works better for MSAA ones
2016-04-20 18:56:36 +02:00
baldurk
8ef297338b
Use 4x MSAA for dummy images, more widely supported
2016-04-20 18:56:34 +02:00
baldurk
4ad588d764
VirtualAllocEx expects 0 for size if passing MEM_RELEASE.
...
* Thanks RangerWu (in #171 ) for pointing this out!
2016-04-19 08:34:55 +02:00
baldurk
6aae7b31cc
Make sure to resize offsets and descSets at the same time
...
* Fixes a crash when selecting an object with no descriptor sets bound
(as the fetching of post-VS output added a descriptor set, but not
an offset array).
2016-04-18 20:45:55 +02:00
baldurk
c43f40a063
Fix VS2015 compiler warning. Closes #252
2016-04-18 16:12:44 +02:00
baldurk
bbc75cc59d
Follow-up fix for 840338140d, the same thing could happen on replay
...
* This is fixed upstream in the loader, but only on master and people
could be running 1.0.5 or 1.0.8 for a long time, so we can't afford
to just leave it to the loader to fix
2016-04-18 12:18:26 +02:00
baldurk
2e439c0515
Don't submit, signal, reset or wait on fences at all.
...
* There's no point passing a fence to vkQueueSubmit to be signalled as
it might not be in the right state, and we don't have anything going
to wait for it.
2016-04-18 12:22:30 +02:00
baldurk
91b454241e
Add extra parameters to assert on D3D11 chunk context
2016-04-17 19:10:53 +02:00
baldurk
88c9c52318
Fixes for crashes and output bugs saving two-component textures
2016-04-17 18:51:38 +02:00
baldurk
dc6962adee
Fix a crash if no texture is current when clicking view as buffer
2016-04-17 18:50:14 +02:00
baldurk
9a17b30a0e
Fix jpg saving for very small image dimensions
2016-04-17 18:49:40 +02:00
baldurk
0ed364bf77
Protect against crash if copy-pasting with no tree nodes selected
2016-04-17 18:00:21 +02:00
baldurk
14781e4287
Handle invalid vulkan vertex input setup, and display better in pipeview
2016-04-17 17:50:45 +02:00
baldurk
328412aa23
Crash fix - protect against reflection being NULL
...
* This lets renderdoc limp along if the reflection failed to be created
(usually because the shader failed to compile as a separable program)
2016-04-17 17:10:42 +02:00
baldurk
a969f3f5af
Crash fix - handle IOException creating NamedPipe for global hooking
2016-04-17 17:10:08 +02:00
baldurk
6b0c818bc0
Add protection against calling texture functions with nothing bound
...
* This is a speculative fix for a reported crash where the active
texture appeared to be unbound.
2016-04-17 16:58:50 +02:00
baldurk
c24030ea6a
Fix reported crash - use DSA interface during replay
2016-04-17 16:23:02 +02:00
baldurk
1047b5c750
Minor typo fix
2016-04-17 13:58:56 +02:00
baldurk
f1a7a05b64
Merge branch 'cgmb-add-about-dialog'
2016-04-17 13:58:11 +02:00
Cory Bloor
0b81ae2618
Update renderdocui about dialog copyright year
2016-04-17 04:48:15 -06:00
Cory Bloor
45a0f62139
Add about dialog to qrenderdoc
2016-04-17 04:48:15 -06:00
Cory Bloor
0093fdb31d
Add GetVersionString to RenderDoc API
2016-04-17 04:48:15 -06:00
Cory Bloor
068e38f8f3
Fix memory leak in thumbnail size check
2016-04-17 04:43:54 -06:00
Cory Bloor
f9763992ee
Relax size constraints on mul entry box
...
The given fixed size is far too small. Removing the maximum size and
allowing it adjust to its preferred size should fix this problem.
2016-04-17 03:31:43 -06:00
Cory Bloor
929433cb4d
Fix platform defines for qrenderdoc
2016-04-17 08:54:15 +02:00
baldurk
8d1d87005f
Add new glslang files to CMakeLists.txt
2016-04-16 19:33:01 +02:00
baldurk
6ed9a2d4a3
Fix for unsigned/signed warnings
2016-04-16 19:24:59 +02:00
baldurk
40eddfcebf
Fix types for warnings
2016-04-16 19:17:14 +02:00
baldurk
d3eee53c57
Temporary glslang warning fix
2016-04-16 19:16:14 +02:00
baldurk
5989f3c2ce
Update glslang build to master revision e1cd410d9c03
2016-04-16 19:08:22 +02:00
baldurk
017136882a
Skip any barriers that we can't get an ID for (likely image is NULL)
2016-04-16 18:06:19 +02:00
baldurk
f4681f39f7
Ensure newly inserted states use normalised mip/layer count. Refs #242
2016-04-16 18:06:05 +02:00
baldurk
7263f97e82
When first rendering to output window backbuffer, clear it.
...
* This fixes a validation error which complains (rightly) that our
renderpass writing to the backbuffer is LOAD_OP_LOAD but we haven't
initialised the memory. So just clear to black - the contents don't
matter as we'll just be overwriting it entirely.
2016-04-16 17:30:40 +02:00
baldurk
01a17281a9
Create some dummy images to fill texdisplay descriptors. Refs #247
...
* This is unfortunate, but necessary to be spec valid - the other types
of images for the texdisplay shader are only skipped due to dynamic
branching so they must have valid descriptors. That means valid image
views, which means matching type images. We create a 1x1 image of each
type (RGBA8 UNORM/UINT/SINT and 2x MSAA) to fill out the unused
descriptors.
2016-04-16 17:30:40 +02:00
baldurk
d669d0cc79
Give textures and buffers a name indicating they are in invalid state
2016-04-16 17:30:40 +02:00
baldurk
480b37da40
Rename file in CMakeLists.txt
2016-04-16 17:30:39 +02:00
baldurk
566d73b48d
Take viewport count from pipeline info, null any unset views/scissors
2016-04-16 11:24:59 +02:00
baldurk
1be06c3b07
Update vcxproj to point to platform_specific.h
2016-04-15 23:47:41 +02:00
Baldur Karlsson
1796367dfc
Merge pull request #249 from michaelkvance/sn-dbs-fix-pull
...
Switch RENDERDOC_PLATFORM to RENDERDOC_PLATFORM_<PLAT>.
2016-04-15 20:03:11 +02:00
Michael Vance
8b1794456d
Switch RENDERDOC_PLATFORM to RENDERDOC_PLATFORM_<PLAT>.
...
Notes
======
- With no clean way to do string comparisons in the C preprocessor, have a define per-platform. This avoids the clever string concatenation for determining the OS-specic bits, and allows SN-DBS to distribute builds without custom rewrite rules.
- Fix up instances of WIN32, etc., in non-3rdparty sources to refer to this.
- Move the per-platform specific bits into their own subdirs.
2016-04-15 13:59:59 -04:00
baldurk
f30a1a6dc3
Change vector to rdctype::array so size is consistent across compilers
2016-04-15 18:32:49 +02:00
baldurk
f6ef1481b7
Change replay proxy size-checks to run on x64 builds
2016-04-15 18:06:48 +02:00
baldurk
d4931fce49
Add missing serialisation for newly added elements
2016-04-15 18:06:36 +02:00
baldurk
0ae8d7500b
Print details of physical device to log for vulkan
2016-04-14 21:22:48 +02:00
baldurk
8a864850a1
Don't print message about vulkan version
2016-04-14 21:21:41 +02:00
baldurk
dbd9a41600
Mark GL/Vulkan as having no stats recorded
2016-04-14 21:21:29 +02:00