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/TestRenderTargets.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Tests/TestApp/assets/TestRenderTargets.lua') diff --git a/Tests/TestApp/assets/TestRenderTargets.lua b/Tests/TestApp/assets/TestRenderTargets.lua index 93399c4..c9ebb90 100644 --- a/Tests/TestApp/assets/TestRenderTargets.lua +++ b/Tests/TestApp/assets/TestRenderTargets.lua @@ -317,7 +317,7 @@ RenderToTexPSO = PipelineState.Create PrimitiveTopology = "PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP" } } -RenderToTexPSO:BindStaticResources(ResMapping) +RenderToTexPSO:BindStaticResources({"SHADER_TYPE_VERTEX", "SHADER_TYPE_PIXEL"}, ResMapping) RenderToTexSRB = RenderToTexPSO:CreateShaderResourceBinding(true) BlendTexPSO = PipelineState.Create @@ -375,7 +375,7 @@ assert(BlendTexPSO.ResourceLayout.StaticSamplers[1].ShaderStages[1] == "SHADER_T assert(BlendTexPSO.ResourceLayout.StaticSamplers[1].Desc.MipFilter == "FILTER_TYPE_POINT"); assert(BlendTexPSO.ResourceLayout.StaticSamplers[2].SamplerOrTextureName == "g_tex2DTest2"); -BlendTexPSO:BindStaticResources(ResMapping) +BlendTexPSO:BindStaticResources({"SHADER_TYPE_VERTEX", "SHADER_TYPE_PIXEL"}, ResMapping) BlendTexSRB = BlendTexPSO:CreateShaderResourceBinding(true) DrawAttrs = DrawAttribs.Create{ -- cgit v1.2.3