summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/assets/TestComputeShaders.lua
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-10-18 15:52:52 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-10-18 15:52:52 +0000
commite5d030cb921f4b967485eaea9cff9e54ff24232a (patch)
tree4ce52d4a0d3bd91933fc4cb098b0247a9242f8e9 /Tests/TestApp/assets/TestComputeShaders.lua
parentUpdate README.md (diff)
downloadDiligentEngine-e5d030cb921f4b967485eaea9cff9e54ff24232a.tar.gz
DiligentEngine-e5d030cb921f4b967485eaea9cff9e54ff24232a.zip
Enabled seperate samplers
Diffstat (limited to 'Tests/TestApp/assets/TestComputeShaders.lua')
-rw-r--r--Tests/TestApp/assets/TestComputeShaders.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/TestApp/assets/TestComputeShaders.lua b/Tests/TestApp/assets/TestComputeShaders.lua
index 22b9301..8b74103 100644
--- a/Tests/TestApp/assets/TestComputeShaders.lua
+++ b/Tests/TestApp/assets/TestComputeShaders.lua
@@ -167,6 +167,7 @@ end
FillTextureCS = Shader.Create{
FilePath = GetShaderPath("CSTest\\FillTexture", "csh"),
+ UseCombinedTextureSamplers = true,
Desc =
{
ShaderType = "SHADER_TYPE_COMPUTE",
@@ -178,31 +179,37 @@ assert(FillTextureCS.Desc.VariableDesc[1].Type == "SHADER_VARIABLE_TYPE_DYNAMIC"
UpdateVertBuffCS = Shader.Create{
FilePath = GetShaderPath("CSTest\\UpdateVertBuff", "csh", true),
+ UseCombinedTextureSamplers = true,
Desc = {ShaderType = "SHADER_TYPE_COMPUTE"}
}
UpdateIndBuffCS = Shader.Create{
FilePath = GetShaderPath("CSTest\\UpdateIndBuff", "csh"),
+ UseCombinedTextureSamplers = true,
Desc = {ShaderType = "SHADER_TYPE_COMPUTE"}
}
UpdateDrawArgsBuffCS = Shader.Create{
FilePath = GetShaderPath("CSTest\\UpdateDrawArgsBuff", "csh"),
+ UseCombinedTextureSamplers = true,
Desc = {ShaderType = "SHADER_TYPE_COMPUTE"}
}
UpdateDispatchArgsBuffCS = Shader.Create{
FilePath = GetShaderPath("CSTest\\UpdateDispatchArgsBuff", "csh"),
+ UseCombinedTextureSamplers = true,
Desc = {ShaderType = "SHADER_TYPE_COMPUTE"}
}
RenderVS = Shader.Create{
FilePath = GetShaderPath("TextureTest", "vsh"),
+ UseCombinedTextureSamplers = true,
Desc = { ShaderType = "SHADER_TYPE_VERTEX" }
}
RenderPS = Shader.Create{
FilePath = GetShaderPath("TextureTest", "psh"),
+ UseCombinedTextureSamplers = true,
Desc = { ShaderType = "SHADER_TYPE_PIXEL" }
}