baldurk
8d4b45cda3
Fix paramref documentation reference
2020-11-20 18:15:00 +00:00
baldurk
efac5ad70a
Disable runtime and security checks in development builds
...
* This provides a decent speed boost and these have never caught any issues
before. Asan/gflags/valgrind etc do a better job of this when needed.
2020-11-20 17:02:33 +00:00
baldurk
883000009d
Ensure ResourceId declares all operators
...
* This improves things in the MSVS debugger which otherwise sometimes complains
of no suitable copy constructor for ResourceId
2020-11-20 17:02:33 +00:00
baldurk
58e16414e0
Add a number of control functions to the Qt python interface
2020-11-20 17:02:33 +00:00
baldurk
f0d00b5ad4
Don't allow command pool/allocator reset until capture is finished
...
* Even after transitioning to background capturing we can't allow reset or else
we could record over chunks that we have yet to write to disk.
2020-11-20 13:10:38 +00:00
baldurk
bd9d88b328
Add missing includes
2020-11-19 17:34:11 +00:00
baldurk
23e66418d9
Compile fixes on linux
2020-11-19 16:51:20 +00:00
baldurk
ee0267d741
Fix missing sRGB conversion of clear background color
2020-11-19 14:47:11 +00:00
baldurk
3f5a911483
Refactor CustomPaintWidget to handle widget recreation internally
...
* This allows us to expose to to python as a easy-to-use "replay output ready"
widget.
2020-11-19 14:47:11 +00:00
baldurk
1dc1b4d167
Add some profile markers in common hotspots
2020-11-19 14:47:11 +00:00
baldurk
d0bf0f6eab
Add Superluminal PerformanceAPI annotation support
2020-11-19 14:47:10 +00:00
baldurk
ef0b3fe8a1
Add virtual destructor
2020-11-18 19:14:35 +00:00
baldurk
916c431dfa
Compile fixes
2020-11-18 19:05:03 +00:00
baldurk
0aefcced95
Add a small interface into Qt widgets to our own python wrapping
...
* This by no means replaces PySide2, but it allows python extensions to write
simple UIs without needing to rely on PySide2, which might not be available
(generally all windows builds have it as well as recent binary linux builds,
but local windows builds may not and most linux builds probably won't).
2020-11-18 18:21:20 +00:00
baldurk
ab2f4e4046
Fix exception handling in wrapped python callbacks
2020-11-18 15:41:20 +00:00
baldurk
91d8c30cd3
Fix python object conversion for NULL QWidgets
2020-11-18 13:11:58 +00:00
baldurk
a457389937
Thumbnails with automatic scale shouldn't always be linear sampled on GL
2020-11-16 18:33:35 +00:00
baldurk
e0147928f1
For 3D texture views the depth is the original texture's depth
...
* The number of layers is only the depth for array textures.
2020-11-16 18:24:31 +00:00
baldurk
0d4194afc5
Cache id so we don't reference iterator after deletion
2020-11-16 12:20:15 +00:00
baldurk
705eb10c77
Set correct type when interpreting R10G10B10A2_UNORM vertex inputs
2020-11-16 10:35:56 +00:00
baldurk
9fa89e39e3
Disable mesa device select layer. Closes #2093
2020-11-13 14:23:19 +00:00
baldurk
6320923966
When VB stride is 0 read enough data for any single attribute
2020-11-12 17:04:43 +00:00
baldurk
1375a17682
Add missing plugin file to installer manifest
2020-11-12 10:58:43 +00:00
baldurk
dc957b4c5c
Fix typo and clarify AlphaMapping use. Closes #2090
2020-11-12 10:58:32 +00:00
baldurk
38886ab541
Fix memory leak if only baked commands are freed on vulkan
2020-11-10 14:36:09 +00:00
baldurk
804fddcdf7
Allow python extensions to be loaded from app folder as well as user
...
* This will let us distribute extensions with the renderdoc builds.
2020-11-10 13:57:27 +00:00
baldurk
bd5b79bd3a
Tweak Repeat_Load to do two reload tests before grabbing baseline
2020-11-10 13:18:31 +00:00
baldurk
c0876f2573
Fix multisampled array framebuffer attachments in initial states
2020-11-10 13:02:28 +00:00
baldurk
b402dfeeb5
Don't set program I/O bindings on GL unless it has a vertex/pixel shader
...
* For separable programs we'll query out I/O bindings for e.g. only the geometry
pipeline, but we shouldn't try to set those outputs with
glBindFragDataLocation. Normally we'd expect these bindings to be queried as
-1 at capture time, but just be sure.
2020-11-10 13:02:08 +00:00
baldurk
5f6f00d175
Fix vulkan vertex shader debugging populating inputs
2020-11-10 12:40:52 +00:00
baldurk
daaff29044
Fix crashes with overlays on rasterizer discard enabled pipelines
...
* None of the overlays do anything when rasterizer discard is enabled, so just
skip most work.
2020-11-10 11:31:53 +00:00
baldurk
561a15e11a
Add some missing GL enums
2020-11-10 11:26:24 +00:00
baldurk
8ca89b9c2d
Further compile fixes for half library
2020-11-10 10:06:12 +00:00
baldurk
944070fdd7
Fix warnings with clang build of half library
...
* Comma operator problems when doing math functions that return two parameters
(e.g quotient).
* Passing bool tag type through varargs - the varargs aren't actually used and
there's an overload for true_type, so we can instead accept false_type.
* gcc seems to declare numeric_limits as a struct, so friend'ing it as a class
throws a warning. Since we only care about C++11 we can omit the tag from the
friend declaration.
2020-11-09 17:59:53 +00:00
baldurk
d5a51dd145
Ignore uselist block in DXIL container
2020-11-09 16:29:39 +00:00
baldurk
e3e3d2747e
Ignore root signature RST0 chunk in DXBC container
2020-11-09 16:29:29 +00:00
baldurk
d9eab23bd5
Fix clipping when rendering RichResourceText documents
2020-11-09 16:02:48 +00:00
baldurk
44b1ab7ef2
Fix patching of indirect draws not storing indexed baseVertex correctly
2020-11-09 16:02:48 +00:00
baldurk
063131d288
Enable and expand float64 tests in VK_Shader_Debug_Zoo
2020-11-09 16:02:48 +00:00
baldurk
58625ad36b
Allow debugging SPIR-V shaders that use non-32bit type capabilities/exts
2020-11-09 12:25:21 +00:00
baldurk
7f8e555544
Update remaining I/O handling to support non-32-bit types
...
* This includes the shader input interface, and storage/cbuffer access.
2020-11-09 12:25:21 +00:00
baldurk
24764c579a
Continue type walking from the correct point in type hierarchy
2020-11-09 12:25:21 +00:00
baldurk
9309b09ab6
Convert main SPIR-V dispatch loop to handle any bit width
2020-11-09 12:25:21 +00:00
baldurk
3c65545c82
Add helpers for accessing 'special' properties in pointer/image vars
2020-11-09 12:25:21 +00:00
baldurk
7bdede5dbb
Update CalculateSampleGather/CalculateMathOp to support all bit-sizes
...
* Texture sampling we still do at only 32-bit precision (for inputs and
outputs). Math operations are done at the correct bit-width.
2020-11-09 12:25:21 +00:00
baldurk
80a7ffc3ec
Update GLSL.450 extended instructions to support all bit-widths
2020-11-09 12:25:21 +00:00
baldurk
b21f9da85a
Add helpers for dispatching in bit-width-agnostic ways
2020-11-09 12:25:21 +00:00
baldurk
d9121a7f90
Add half.hpp 2.1.0 from http://half.sourceforge.net/
2020-11-09 12:25:21 +00:00
baldurk
ab28d102cd
Fix bug allowing users to close unclosable texture viewer panels
2020-11-09 12:25:20 +00:00
baldurk
2bfccb1321
Properly apply vertexOffset for builtin in indexed draws
2020-11-05 21:29:16 +00:00