baldurk
c328c3fdf7
Fix raw html leaking in an error message
2023-06-23 18:58:26 +01:00
baldurk
7c6b4633df
Don't report unsupported file types as 'corrupted' captures
...
* This adds a specific error message if even the magic number doesn't look like
a supported file type.
2023-06-23 18:53:41 +01:00
baldurk
615c02dbd7
Fix handling when rendering to mips of an image in pixel history
2023-06-23 18:44:30 +01:00
baldurk
0759f7a16a
Update extension_support.md for recently implemented extensions
2023-06-23 17:41:55 +01:00
baldurk
811ab29c75
Always offset bindings when doing vulkan shader feedback
...
* If we don't have BDA support we patch bindings to get our output buffer, but
we need to be sure to always patch all shaders - if some stages can't be
patched properly due to lacking store support, we need to still patch the
bindings.
2023-06-23 17:41:45 +01:00
baldurk
a34f890604
Disallow EXR files that are too large
2023-06-22 13:09:25 +01:00
baldurk
c3266acd15
Remove D3D8 and D3D9 stub backends
...
* These were added 6-7 years ago and have been untouched since. They add no
value to preserve as they are almost guaranteed to never be reasonably
implemented.
* The only thing that is useful is the D3D9 hooks for begin/end events used in
some D3D11 programs, which has been moved to the D3D11 project.
2023-06-22 12:21:33 +01:00
baldurk
472add2f51
Fix autotests for new global resources
2023-06-21 12:43:33 +01:00
baldurk
2887409961
Add support for VK_EXT_image_2d_view_of_3d
2023-06-21 12:43:33 +01:00
baldurk
a6c1ba1fc5
Add support for VK_EXT_attachment_feedback_loop_dynamic_state
2023-06-21 11:40:42 +01:00
baldurk
4b87803071
Add support for VK_EXT_provoking_vertex
2023-06-21 11:40:42 +01:00
Kanglai Qian
367d55d88d
continue improving glCopyImageSubData
2023-06-15 19:28:47 +01:00
Kanglai Qian
2ad52d4009
improve glCopyImageSubData
2023-06-15 19:28:47 +01:00
Kanglai Qian
a70ea20253
support glCopyImageSubData from uncompressed texture
2023-06-15 19:28:47 +01:00
baldurk
c4d4a4c19f
Fix separate android layer exports
2023-06-15 17:08:21 +01:00
baldurk
81a2da7877
Fix linux build with removed VK_LAYER_EXPORT
2023-06-15 16:55:21 +01:00
baldurk
910c316404
Fix .ui formatting
2023-06-15 14:45:37 +01:00
baldurk
5118f08e23
Update Vulkan & SPIR-V headers to latest
2023-06-15 13:56:10 +01:00
baldurk
082402ed66
Delete AMD action callbacks if multiple passes happen. Closes #2958
2023-06-15 11:25:57 +01:00
baldurk
7f8e14fb65
Add some helpers to make minimal templates for each autotest API
2023-06-15 11:25:27 +01:00
baldurk
ea77ec746f
Don't generate BGRA8 internal format for DX interop textures in GL
...
* Proper GL doesn't seem to support this internal format, and fortunately the
contents save/load work fine with GL's built-in swizzling if we treat the
texture as RGBA8 instead.
2023-06-12 14:28:24 +01:00
baldurk
505229b9a9
Lock around access to m_Error in file writer
2023-06-12 13:50:08 +01:00
baldurk
98f2ad00e6
Don't free StreamWriter buffer until after callbacks
...
* Some callbacks may want to process the data so we can't free it out from under
them.
2023-06-09 15:04:22 +01:00
baldurk
96e39bb360
Help users who might be confused about adding custom tools
2023-06-09 12:18:55 +01:00
baldurk
763cfbe2b8
Fix blend factor in driver bug workaround
2023-06-09 12:18:28 +01:00
baldurk
722191184b
Handle degenerate case on D3D12 of indexed draw with no index buffer
2023-06-08 17:09:50 +01:00
baldurk
a1f56d01c5
Add handling of HALF_FLOAT for glClear type data passing. Closes #2956
2023-06-08 15:44:27 +01:00
baldurk
eb4938e2a3
Fix D3D12 highlighted vertex/triangle not being rendered correctly
...
* The input data comes directly from the mesh output so does have homogenous co-
ordinates.
2023-06-07 13:39:11 +01:00
baldurk
86a6d5051b
Add debug regions to D3D12 mesh rendering
2023-06-07 13:38:43 +01:00
baldurk
60493a2465
Disable use of new barriers on D3D12 on older SDKs
...
* This avoids a crash that has been fixed in newer SDKs.
2023-06-07 12:25:38 +01:00
baldurk
b90c19c388
Fix counting of EIDs for partial multidraws on GL
2023-06-07 12:21:03 +01:00
baldurk
96ff47433c
Clear any GL errors generated in interop register. Closes #2952
2023-06-07 10:49:44 +01:00
baldurk
00dcec8a25
Catch and try to more gracefully handle invalid DDS files
2023-06-05 16:21:19 +01:00
baldurk
f87aa7a7fe
Handle subset indirect draws for GL pixel history replay
...
* This is not needed on Vulkan because Vulkan uses a per-draw callback system
that automatically splits up multidraws into single draws for replay. On D3D11
there is no multidraw so it doesn't come up there.
* On GL we can e.g. have one draw touching the pixel half-way through a
multidraw, and then want to replay from that draw through to the next touching
draw which could be much later or in the same multidraw. It assumes we can
always replay from one draw to the next.
2023-06-05 16:07:01 +01:00
baldurk
587e4f6795
Sanitise image layouts in implicit renderpass transitions
2023-06-05 15:01:41 +01:00
baldurk
f5916e0268
Handle GL programs recreating textures mid-capture. Closes #2941
2023-06-05 12:34:59 +01:00
baldurk
3f7e648d4d
Fix invalid type lookup for empty type string. Closes #2947
2023-06-02 21:55:49 +01:00
baldurk
673503a5b5
Fix 32-bit compilation
2023-06-02 19:35:59 +01:00
baldurk
0f851df6c2
Batch prepare and allow limited buffering for vulkan initial states
...
* We add a capture option that defines a soft limit we aim to keep under for
memory overhead during capture, excess initial states after that will be
stored temporarily on disk.
2023-06-02 18:53:45 +01:00
baldurk
1ec0606ce8
Add threading on final compression & write to file
2023-06-02 18:53:45 +01:00
baldurk
814a73f386
Bump version to v1.28
2023-06-02 18:53:38 +01:00
baldurk
35b13a8e8f
Remove UAV flag from BCn textures for calling GetCopyableFootprints
...
* This can happen when using the new format casting functionality, if the base
type is BCn but UAV is allowed for an RGBA32_UINT cast.
v1.27
2023-06-01 13:00:03 +01:00
baldurk
00dc732f10
Ensure we create a sufficient heap for oversized resources
...
* This heap will only have one resource, but the code handles that and bumps the
next resource to a new heap.
2023-05-26 18:59:53 +01:00
baldurk
d132b57582
Disable fpsmon vulkan layer
2023-05-26 13:08:40 +01:00
baldurk
780ea478b1
Implement support for new barriers & resource creation functions
2023-05-22 16:24:34 +01:00
baldurk
2777a25345
Refactor resource creation functions to use common path
...
* This does require some awkward dispatching as the functions are almost but not
entirely the same.
2023-05-22 16:24:34 +01:00
baldurk
14bd9f8182
Convert state tracking to handle new barrier resource layouts
2023-05-22 16:24:34 +01:00
baldurk
7de3fb54ee
Implement new D3D12 state & state setting commands
2023-05-19 14:54:39 +01:00
baldurk
28dcc80892
Implement D3D12's CreateSampler2 and new sampler parameters
2023-05-19 14:54:39 +01:00
baldurk
d3edbc5dd1
Stub out new D3D12 device and command buffer interfaces
...
* These are currently non-functional but will be implemented in follow-up
commits so they're not committed disabled (inaccessible via QueryInterface
etc).
2023-05-19 13:28:05 +01:00