summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/assets/TestRenderScripts.lua
diff options
context:
space:
mode:
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