summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/assets/TestRenderScripts.lua
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-03-05 07:35:34 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-03-05 07:35:34 +0000
commit3261ad7e4e805bbe47682c51bef615b129cba95c (patch)
tree53aad988c370d047c4f101e9e81bb80d9b992499 /Tests/TestApp/assets/TestRenderScripts.lua
parentUpdated projects to conform to the update engine factory API (diff)
downloadDiligentEngine-3261ad7e4e805bbe47682c51bef615b129cba95c.tar.gz
DiligentEngine-3261ad7e4e805bbe47682c51bef615b129cba95c.zip
Updates to comply with addition of ShaderFlags to IPipelineState::BindStaticResources
Diffstat (limited to 'Tests/TestApp/assets/TestRenderScripts.lua')
-rw-r--r--Tests/TestApp/assets/TestRenderScripts.lua4
1 files changed, 2 insertions, 2 deletions
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