From a03d21a5f54cba913c3f52e2822a433de8f39fdd Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 30 Jun 2021 14:59:18 -0700 Subject: [gfx] Add inline ray tracing support. (#1899) --- examples/example-base/example-base.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'examples/example-base/example-base.h') diff --git a/examples/example-base/example-base.h b/examples/example-base/example-base.h index a1c46aa53..b898f7417 100644 --- a/examples/example-base/example-base.h +++ b/examples/example-base/example-base.h @@ -26,7 +26,11 @@ protected: Slang::ComPtr gRenderPass; Slang::ComPtr gQueue; - Slang::Result initializeBase(const char* titile, int width, int height); + Slang::Result initializeBase( + const char* titile, + int width, + int height, + gfx::DeviceType deviceType = gfx::DeviceType::Default); void createSwapchainFramebuffers(); void mainLoop(); -- cgit v1.2.3