Skip to content

Fix inconsistency between timer query behaviour on DX12 and Vulkan - #84

Merged
apanteleev merged 1 commit into
NVIDIA-RTX:mainfrom
jambuttenshaw:main
Jul 15, 2025
Merged

Fix inconsistency between timer query behaviour on DX12 and Vulkan#84
apanteleev merged 1 commit into
NVIDIA-RTX:mainfrom
jambuttenshaw:main

Conversation

@jambuttenshaw

Copy link
Copy Markdown
Contributor

On DX12, polling a timer query that had not been started would return false. However, doing the same on Vulkan would hit an assertion. This pull request modifies nvrhi::vulkan::Device::pollTimerQuery to return false if the query had not been started, which is the same behaviour as the DX12 implementation of timer queries.

@github-actions

github-actions Bot commented Jul 13, 2025

Copy link
Copy Markdown

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@jambuttenshaw

Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@apanteleev
apanteleev merged commit bf32052 into NVIDIA-RTX:main Jul 15, 2025
1 of 2 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants