From 049f53ae188da0d655fe20b660402888e9e3b037 Mon Sep 17 00:00:00 2001 From: kazhang Date: Fri, 9 Feb 2024 13:10:00 -0800 Subject: [PATCH] update the dependency packages Change the package from vulkansdk to vulkan headers since to build the app we only need vulkan headers. Vulkan loader is loaded at runtime. Change SLANG_UUID_IPipelineCreationAPIDispatcher to SLANG_UUID_IVulkanPipelineCreationAPIDispatcher since slang v2024.0.4. --- dependencies.xml | 10 +++++----- source/DeviceWrapper.h | 5 ++++- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/dependencies.xml b/dependencies.xml index fa504c0..1f64454 100644 --- a/dependencies.xml +++ b/dependencies.xml @@ -2,11 +2,11 @@ - - + + - - - + + + diff --git a/source/DeviceWrapper.h b/source/DeviceWrapper.h index b4a8282..4770691 100644 --- a/source/DeviceWrapper.h +++ b/source/DeviceWrapper.h @@ -44,7 +44,7 @@ class PipelineCreationAPIDispatcher : public gfx::IPipelineCreationAPIDispatcher virtual SLANG_NO_THROW SlangResult SLANG_MCALL queryInterface(SlangUUID const& uuid, void** outObject) override { - if (uuid == SlangUUID SLANG_UUID_IPipelineCreationAPIDispatcher) + if (uuid == SlangUUID SLANG_UUID_IVulkanPipelineCreationAPIDispatcher) { *outObject = static_cast(this); return SLANG_OK; @@ -122,6 +122,7 @@ class PipelineCreationAPIDispatcher : public gfx::IPipelineCreationAPIDispatcher void** outPipelineState ) { + assert(!"Not implemented!"); return SLANG_OK; } @@ -139,12 +140,14 @@ class PipelineCreationAPIDispatcher : public gfx::IPipelineCreationAPIDispatcher // This method will be called by the gfx layer right before creating a ray tracing state object. virtual gfx::Result beforeCreateRayTracingState(gfx::IDevice* device, slang::IComponentType* program) { + assert(!"Not implemented!"); return SLANG_OK; } // This method will be called by the gfx layer right after creating a ray tracing state object. virtual gfx::Result afterCreateRayTracingState(gfx::IDevice* device, slang::IComponentType* program) { + assert(!"Not implemented!"); return SLANG_OK; } private: