From d0c9571be3a2167a9f019310aca8f7cd326972c0 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Fri, 22 Jun 2018 13:09:01 -0400 Subject: Expose macros/functionality for defining interfaces (#604) * Added Result definitions to the slang.h * Removed slang-result.h and added slang-com-helper.h * Move slang-com-ptr.h to be publically available. * Add SLANG_IUNKNOWN macros to simplify implementing interfaces. Use the SLANG_IUNKNOWN macros to in slang.c * Removed slang-defines.h added outstanding defines to slang.h --- tools/render-test/vk-module.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tools/render-test/vk-module.h') diff --git a/tools/render-test/vk-module.h b/tools/render-test/vk-module.h index dd3c1eaa1..0aed2303f 100644 --- a/tools/render-test/vk-module.h +++ b/tools/render-test/vk-module.h @@ -1,8 +1,9 @@ -// vk-module.h +// vk-module.h #pragma once -#include "../../source/core/slang-defines.h" -#include "../../source/core/slang-result.h" +#include "../../slang.h" + +#include "../../slang-com-helper.h" #if SLANG_WINDOWS_FAMILY # define VK_USE_PLATFORM_WIN32_KHR 1 -- cgit v1.2.3