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

d3d12: Add D3D12PIXEventsReplaceBlock and D3D12PIXGetThreadInfo stub … #1582

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions libs/d3d12/d3d12.def
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ EXPORTS
D3D12EnableExperimentalFeatures
D3D12SerializeRootSignature
D3D12SerializeVersionedRootSignature

D3D12PIXEventsReplaceBlock
D3D12PIXGetThreadInfo
12 changes: 12 additions & 0 deletions libs/d3d12/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,3 +206,15 @@ HRESULT WINAPI DLLEXPORT D3D12GetInterface(REFCLSID rcslid, REFIID iid, void **d
return E_NOINTERFACE;
return IVKD3DCoreInterface_GetInterface(core, rcslid, iid, debug);
}

HRESULT WINAPI DLLEXPORT D3D12PIXEventsReplaceBlock()
Copy link
Owner

@HansKristian-Work HansKristian-Work Jun 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it really take no arguments? () != (void) in C fwiw. Proper argument types is important for WINAPI calling convention at least on 32-bit.

{
FIXME("stub!\n");
return E_NOTIMPL;
}

HRESULT WINAPI DLLEXPORT D3D12PIXGetThreadInfo()
{
FIXME("stub!\n");
return E_NOTIMPL;
}