summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-02-27 06:49:28 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-02-27 06:49:28 +0000
commitc03fae535f3e5080906c43690e800ae34572278c (patch)
tree0e59cce8a40dc1e34886fe28d6ef67e2e7c3fa0f /Graphics/GraphicsEngineVulkan
parentUpdated SaderVkImpl: removed static resources (diff)
downloadDiligentCore-c03fae535f3e5080906c43690e800ae34572278c.tar.gz
DiligentCore-c03fae535f3e5080906c43690e800ae34572278c.zip
Updating some files to match the new API
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/src/GenerateMipsVkHelper.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/GenerateMipsVkHelper.cpp b/Graphics/GraphicsEngineVulkan/src/GenerateMipsVkHelper.cpp
index fc9af5a8..793aea80 100644
--- a/Graphics/GraphicsEngineVulkan/src/GenerateMipsVkHelper.cpp
+++ b/Graphics/GraphicsEngineVulkan/src/GenerateMipsVkHelper.cpp
@@ -104,16 +104,16 @@ namespace Diligent
std::array<RefCntAutoPtr<IPipelineState>, 4> GenerateMipsVkHelper::CreatePSOs(TEXTURE_FORMAT Fmt)
{
- ShaderCreationAttribs CSCreateAttribs;
+ ShaderCreateInfo CSCreateAttribs;
std::array<RefCntAutoPtr<IPipelineState>, 4> PSOs;
CSCreateAttribs.Source = g_GenerateMipsCSSource;
CSCreateAttribs.EntryPoint = "main";
CSCreateAttribs.SourceLanguage = SHADER_SOURCE_LANGUAGE_GLSL;
CSCreateAttribs.Desc.ShaderType = SHADER_TYPE_COMPUTE;
- CSCreateAttribs.Desc.DefaultVariableType = SHADER_VARIABLE_TYPE_DYNAMIC;
+ CSCreateAttribs.Desc.DefaultVariableType = SHADER_RESOURCE_VARIABLE_TYPE_DYNAMIC;
- ShaderVariableDesc VarDesc{"CB", SHADER_VARIABLE_TYPE_STATIC};
+ ShaderResourceVariableDesc VarDesc{"CB", SHADER_RESOURCE_VARIABLE_TYPE_STATIC};
CSCreateAttribs.Desc.VariableDesc = &VarDesc;
CSCreateAttribs.Desc.NumVariables = 1;