Exemplo n.º 1
0
 std::shared_ptr<const ShaderBinary> BloomExtractBrightVS::load(const Device& device, ShaderStorage& storage) const
 {
     
     return storage.loadShader(device, "C:/work/darkness/darkness-engine/data/shaders/vulkan/core/postprocess/BloomExtractBright.vs.spv", "C:/work/darkness/darkness-engine/data/shaders/vulkan/core/postprocess/BloomExtractBright.vs.support", -1, {});
     
     ASSERT(false, "Could not load the permutation necessary. This is a bug.");
     return {};
 }
Exemplo n.º 2
0
 std::shared_ptr<const ShaderBinary> DebugViewerVS::load(const Device& device, ShaderStorage& storage) const
 {
     
     return storage.loadShader(device, "C:/work/darkness/darkness-engine/data/shaders/vulkan/core/tools/DebugViewer.vs.spv", "C:/work/darkness/darkness-engine/data/shaders/vulkan/core/tools/DebugViewer.vs.support", -1, {});
     
     ASSERT(false, "Could not load the permutation necessary. This is a bug.");
     return {};
 }
Exemplo n.º 3
0
 std::shared_ptr<const ShaderBinary> MeshRendererTransparentPS::load(const Device& device, ShaderStorage& storage) const
 {
     
     return storage.loadShader(device, "C:/work/darkness/darkness-engine/data/shaders/vulkan/core/forward/MeshRendererTransparent.ps.spv", "C:/work/darkness/darkness-engine/data/shaders/vulkan/core/forward/MeshRendererTransparent.ps.support", -1, {});
     
     ASSERT(false, "Could not load the permutation necessary. This is a bug.");
     return {};
 }