Skip to content

Update Multithreading project to include Application Identity#950

Open
alecardoso-tech wants to merge 1 commit intomicrosoft:masterfrom
alecardoso-tech:AppIdDraft
Open

Update Multithreading project to include Application Identity#950
alecardoso-tech wants to merge 1 commit intomicrosoft:masterfrom
alecardoso-tech:AppIdDraft

Conversation

@alecardoso-tech
Copy link
Copy Markdown
Contributor

Updated D3D12Multithreading sample to use Application Identity from AgilitySDK 1.619.

D3D12_APPLICATION_DESC appDesc;
appDesc.pExeFilename = L"D3D12Multithreading.exe";
appDesc.pName = L"D3D12 Multithreading";
appDesc.Version.Version = 0x0001000000000000;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Not necessarily asking for a change, but we should consider if there's something we should do to make this nicer to read.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Right, that's the main reason why I was looking for comments/suggestions.
I was thinking of using something along the lines of:

appDesc.pEngineName = L"D3D12 Multithreading Engine";
appDesc.EngineVersion.Version = 0x0001000000000000; // 1.0.0.0

And name it based on the sample.

}

void D3D12Multithreading::SetApplicationIdentity()
{
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think its not super clear from the PR what Application Identify is, and how would devs would benefit from this. Perhaps here you can add some comments and context for the developers.

0xd739,
0x485a,
{ 0xa4, 0x73, 0x12, 0xdf, 0xaa, 0x19, 0x05, 0x67 }
};
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Probably explain how you came up with this GUID as well, might help developers understand what is within the range of "Yes this is ok" vs "no this ID won't work".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants