diff options
| author | Yong He <yonghe@outlook.com> | 2021-07-20 10:22:20 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-20 10:22:20 -0700 |
| commit | f9f8d3ec5c749bcbdab5a8fc2d2f919350f2423c (patch) | |
| tree | 78d4fbb45e737fd6cccf8da419e4eae7b97bf7e2 /tools/gfx/renderer-shared.cpp | |
| parent | 6162950d9012833ef5d4f96b99c67a46bf97ce6d (diff) | |
Minor refactor to gfx D3D12 implementation. (#1913)
* Minor refactor to gfx D3D12 implementation.
- Allow more flexible collection of shader stages in a shader program.
- Add `createRayTracingPipelineState` public interface. (no implementation).
* Fix Vulkan initialization.
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/renderer-shared.cpp')
| -rw-r--r-- | tools/gfx/renderer-shared.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/gfx/renderer-shared.cpp b/tools/gfx/renderer-shared.cpp index c88081547..2eb19b6e9 100644 --- a/tools/gfx/renderer-shared.cpp +++ b/tools/gfx/renderer-shared.cpp @@ -303,6 +303,13 @@ Result RendererBase::createAccelerationStructure( return SLANG_E_NOT_AVAILABLE; } +Result RendererBase::createRayTracingPipelineState(const RayTracingPipelineStateDesc& desc, IPipelineState** outState) +{ + SLANG_UNUSED(desc); + SLANG_UNUSED(outState); + return SLANG_E_NOT_AVAILABLE; +} + Result RendererBase::getShaderObjectLayout( slang::TypeReflection* type, ShaderObjectContainerType container, |
