support MI_MAX_COUNT in ShaderGen
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include<hgl/graph/VKShaderDescriptorSet.h>
|
||||
#include<hgl/graph/mtl/ShaderBuffer.h>
|
||||
#include<hgl/type/Map.h>
|
||||
|
||||
namespace hgl{namespace graph{
|
||||
@@ -28,6 +29,11 @@ public:
|
||||
return(true);
|
||||
}
|
||||
|
||||
bool AddStruct(const ShaderBufferSource &ss)
|
||||
{
|
||||
return(AddStruct(ss.struct_name,ss.codes));
|
||||
}
|
||||
|
||||
bool GetStruct(const AnsiString &name,AnsiString &code)
|
||||
{
|
||||
return(struct_map.Get(name,code));
|
||||
|
Reference in New Issue
Block a user