Fixing warnings

This commit is contained in:
Dynamitos
2024-01-16 21:11:57 +01:00
parent 861c146b46
commit 876b3c98d5
11 changed files with 31 additions and 24 deletions
+10 -2
View File
@@ -17,15 +17,23 @@ public:
void create(const ShaderCreateInfo& createInfo);
VkShaderModule getModuleHandle() const
constexpr VkShaderModule getModuleHandle() const
{
return module;
}
const char* getEntryPointName() const
constexpr const char* getEntryPointName() const
{
//SLang renames all entry points to main, so we dont need that
return "main";//entryPointName.c_str();
}
constexpr ShaderType getShaderType() const
{
return type;
}
constexpr VkShaderStageFlags getStage() const
{
return stage;
}
//Map<uint32, PDescriptorLayout> getDescriptorLayouts();
uint32 getShaderHash() const;
private: