baldurk
045192bf9d
Invoke renderdoccmd as root on linux to install vulkan layer, not Qt UI
...
* On linux sometimes you can't invoke a GUI application as root. To work around
this, we use renderdoccmd to register the layer if it's available, or fail if
it isn't.
2018-10-05 18:17:00 +01:00
baldurk
1bd014247d
Add -- separator when running kdesudo or gksudo
2018-10-05 18:17:00 +01:00
baldurk
046ca0ad12
Document RenderDoc controlling API validation while active. Closes #1121
2018-10-05 18:17:00 +01:00
baldurk
1f961f44d1
Apply backbuffer view format fixup to UAVs. Closes #1104
2018-10-05 18:17:00 +01:00
baldurk
159a67b853
Implement MSAA to Array colour copies. Closes #1023
2018-10-05 18:16:59 +01:00
baldurk
b6894185a9
Set CachedBlobSizeInBytes to 0 on reading
2018-10-05 18:16:59 +01:00
baldurk
8004bef8d0
Return S_OK for recognised UUIDs in ID3D12Device::GetDevice()
2018-10-05 18:16:59 +01:00
Adam Sawicki
6b101335e6
StatisticsViewer::AppendShaderStatistics: Fixed typo.
2018-10-05 14:57:37 +01:00
baldurk
c8ffe1831d
Linux compile fix
2018-10-04 18:53:30 +01:00
baldurk
920bc98f0c
Fix D3D11 ClearBeforeDraw overlay not respecting visible range control
2018-10-04 17:35:15 +01:00
baldurk
d281e9674b
Improve ability to run a replay output with no backing window
...
* This is useful for scripts where we want access to the contextual output
operations like overlays, pixel picking, etc.
2018-10-04 16:53:39 +01:00
baldurk
b7855d371f
Grab linux library callbacks locally before calling them. Refs #1120
...
* This should prevent recursive calls from re-processing the same list of
callbacks
2018-10-04 16:15:05 +01:00
baldurk
7a6580bb0f
Fix compilation of all debug shaders on GLES
2018-10-04 16:07:38 +01:00
baldurk
cf41950897
Reset GLES status to false when loading a proper GL capture
...
* This prevents us from acting like we're on a GLES context if we had previously
loaded a GLES capture.
2018-10-04 16:07:37 +01:00
baldurk
bbafa5cd4d
Fix GLES display of wireframe overlay for non-indexed draws
2018-10-04 16:07:37 +01:00
baldurk
11cba8d36b
Disable quad overdraw overlay on GLES
2018-10-04 16:07:37 +01:00
baldurk
ec165964bc
Fix some pedantic GLSL compilation problems
2018-10-04 16:07:36 +01:00
baldurk
91ac88d6b5
Add an '(Active)' suffix on active APIs to be clearer about it
2018-10-04 16:07:36 +01:00
baldurk
995caa2636
Implement empty-marker hiding options for event browser
2018-10-04 16:07:36 +01:00
baldurk
8879d9a9bf
Don't add API Calls dummy draws inside regions for only marker API calls
...
* On Vulkan/D3D12 we only do this for actual regions, for command buffer
boundaries we always insert the dummy draw.
2018-10-04 16:07:36 +01:00
baldurk
92feb1013b
Don't require an extra descriptor set for vulkan postvs fetch
2018-10-04 16:07:35 +01:00
baldurk
b87792f721
Store map offset in GPUBuffer so we only flush the mapped range
2018-10-04 12:54:51 +01:00
baldurk
d31457b4ae
Add CGL header to VS project
2018-10-03 16:41:46 +01:00
baldurk
b99aeee640
Merge OpenGL framework headers into cgl.h. Closes #1106
...
* The latest OpenGL.h headers from apple have deprecation warnings-as-errors.
Rather than disabling them, bring the headers into the source tree since a
future mac release might delete the headers entirely.
2018-10-02 19:25:30 +01:00
baldurk
30ece375e1
Submit wait semaphores when rendering vulkan overlay. Closes #1110
2018-10-02 19:00:53 +01:00
baldurk
7f0df0821e
On macOS work around broken compilers by disabling inheriting CC & CXX
...
* Normally we want to inherit CC and CXX from the parent process to ensure that
the user's choice of compiler is respected. Unfortunately macOS 10.14 starts
shipping broken compilers, so inheriting CC & CXX causes the swig compilation
to fail.
* As a workaround, we just disable this on macOS assuming the user won't ever
want to override CC & CXX because it's all locked into XCode anyway.
2018-10-02 18:26:26 +01:00
baldurk
1c05c5e5d1
Add option to renderdoccmd replay to specify a loop count
2018-10-02 16:23:40 +01:00
baldurk
4937a9e4b9
Skip initial application of FBO 0 state, before context FBO is created
2018-10-01 18:28:11 +01:00
baldurk
ad5cfcd290
Pass through and display VAO object in GL pipeline state
2018-10-01 18:27:44 +01:00
baldurk
989971f6af
Make sure structs exposed to python have explicit copy constructors
...
* This means SWIG generates a copy constructor which is very useful for making
duplicate objects in python. Without an explicit 'default copy constructor'
statement, SWIG doesn't generate one.
2018-10-01 18:12:28 +01:00
baldurk
49b247a7ec
Add missing init chunk registration for a number of GL functions
...
* This mostly benefits VAO/FBO where there are lots of function calls for
configuration of the actual object state.
2018-10-01 18:06:23 +01:00
baldurk
0ffff7d5da
When creating an unsized renderbuffer, convert to sized. Closes #1116
2018-10-01 16:38:40 +01:00
baldurk
a008a4825b
Handle unsized DEPTH_STENCIL as a texture format
2018-10-01 15:30:39 +01:00
baldurk
ab270f7ef2
Handle replaying if context has no backbuffer FBO
2018-10-01 15:28:29 +01:00
baldurk
b200852eae
Skip counter & indexed queries while doing FetchCounters
2018-10-01 15:27:57 +01:00
baldurk
8a3d85ebed
Use Query resource type for resources in glCreateQueries
2018-10-01 15:12:24 +01:00
baldurk
dd01a3036f
Don't use slice in texture cache key for 3D textures
2018-09-28 17:58:52 +01:00
Igor Surmin
4a4fdb40e7
Implement Intel performance counters support for D3D11
2018-09-28 16:12:23 +01:00
baldurk
d61726bde3
Set baseArrayLayer to 0 when copying from 3D image
2018-09-28 15:03:12 +01:00
baldurk
66e8c6f9ff
Don't set invalid zoom level when no previous texture size is set
2018-09-28 15:03:12 +01:00
baldurk
d1bdae94a7
Add workaround for QTBUG-52697, manually do high-dpi in rich text
2018-09-28 15:03:12 +01:00
Jeremy Lukacs
66319d72bb
Fix D3D12 debug overlay pipeline creation
2018-09-28 09:42:32 +01:00
baldurk
f20c2d1c43
Fix handling of multi-dimensional arrays in GL uniforms
2018-09-27 18:48:47 +01:00
baldurk
bcd086e423
Fix calculation of array-of-structs bytesize calculation
2018-09-27 16:43:22 +01:00
baldurk
525ea12112
Fix handling multi-dimensional arrays in SPIR-V disassembly & reflection
2018-09-27 16:31:32 +01:00
baldurk
90b432b622
Update interceptor-lib LLVM compile instructions to match STL
2018-09-27 14:44:14 +01:00
baldurk
9116983972
Fix error mail script with incorrect quoting
2018-09-27 14:44:13 +01:00
baldurk
6f1a458c8a
If a non-global dlopen happens, check for loaded libraries. Closes #1114
2018-09-27 14:44:13 +01:00
Jeremy Lukacs
de4bf9711c
Fix D3D12 expanded pipeline state creation
2018-09-27 09:33:00 +01:00
baldurk
0bad880e72
Handle EINTR errno correctly
2018-09-26 13:39:26 +01:00