More ray tracing changes

This commit is contained in:
Dynamitos
2024-07-12 13:33:52 +02:00
parent a9089bd997
commit 8387ad6ffe
33 changed files with 527 additions and 292 deletions
+2 -1
View File
@@ -18,7 +18,7 @@ class Shader {
constexpr VkShaderModule getModuleHandle() const { return module; }
constexpr const char* getEntryPointName() const {
// SLang renames all entry points to main, so we dont need that
return "main"; // entryPointName.c_str();
return "main";// entryPointName.c_str();
}
constexpr VkShaderStageFlags getStage() const { return stage; }
uint32 getShaderHash() const;
@@ -27,6 +27,7 @@ class Shader {
PGraphics graphics;
VkShaderModule module;
VkShaderStageFlags stage;
std::string entryPointName;
uint32 hash;
};
DEFINE_REF(Shader)