Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds gfxreconstruct as a subtree #140

Closed
wants to merge 2,873 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2873 commits
Select commit Hold shift + click to select a range
ae2192e
Renamed replay options variable
panos-lunarg Apr 22, 2024
ed1a00d
Enhance dump resources json output
panos-lunarg Apr 25, 2024
cf613db
Fixed DrawCall entries to be an array in json output
panos-lunarg Apr 25, 2024
ea4300f
GenerateOutputJsonDrawCallInfo makes more sense like this
panos-lunarg Apr 25, 2024
4d84f3f
Enhance dump resources json output for dispatch/traceRays
panos-lunarg Apr 26, 2024
0b17b16
Write dump resources options in json output
panos-lunarg Apr 26, 2024
f5d493a
Help function to get shader stage name
panos-lunarg Apr 26, 2024
eb51688
Simplify calls to GetFormatAspects()
panos-lunarg Apr 26, 2024
3b22d77
Avoid some crashes from VulkanReplayDumpResourcesJson
panos-lunarg Apr 26, 2024
a0f6295
Write dispatch and trace rays params in output json
panos-lunarg Apr 26, 2024
ab69bcf
Small refactoring in dispatch/traceRays resources
panos-lunarg Apr 29, 2024
6f3bab5
Include qs and bcb index in all dumped filenames
panos-lunarg Apr 29, 2024
3bcb69f
Small fixes in the json output generation
panos-lunarg Apr 30, 2024
fefb890
CopyBufferResource() implementation was missing
panos-lunarg Apr 30, 2024
d3e0fb9
Add support for vkCmdTraceRaysIndirectKHR
panos-lunarg Apr 30, 2024
a90fd3f
CopyBufferResource should handle VK_WHOLE_SIZE
panos-lunarg May 1, 2024
238d925
Begin new json block for each QueueSubmit
panos-lunarg May 1, 2024
c0d5bde
Amend last rebase with dev
panos-lunarg May 3, 2024
29ea52a
Should be ok to reuse a command buffer for dumping
panos-lunarg May 2, 2024
327c4a1
Remove QueueSubmit object from output json
panos-lunarg May 7, 2024
96dc02f
Dump vertex and index buffers per render pass
panos-lunarg May 8, 2024
17d465a
WritePngImage*() now checks return value from stbi_write_png
panos-lunarg May 9, 2024
e377d7a
DestroyCommandPool should release any relevant dumping resources
panos-lunarg May 9, 2024
e60535f
Some logic for fetching TraceRaysIndirect was missing
panos-lunarg May 9, 2024
f911fe4
Fix project version header include
panos-lunarg May 9, 2024
9966a30
Don't scale images below 1 pixel in any dimension
panos-lunarg May 10, 2024
e4ccb7f
Fix windows build
panos-lunarg May 10, 2024
3baf616
Handle VK_ATTACHMENT_UNUSED when creating render passes
panos-lunarg May 12, 2024
a8422ce
Vertex/Index buffers are now dumped per draw call
panos-lunarg May 14, 2024
ab373e7
Reset first_block_ each time the file is closed
panos-lunarg May 14, 2024
3619696
Remove redundant json library
panos-lunarg May 14, 2024
bcdb83c
clang format parse_dump_resources_cli.cpp
panos-lunarg May 14, 2024
a31aba1
Fix image writer functions to handle screenshots
panos-lunarg May 16, 2024
46004a3
DumpImmutableResources should dump the previous rp's resources
panos-lunarg May 17, 2024
7f8adfd
Omit "vertexBuffers" entry in json when there aren't any
panos-lunarg May 17, 2024
1c2cbe7
Removed some forgotten printfs
panos-lunarg May 17, 2024
8914ee6
Should be == instead of != VK_VERTEX_INPUT_RATE_VERTEX
panos-lunarg May 20, 2024
7585174
Giving 2 variables a better name
panos-lunarg May 20, 2024
94db56b
Fix in GFXRECON_zlib_compress2
dfriederich May 20, 2024
3c3ac24
Cast to uint32_t before passing down to GFXRECON_LOG_ERROR_ONCE
panos-lunarg May 21, 2024
1171e32
WritePngImage should not print errno value
panos-lunarg May 21, 2024
b811046
Terminate process on error
panos-lunarg May 22, 2024
97f78d1
--dump-resources-json-output-per-command should be fixed now
panos-lunarg May 24, 2024
da3cfe9
Demote inability to scale errors into warnings
panos-lunarg May 24, 2024
3e6565a
Some updates in dump resources documentation
panos-lunarg May 27, 2024
415207e
Add support for vkCmdTraceRaysIndirect2KHR
panos-lunarg May 27, 2024
5ca00dd
Mark in output json images that failed scaling
panos-lunarg May 31, 2024
31ab39d
Try to detect proper image tiling when scaling images
panos-lunarg May 31, 2024
9d6d105
Merge branch 'davidp_dump_resources_merge2' into vulkan_dump_resources
davidlunarg Jun 12, 2024
214eab4
Fix code gen error in previous merge
davidlunarg Jun 12, 2024
15b1811
Fix Android build
davidlunarg Jun 13, 2024
bb4eb35
Fix decoder completion condition
bartosz-muszarski-arm May 21, 2024
82b38f9
Fix of infinite loop when looping over pNext chain (#1582)
naomipappe Jun 14, 2024
32c7226
use NDK 26 (#1589)
bradgrantham-lunarg Jun 18, 2024
c10fc1c
Add paragraph for MacOS/codesigning to build instructions (#1587)
fabian-lunarg Jun 18, 2024
6d36d18
Support CmdPushDescriptorSetWithTemplate2KHR (#1594)
nickdriscoll-lunarg Jun 20, 2024
790697b
vkUpdateDescriptorSets should be overridden
panos-lunarg Jun 21, 2024
d572f67
Remove rebase/merge leftover line
panos-lunarg Jun 24, 2024
4ca784a
Change DX12 dump resource json output header so it is consistant with…
davidlunarg Jun 25, 2024
01a1700
Fix bin file names use for dx12 output
davidlunarg Jun 25, 2024
0320b1d
uffd: Do pthread_cond_timedwait instead (#1604)
panos-lunarg Jun 26, 2024
5efb345
dx dump: fix some res files not being written
davidd-lunarg Jun 26, 2024
3de39bd
Convert AHB related errors into warnings (#1603)
panos-lunarg Jun 27, 2024
ba7cc84
Add vkCmdInsertDebugUtilsLabelEXT as a frame delimiter
marius-pelegrin-arm Oct 6, 2023
0a0286c
Merge branch 'dev' into davidp_dump_resources_merge4
davidd-lunarg Jun 27, 2024
366c5ba
Apply formatting
davidd-lunarg Jun 27, 2024
6404a45
Dump resources merged feature branch Vulkan fixes (#1609)
panos-lunarg Jun 28, 2024
c0b128b
add precompiled library for spirv-reflect for MacOS
bradgrantham-lunarg Jun 28, 2024
734aeaa
fix formatting
bradgrantham-lunarg Jun 28, 2024
30c79eb
Set size of Dx12 swapchain to associated windows (#1563)
JerryAMD Jul 2, 2024
07a5481
Update VulkanMemoryAllocator to v3.1.0
locke-lunarg Jul 1, 2024
1c20857
Add missing shadow fences from VkSwapchainPresentFenceInfoEXT (#1600)
ziga-lunarg Jul 3, 2024
d570c3b
Add SpirV-reflection to detect usage of buffer-references (#1577)
fabian-lunarg Jul 4, 2024
068a548
options "--pbi-all" and "--pbis"
locke-lunarg Jul 3, 2024
f37bb05
Add pipeline creation attempt annotation (#1559)
beau-lunarg Jul 5, 2024
c80eb05
MacOS: Correct window-size during replay (#1612)
fabian-lunarg Jul 8, 2024
2ed9265
Fix OverrideCreateInstance and OverrideCreateDevice (#1478)
marius-pelegrin-arm Jul 8, 2024
ef8bb3b
Fix shadow semaphores used in VkSubmitInfo (#1537)
ziga-lunarg Jul 9, 2024
6b1fc0b
Vulkan dump resources vertex input rate instance (#1618)
panos-lunarg Jul 11, 2024
f9b6598
Fix handle mapping/unwrapping for acceleration structure building (#1…
marius-pelegrin-arm Jul 11, 2024
58b31d9
Update SPIRV-Reflect submodule (#1622)
fabian-lunarg Jul 12, 2024
64f7c1c
Update Vulkan headers to 1.3.290 (#1624)
nickdriscoll-lunarg Jul 12, 2024
c449b40
Add trace preload option
bartosz-muszarski-arm Jun 19, 2023
815902b
Make FileProcessor::ProcessBlocks common code reuseable
charles-lunarg Jun 26, 2024
12ce47d
Refactor PreloadFileProcessor recording logic
charles-lunarg Jul 11, 2024
2bc2daa
Add --pbi-all and --pbis options for all FileProcessor subclasses
charles-lunarg Jul 11, 2024
2a1de94
Allocator support VideoSession (#1620)
locke-lunarg Jul 16, 2024
85cfe0e
Uffd restart interrupted system calls
mikes-lunarg Jul 8, 2024
2399ee1
Use a customizable delegate for dumping res data
davidd-lunarg Jun 22, 2024
cdb4df5
Track more info with each dumped resource
davidd-lunarg Jun 22, 2024
5720914
Fix typo in dump resources log (#1630)
ziga-lunarg Jul 20, 2024
0e83e75
Avoid writing redundant QueueSubmit (#1638)
locke-lunarg Jul 26, 2024
7977e0a
Fix broken trimming for vkCmdPushDescriptorSetWithTemplate[2]KHR comm…
nickdriscoll-lunarg Jul 29, 2024
243e494
Add ID3D12DeviceFactory replay override
dgraves Jun 29, 2023
0afe247
Fix playback handling error of ID3D12Device::CreateConstantBufferView…
mizhen Jul 29, 2024
1d577c9
Fix DX12 render pass union encode/decode
dgraves Dec 6, 2023
f6e1756
Vulkan dump resources: Fix indirect params fetching (#1639)
panos-lunarg Jul 30, 2024
7e1e375
Asynchronous Pipeline Creation (#1607)
fabian-lunarg Jul 30, 2024
1aacbd5
Refactor encode::vulkan_trackers::TrackStruct() routine (#1643)
fabian-lunarg Jul 30, 2024
464c8c8
vulkan dump resources fixes (#1642)
panos-lunarg Aug 1, 2024
de56505
Extend Async Support: vkCreateComputePipelines, vkCreateShadersEXT (#…
fabian-lunarg Aug 2, 2024
9718b7c
Fix wrong/forgotten copyright in a header-file (#1648)
fabian-lunarg Aug 2, 2024
cec1c78
tocpp: Add support for output pointer struct members
mikes-lunarg May 23, 2024
378107f
tocpp: Fix output arguments
mikes-lunarg Aug 1, 2024
57ef729
tocpp: Fix array args
mikes-lunarg Aug 1, 2024
7686fea
tocpp: Don't assert on positive return codes
mikes-lunarg Aug 1, 2024
de51707
Fix wrong setting name in android usage doc (#1649)
ziga-lunarg Aug 4, 2024
a457f7d
Check SPIRV/Buffer-References inlined in pNext (#1650)
fabian-lunarg Aug 5, 2024
e65e80a
Remove duplicated line in dump resources doc (#1653)
ziga-lunarg Aug 6, 2024
fbc8e1e
Remove assert from DestroyCommandPool
bartosz-muszarski-arm Aug 5, 2024
3dd2c60
Fix uninitialized member that led to gfxrecon-info incorrectly report…
naomipappe Apr 8, 2024
45e2d88
build: Apply /bigobj for encode & decode targets
charles-lunarg Aug 5, 2024
8357295
Rework async-dependency-tracking to be deterministic (#1655)
fabian-lunarg Aug 8, 2024
189d48f
Fix noop functions address comparison
marius-pelegrin-arm Jul 26, 2024
cb7716a
Fixing ppBuildRanges for gfxrecon-convert
naomipappe Jun 14, 2024
2f4d66d
Remove empty command buffer from frame boundary submission
marius-pelegrin-arm Jun 5, 2024
77ebadc
Fix `VulkanSwapchainOptions`
marius-pelegrin-arm Aug 8, 2024
5b217b9
Check SPIRV-capabilities, early exit parser (#1662)
fabian-lunarg Aug 13, 2024
7876c51
Avoid async w. externally synched pipeline-caches (#1661)
fabian-lunarg Aug 13, 2024
6a3abfa
Add macOS to github-release-build action (#1651)
fabian-lunarg Aug 13, 2024
ef157da
Fix regression: handle vkDestroy*** calls being passed null-handles (…
fabian-lunarg Aug 13, 2024
f5df57e
Save process environment variables to capture file
nickdriscoll-lunarg Aug 19, 2024
25a4679
Dump resources bug fixes
davidlunarg Jul 17, 2024
6df5ebc
Dump resources: Handle null depth attachment in vkCmdBeginRenderingKHR
davidlunarg Jul 18, 2024
0e1264a
Dump resources: Handle case when vkCmdBindDesriptorSets has null valu…
davidlunarg Jul 18, 2024
4a1445f
Dump resources: Remove extra call to ReadFromBufferResource
davidlunarg Jul 30, 2024
14a1d2e
Dump resources: Don't dump stencil buffers
davidlunarg Jul 31, 2024
56694be
Dump resources: Fix params in call to vkResolveImage
davidlunarg Aug 19, 2024
ebefe90
Dump resources: Fix code formatting error
davidlunarg Aug 19, 2024
452c212
Dump resources: Use VK_NULL_HANDLE rather than nullptr
davidlunarg Aug 19, 2024
4c5b762
Some fixes in the resolve path of VulkanResourcesUtil
panos-lunarg Aug 20, 2024
d2196b6
add missing C_FLAGS to x86_32 toolchain (#1676)
bradgrantham-lunarg Aug 20, 2024
744c0ef
Dump resources: Fix scaling of dump resources images
davidlunarg Aug 21, 2024
9ec3d40
Handle soft signal interrupts during file processing (#1597)
per-mathisen-arm Aug 22, 2024
77cb11b
Support D3D12_ELEMENTS_LAYOUT_ARRAY_OF_POINTERS
davidd-lunarg May 7, 2024
3f9f91b
Trim support for Build TLAS with ARRAY_OF_POINTERS
davidd-lunarg Jul 16, 2024
24fca72
Raytracing: Shader-group-handle mapping (#1690)
fabian-lunarg Aug 29, 2024
d810c8a
remove CONVERT_EXPERIMENTAL_D3D12 and always support D3D12 in convert…
bradgrantham-lunarg Aug 29, 2024
e3e4739
Update Android build to use Gradle 8.1 and JDK 1.17
MarkY-LunarG Jul 8, 2024
f2acf37
Use JDK 17 in Github CI
MarkY-LunarG Aug 22, 2024
5a0c894
github ci: Fix Gradle 8 build
bradgrantham-lunarg Aug 27, 2024
601c8f2
Update the build path in android how to (#1705)
ziga-lunarg Sep 3, 2024
5f56023
Warn when AHardwareBuffer read is skipped (#1704)
ziga-lunarg Sep 3, 2024
0229a17
modify copy resource message
jirongjiao Sep 4, 2024
4851283
Refactor pNext-util, enforce usage (#1700)
fabian-lunarg Sep 5, 2024
fe6eacb
Fix parsing of txt dump resources args when some params are missing
davidlunarg Aug 29, 2024
3efdf0b
Fix few checks
panos-lunarg Sep 4, 2024
aff347e
upgrade versions of actions/*-artifact (#1707)
bradgrantham-lunarg Sep 5, 2024
9c295b4
Fix D3D12 WriteToSubresource size calculation (#1699)
dgraves Sep 6, 2024
ed4b4b6
Clean up Android/Java section of BUILD.md
mikes-lunarg Sep 2, 2024
86219f6
Check if AHardwareBuffer is cpu readable in trim (#1706)
ziga-lunarg Sep 7, 2024
544fb67
Make IDXGISwapChain buffer cast conditional (#1728)
dgraves Sep 7, 2024
ce95f1f
quiet cmake project warning by adding project line (#1737)
bradgrantham-lunarg Sep 15, 2024
2ee1ed1
Remove hanging back-quote (#1693)
vaage Sep 16, 2024
247ff67
Fix warnings (#1741)
dfriederich Sep 16, 2024
fa95511
Add force_fifo_present_mode optional setting (#1687)
zongdu-arm Sep 16, 2024
b9b1eab
Fix mapped memory image data update issue (#1535)
mizhen Sep 16, 2024
630d3d5
Track Buffer-Device-Addresses (#1712)
fabian-lunarg Sep 17, 2024
8f763b8
Always dump alpha channel for dump resources images (#1744)
panos-lunarg Sep 18, 2024
73202d3
Dump all subresources of render target images (#1681)
panos-lunarg Sep 19, 2024
323ce9b
Check for unsupported formats when resolving image during WriteState …
beau-lunarg Sep 19, 2024
60fda91
TLAS instance desc NULL pointer
JerryAMD Sep 19, 2024
7ca7ed4
Fix an error for parsing shader code (#1757)
mizhen Sep 24, 2024
fb0417a
Fix vulkan_struct_deep_copy edge-cases (#1738)
fabian-lunarg Sep 25, 2024
5583aee
Fix allocator null for trim capture
jirongjiao Sep 5, 2024
7774c14
Update Vulkan headers to 1.3.295 (#1752)
nickdriscoll-lunarg Sep 26, 2024
a2832a4
Update Vulkan generated files
davidd-lunarg Sep 26, 2024
4a2631e
Update Vulkan Headers to 1.3.296 (#1773)
nickdriscoll-lunarg Sep 30, 2024
81ed616
gfxrecon-info: Report total number of raytracing-pipelines (#1776)
fabian-lunarg Oct 1, 2024
3ab67b3
Adjust trimming state snapshot locking
dgraves Sep 4, 2024
6c7887c
Fix trim locking for FORCE_COMMAND_SERIALIZATION=1
dgraves Sep 30, 2024
0a14995
Handle non-sType union-members in vulkan_struct_deep_copy (#1779)
fabian-lunarg Oct 4, 2024
3b7960c
Add acceleration structure overrides (#1759)
fabian-lunarg Oct 7, 2024
9e8bd86
Add a check for empty env_var-string (#1786)
fabian-lunarg Oct 7, 2024
6a2a225
Fix features no longer checked at device creation (#1751)
marius-pelegrin-arm Oct 7, 2024
a8b6b37
Adjust output array sizes for D3D12 replay (#1785)
dgraves Oct 8, 2024
63db344
MacOS: Fix compiler-warning about missing switch-cases (#1792)
fabian-lunarg Oct 8, 2024
3813c5c
fix release action (#1794)
bradgrantham-lunarg Oct 8, 2024
ac50bd1
Remove duplicate third-party license text
davidd-lunarg Oct 8, 2024
d9f81d5
Vulkan dump resources: Fix in scaling code path (#1791)
panos-lunarg Oct 9, 2024
6518005
BindDescriptorSets should ignore unrelated bind points
panos-lunarg Oct 6, 2024
f513b73
DispatchTraceRays clone CB will record until ECB
panos-lunarg Oct 6, 2024
3a07982
Fix clang-format
bradgrantham-lunarg Oct 8, 2024
b2daf2d
Enable capture of D3D12 apps to work again (#1656)
rurra-amd Oct 9, 2024
1bb7149
limit ABI and build release and debug separately (#1804)
bradgrantham-lunarg Oct 10, 2024
9577052
Reserve kViewRelativeLocation MetaDataType for future use (#1806)
bradgrantham-lunarg Oct 10, 2024
e8db7dc
Restore trace preload option (#1731)
zehao-jing-arm Oct 10, 2024
0e390a7
Add print block info option on android (#1677)
bartosz-muszarski-arm Oct 10, 2024
17e5a76
Don't display warning message for VK_SUCCESS over VK_SUBOPTIMAL_KHR (…
marius-pelegrin-arm Oct 10, 2024
7819bea
Properly init page_guard_external_memory_ (#1625)
panos-lunarg Oct 10, 2024
b4904b2
Add transformer annotation (#1566)
beau-lunarg Oct 10, 2024
1f31f7b
- Add VK_KHR_DISPLAY_EXTENSION_NAME return to GetWsiExtensionName (#1…
mporth-brcm Oct 10, 2024
e7b8da9
Handle shader extraction and replacement for less common cases (#1758)
w-pearson Oct 11, 2024
34ac472
Fixup AGS library linking and install (#1789)
davidd-lunarg Oct 15, 2024
ba579f0
Fix tracking queue family properties (#1810)
ziga-lunarg Oct 15, 2024
a41e49a
Write AHB command even when skipping read (#1814)
ziga-lunarg Oct 16, 2024
c3c6d3c
dx12 option: GFXRECON_CAPTURE_DRAW_CALLS (#1680)
locke-lunarg Oct 17, 2024
d28f598
Dump resources: use cwd for output dump resource files dir
davidlunarg Oct 11, 2024
7c90f81
Remove null AHB from allocations when replaying (#1813)
panos-lunarg Oct 18, 2024
85125e1
remove unused FileProcessor functions and simplify file_header usage …
bradgrantham-lunarg Oct 21, 2024
5cdfc8e
Add missing pipeline binaries struct entry (#1811)
ziga-lunarg Oct 21, 2024
a842dd7
Set trim Queue Submit to 0-based (#1819)
locke-lunarg Oct 21, 2024
8c33488
Validate cached CMake AGS variables
davidd-lunarg Oct 21, 2024
d3d50d7
dump resources: Fix output filename for dispatch dump
davidlunarg Oct 18, 2024
be102a7
Add missing AHB fill memory command (#1821)
ziga-lunarg Oct 22, 2024
ae2a3cf
Fix invalid usage by waiting on CommandBuffer fence before resetting …
bradgrantham-lunarg Oct 23, 2024
a3e57a8
Vulkan dump resources: Convert images with blit (#1799)
panos-lunarg Oct 23, 2024
dfa5b3e
Add acceleration structure meta-commands (#1815)
fabian-lunarg Oct 24, 2024
5626d1c
Save swapchain HDR state for trimmed captures (#1826)
rurra-amd Oct 24, 2024
b440752
Fix crash in CreateCommandList1 when trimming
davidd-lunarg Oct 24, 2024
b4a01d4
Support Mulitple AGS contexts
JerryAMD Oct 23, 2024
2252e5f
page guard buffers are aligned when the kUserfaultfd mode is enabled …
zongdu-arm Oct 25, 2024
4d868db
Rename Vulkan state tracking to be distinct
jzulauf-lunarg Oct 24, 2024
030a27a
vulkan: Add common classes and isolate more Vulkan
jzulauf-lunarg Oct 24, 2024
bc72f0c
Modify CommonObjectInfoTable to be a Singleton
jzulauf-lunarg Oct 24, 2024
31e59f5
Asset file for trimmed captures (#1644)
panos-lunarg Oct 27, 2024
ac64bcf
dump resources: use scaled extent when a scaling up images
davidlunarg Oct 25, 2024
6694f65
dx12 codgen: Break depedence upon Vulkan/Khronos
MarkY-LunarG Oct 23, 2024
3f56c47
Have AGS device creation honor desired adapter (#1833)
rurra-amd Oct 28, 2024
23dbad8
Have info tool expose SubSysId during GPU enumeration (#1834)
rurra-amd Oct 28, 2024
88507d8
Add DirectX Shader Compiler dependency
davidd-lunarg Oct 8, 2024
5ef9721
Use reflection to get DXIL library shader exports
davidd-lunarg Aug 28, 2024
75a0b8e
Fix vkGetQueryPoolResults timeout loop (#1843)
antonio-lunarg Oct 30, 2024
8ff29fd
dump resources: Corrections to dump resources help text
davidlunarg Oct 29, 2024
efc0a6c
Clear CachedPSO data for CreatePipelineState replay
dgraves Oct 22, 2024
93231f5
vulkan: Expose dispatch table getters
jzulauf-lunarg Oct 28, 2024
070f4eb
Add interface to get/set capture mode
jzulauf-lunarg Oct 28, 2024
43ac985
Add needed decoder and interface extensions
jzulauf-lunarg Oct 28, 2024
ced34b9
Add initialze to StructPointerDecoder allocation
jzulauf-lunarg Oct 30, 2024
e3ea230
Add vulkan guard to consumer and decode variables
jzulauf-lunarg Oct 30, 2024
b22b2d1
vulkan: Split OverrideCreateInstance/Device
jzulauf-lunarg Oct 30, 2024
35f90f6
Add VkPhysicalDevice aliasing support
jzulauf-lunarg Oct 30, 2024
837e74f
Reorganize common options
jzulauf-lunarg Oct 30, 2024
884fb85
Use libsigchain on Android
mikes-lunarg Sep 17, 2024
d282ad7
Fix descriptor info assert during capture (#1858)
ziga-lunarg Nov 1, 2024
2aef12d
Fix table in USAGE_desktop_vulkan.md (#1857)
panos-lunarg Nov 2, 2024
3b003dd
Add missing swapchain image destroy (#1861)
ziga-lunarg Nov 5, 2024
f20274b
ShaderGroupHandles: tracking/trimming (#1844)
fabian-lunarg Nov 5, 2024
b4bb399
Also run unit tests in GitHub CI (#1867)
bradgrantham-lunarg Nov 5, 2024
60fb251
Fixes for newly added VulkanStateTracker::DestroyState (#1869)
panos-lunarg Nov 6, 2024
fe74c6a
tocpp: Cast values to platfrom full types (#1871)
antonio-lunarg Nov 6, 2024
ba60bc9
Release ID3D12GraphicsCommandList4 (#1866)
locke-lunarg Nov 7, 2024
69a7108
tocpp: Support wayland (#1870)
antonio-lunarg Nov 7, 2024
5c4bf9c
Add 'third_party/gfxreconstruct/' from commit '69a7108d75fe79b1e17590…
GrantComm Nov 7, 2024
9718968
Adds gfxr subtree to third_party folder
GrantComm Nov 8, 2024
f6f23ea
Fixes windows specific build errors
GrantComm Nov 11, 2024
b40516f
Supresses warnings treated as errors
GrantComm Nov 12, 2024
894aca4
Adds missing psapi lib for windows
GrantComm Nov 12, 2024
19604f1
Adds missing includes for gfxrecon_util
GrantComm Nov 12, 2024
e84b071
Adds android build of gfxr
GrantComm Nov 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,12 @@
[submodule "third_party/perfetto"]
path = third_party/perfetto
url = https://android.googlesource.com/platform/external/perfetto
[submodule "third_party/gfxreconstruct/external/SPIRV-Headers"]
path = third_party/gfxreconstruct/external/SPIRV-Headers
url = https://github.com/KhronosGroup/SPIRV-Headers.git
[submodule "third_party/gfxreconstruct/external/SPIRV-Reflect"]
path = third_party/gfxreconstruct/external/SPIRV-Reflect
url = https://github.com/KhronosGroup/SPIRV-Reflect.git
[submodule "third_party/gfxreconstruct/external/Vulkan-Headers"]
path = third_party/gfxreconstruct/external/Vulkan-Headers
url = https://github.com/KhronosGroup/Vulkan-Headers.git
30 changes: 30 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ include(perfetto.cmake)

add_subdirectory(capture_service)
add_subdirectory(layer)

include_directories(${CMAKE_CURRENT_BINARY_DIR}/dive_core)

if(NOT ANDROID)
Expand All @@ -101,6 +102,35 @@ if(NOT ANDROID)
if (EXISTS "${CMAKE_SOURCE_DIR}/ui/CMakeLists.txt" AND NOT DIVE_NO_DISASSEMBLY)
add_subdirectory(ui)
endif()

add_subdirectory(third_party/gfxreconstruct)
else()

set(ENV{JAVA_HOME} "/usr/lib/jvm/java-17-openjdk-amd64")

execute_process(
COMMAND ./gradlew assembleDebug
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/third_party/gfxreconstruct/android
)

execute_process(
COMMAND ./gradlew assembleRelease
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/third_party/gfxreconstruct/android
)

file(ARCHIVE_EXTRACT
INPUT "${CMAKE_CURRENT_SOURCE_DIR}/third_party/gfxreconstruct/android/layer/build/outputs/aar/layer-debug.aar"
DESTINATION "${CMAKE_SOURCE_DIR}/build_android/Debug/third_party/gfxreconstruct/android/layer"
)

file(ARCHIVE_EXTRACT
INPUT "${CMAKE_CURRENT_SOURCE_DIR}/third_party/gfxreconstruct/android/layer/build/outputs/aar/layer-release.aar"
DESTINATION "${CMAKE_SOURCE_DIR}/build_android/Release/third_party/gfxreconstruct/android/layer"
)

file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/third_party/gfxreconstruct/android/tools/replay/build/outputs/apk/debug DESTINATION ${CMAKE_SOURCE_DIR}/build_android/Debug/third_party/gfxreconstruct/android/tools/replay/build/outputs/apk/debug)

file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/third_party/gfxreconstruct/android/tools/replay/build/outputs/apk/release DESTINATION ${CMAKE_SOURCE_DIR}/build_android/Release/third_party/gfxreconstruct/android/tools/replay/build/outputs/apk/release)
endif()

option(DIVE_UNIT_TESTS, "Build unit tests for dive")
Expand Down
44 changes: 44 additions & 0 deletions third_party/gfxreconstruct/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
AlignEscapedNewlines: true
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: true
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: true
AfterClass: true
AfterControlStatement: true
AfterEnum: true
AfterExternBlock: true
AfterFunction: true
AfterNamespace: true
AfterStruct: true
AfterUnion: true
BeforeCatch: true
BeforeElse: true
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
BreakConstructorInitializers: AfterColon
# Not supported in 6
#BreakInheritanceList: BeforeColon
Cpp11BracedListStyle: false
ColumnLimit: 120
IndentCaseLabels: true
IndentWidth: 4
PointerAlignment: Left
ReflowComments: true
SortIncludes: false
SpaceAfterTemplateKeyword: true
SpaceBeforeParens: ControlStatements
...
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: Capture failure
about: Create a capture bug report to help us improve
title: "[capture] Give one-line summary of issue here"
labels: ''
assignees: ''

---

**Describe the capture bug:**
Describe the issue here. Is it visual corruption? A hang? A performance problem?

**Build Environment:**
Please include the SHA and PR or branch name used in capture

**Capture Settings:**
Include any GFXRECON_... environment variables.

**To Reproduce:**
Provide any steps here to reproduce the behavior beyond starting the program.

**Screenshots:**
If applicable, add screenshots to illustrate visual corruption.

**System environment:**
- GPU and driver version on which capture was taken

**Title configuration:**
- Title name
- Title version
- Steam ID if applicable
- Is DXR enabled?

**Additional information (optional):**
- is there a SHA for which capture is known to work? (indicates possible regression in encoder)
- Does capture operate correctly on a different GPU or driver version?
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
name: Replay failure
about: Create a replay bug report to help us improve.
title: "[replay] Give one-line summary of issue here"
labels: ''
assignees: ''

---

**Describe the replay bug:**
Describe the issue here. Is it visual corruption? A hang? A performance problem?

**Verify before submission:**
* Was trimming enabled?
* Was replayer renamed if necessary?
* Was --sync used if title is known to need forced synchronization?

**Build Environment:**
Please include the SHA and PR or branch name used in capture and also used to build the replayer.

**To Reproduce**
Steps to reproduce the behavior:
1. Get the `.gfxr` file from [insert download location here, e.g. LunarShare]
2. Run gfxrecon-replay with [insert parameters here]

**Screenshots:**
If applicable, add screenshots to illustrate visual corruption.

**System environment:**
- GPU and driver version on which capture was taken
- GPU and driver version on which capture file was replayed with issue

**Title configuration:**
- Title name
- Title version
- Steam ID if applicable
- Is DXR enabled?

**Additional information (optional):**
- is there a SHA for which replayer is known to replay correctly? (indicates possible regression in decoder/consumer)
- Is there an older trace that works? What SHA was used to build those capture DLLs? (indicates possible regression in capture/encoder)
- Does a newer capture work? (indicates bug fix in capture/encoder that needs to be noted)
- Does the capture file replay correctly on a different GPU?
Loading
Loading