From 44c0a56974b664e50b2cb8cb6f10740b19c4e02f Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 3 Dec 2020 08:23:05 -0800 Subject: Add shader object parameter binding to renderer_test. (#1622) * Add shader object parameter binding to renderer_test. * remove multiple-definitions.hlsl * Fix cuda implementation. Co-authored-by: Tim Foley --- tools/render-test/shader-renderer-util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/render-test/shader-renderer-util.h') diff --git a/tools/render-test/shader-renderer-util.h b/tools/render-test/shader-renderer-util.h index 872f21768..76f3b6d87 100644 --- a/tools/render-test/shader-renderer-util.h +++ b/tools/render-test/shader-renderer-util.h @@ -47,6 +47,10 @@ struct BindingStateImpl : public Slang::RefObject int m_numRenderTargets = 1; }; +RefPtr _createSamplerState( + Renderer* renderer, + const InputSamplerDesc& srcDesc); + /// Utility class containing functions that construct items on the renderer using the ShaderInputLayout representation struct ShaderRendererUtil { -- cgit v1.2.3