summaryrefslogtreecommitdiffstats
path: root/tools/unit-test
diff options
context:
space:
mode:
authorAlexisPollonni <43394202+AlexisPollonni@users.noreply.github.com>2025-04-23 08:48:44 +0200
committerGitHub <noreply@github.com>2025-04-23 06:48:44 +0000
commit785669c8771c01d57914ec0075315e8ae61b6a31 (patch)
tree9b940b454729144e06ee7254770b390a0ce5156e /tools/unit-test
parent1cf3f18a9ca1905a5bc51790ca723815dd5b1400 (diff)
Fixed various queryInterface implementations (#6863)
* Fix: Improper implementation in RendererBase::queryInterface In the case an arbitrary uuid was passed to RendererBase::QueryInterface it would return SLANG_OK while the outObject is null. This is improper and unexpected from an IUnkown implementation. Additionally, the function did not call addRef() when concerning an IDevice interface. * Fix: DebugTransientResourceHeap::queryInterface returns wrong interface When trying to query for the transient heap if the debug layer is enabled, queryInterface would set the outObject to the inner api specific heap (ex: vk::TransientResourceImpl) and NOT the debug heap. This causes a side effect when creating a command buffer that debug wrappers would not be used. The debug version will not be returned, and this snowballs causing an access violation when trying to bind a compute pipeline state. After this fix, debug wrappers for transient heaps, command buffers, encoders, etc... wil be used correctly. * fix weird whitespace change
Diffstat (limited to 'tools/unit-test')
0 files changed, 0 insertions, 0 deletions