-
Notifications
You must be signed in to change notification settings - Fork 117
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
remove CONVERT_EXPERIMENTAL_D3D12 and always support D3D12 in convert #1691
remove CONVERT_EXPERIMENTAL_D3D12 and always support D3D12 in convert #1691
Conversation
CI gfxreconstruct build queued with queue ID 245247. |
CI gfxreconstruct build # 4712 running. |
CI gfxreconstruct build # 4712 failed. |
CI gfxreconstruct build queued with queue ID 245333. |
CI gfxreconstruct build # 4714 running. |
CI gfxreconstruct build queued with queue ID 245348. |
CI gfxreconstruct build queued with queue ID 245350. |
CI gfxreconstruct build # 4716 running. |
CI gfxreconstruct build # 4716 passed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any issues and successfully built and ran convert on a few captures.
tools/convert/main.cpp
Outdated
GFXRECON_LOG_INFO( | ||
"Capture file contains D3D12 content but gfxrecon-convert is not compiled with D3D12 support."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like DetectAPI can only return detected_d3d12 == true
if D3D12_SUPPORT
is defined so it may not be possible to hit this warning.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, let me consider what can be done for those lines of code if anything.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I inverted the sense and instead log a message if no Vulkan content was found.
I think this is a stopgap; we may find ourselves shortly with a combination of possible API support compiled into convert
. Maybe we could make a generic detection decoder that would populate a std::set
of ApiFamilyId
and then wouldn't need specific API support compiled into decoders or consumers.
1fbde9a
to
ddeece6
Compare
CI gfxreconstruct build queued with queue ID 245830. |
CI gfxreconstruct build # 4721 running. |
CI gfxreconstruct build queued with queue ID 245851. |
CI gfxreconstruct build # 4722 running. |
CI gfxreconstruct build # 4722 passed. |
No description provided.