https://github.com/shader-slang/slang
Revision 35bca4cc432613af3926da3bed217a6baa9cbd26 authored by lucy96chen on 01 October 2021, 20:08:25 UTC, committed by GitHub on 01 October 2021, 20:08:25 UTC
* Added support for getting command buffer and command queue handles to ICommandBuffer and ICommandQueue; D3D12Device, VkDevice, and DebugDevice modifieid to implement this new functionality; immediate-renderer-base.cpp also modified to implement the new functions

* Removed excess boilerplate

* Changed readRef() to get() in D3D12 getNativeHandle() implementation for ICommandBuffer and ICommandQueue

* Added unit tests for new getNativeHandle() implementations, unfinished

* Queue test added; Minor cleanup changes

* getBufferHandleTestImpl() now closes the command buffer before returning

* Added getNativeHandle() implementations to CUDADevice

* Added comment clarifying that the Vulkan check is checking for a null handle, which is defined to be 0
1 parent 6c6200f
History
Tip revision: 35bca4cc432613af3926da3bed217a6baa9cbd26 authored by lucy96chen on 01 October 2021, 20:08:25 UTC
Add getNativeHandle() to ICommandQueue and ICommandBuffer (#1952)
Tip revision: 35bca4c
File Mode Size
.github
build
docs
examples
external
extras
prelude
source
tests
tools
.editorconfig -rw-r--r-- 937 bytes
.gitattributes -rw-r--r-- 95 bytes
.gitignore -rw-r--r-- 1.1 KB
.gitmodules -rw-r--r-- 951 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 3.1 KB
LICENSE -rw-r--r-- 1.1 KB
README.md -rw-r--r-- 6.1 KB
github_build.sh -rw-r--r-- 495 bytes
github_test.sh -rw-r--r-- 993 bytes
premake.bat -rw-r--r-- 120 bytes
premake5.lua -rw-r--r-- 51.0 KB
slang-com-helper.h -rw-r--r-- 4.9 KB
slang-com-ptr.h -rw-r--r-- 4.9 KB
slang-gfx.h -rw-r--r-- 54.3 KB
slang-tag-version.h -rw-r--r-- 36 bytes
slang.h -rw-r--r-- 177.4 KB
slang.sln -rw-r--r-- 35.8 KB
test.bat -rw-r--r-- 1.4 KB

README.md

back to top