add "binding" in "struct ShaderStage"

This commit is contained in:
hyzboy 2020-07-16 17:01:33 +08:00
parent 2f467e9806
commit 9999ff26c8
2 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,8 @@ VK_NAMESPACE_BEGIN
uint component;
VkFormat format;
uint binding;
};//struct ShaderStage
using ShaderStageList=ObjectList<ShaderStage>;

View File

@ -45,6 +45,8 @@ VK_NAMESPACE_BEGIN
ss->name.SetString((char *)data,str_len);
data+=str_len;
ss->binding=i;
ss_list.Add(ss);
}