mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Fix export lookup index being incorrect
This commit is contained in:
@@ -1254,7 +1254,7 @@ void D3D12ShaderExportDatabase::InheritExport(const rdcstr &exportName,
|
||||
memcpy(ownExports.back().real, identifier, sizeof(ShaderIdentifier));
|
||||
|
||||
// and re-point this to point to ourselves when queried as we have the best data for it.
|
||||
wrappedIdentifiers.back() = {objectOriginalId, (uint32_t)ownExports.size()};
|
||||
wrappedIdentifiers.back() = {objectOriginalId, (uint32_t)ownExports.size() - 1};
|
||||
|
||||
// if this is an incomplete hitgroup, also grab the hitgroup component data
|
||||
if(exportLookups.back().hitgroup)
|
||||
|
||||
Reference in New Issue
Block a user