1#ifndef LIBSBX_GRAPHICS_PIPELINE_COMPILER_HPP_
2#define LIBSBX_GRAPHICS_PIPELINE_COMPILER_HPP_
4#include <vulkan/vulkan.hpp>
7#include <slang-com-ptr.h>
8#include <slang-com-helper.h>
10#include <libsbx/utility/logger.hpp>
11#include <libsbx/utility/exception.hpp>
12#include <libsbx/utility/target.hpp>
14#include <libsbx/memory/blob.hpp>
16namespace sbx::graphics {
30 std::string entry_point{
"main"};
31 std::vector<std::string> specializations{};
34 std::filesystem::path path{};
35 std::vector<define> defines{};
36 std::unordered_map<SlangStage, compile_request::per_stage> per_stage{};
41 std::unordered_map<SlangStage, std::vector<std::uint32_t>> code;
52 static auto _read_file(
const std::filesystem::path& path) -> std::string;
56 Slang::ComPtr<slang::IGlobalSession> _global_session;
Definition: compiler.hpp:18
Definition: compiler.hpp:29
Definition: compiler.hpp:27
Definition: compiler.hpp:40
Definition: compiler.hpp:22