From 3261ad7e4e805bbe47682c51bef615b129cba95c Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Mon, 4 Mar 2019 23:35:34 -0800 Subject: Updates to comply with addition of ShaderFlags to IPipelineState::BindStaticResources --- Tests/TestApp/assets/TestRenderScripts.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Tests/TestApp/assets/TestRenderScripts.lua') diff --git a/Tests/TestApp/assets/TestRenderScripts.lua b/Tests/TestApp/assets/TestRenderScripts.lua index d0728b8..bce79ae 100644 --- a/Tests/TestApp/assets/TestRenderScripts.lua +++ b/Tests/TestApp/assets/TestRenderScripts.lua @@ -191,8 +191,8 @@ function AddConstBufferToMapping(Name, NewConstBuff) end function BindShaderResources() - PSO:BindStaticResources(ResMapping) - PSOInst:BindStaticResources(ResMapping) + PSO:BindStaticResources({"SHADER_TYPE_VERTEX", "SHADER_TYPE_PIXEL"}, ResMapping) + PSOInst:BindStaticResources({"SHADER_TYPE_VERTEX", "SHADER_TYPE_PIXEL"}, ResMapping) SRB:InitializeStaticResources(PSO) SRBInst:InitializeStaticResources() end -- cgit v1.2.3