Toast Engine
Loading...
Searching...
No Matches
spirv_entry_points.hpp File Reference
#include <cstddef>
#include <cstdint>
#include <span>
#include <string>
#include <string_view>
#include <toast/export.hpp>
#include <vector>
Include dependency graph for spirv_entry_points.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum class  ExecutionModel : uint16_t {
  vertex = 0 , fragment = 4 , compute = 5 , task = 5364 ,
  mesh = 5365
}

Functions

auto renderer::spirv::entryPointNames (std::span< const std::byte > spirv, ExecutionModel model) -> std::vector< std::string >
auto renderer::spirv::resolveEntryPoint (std::span< const std::byte > spirv, ExecutionModel model, const std::string &requested, std::string_view debug_name) -> std::string
 Slang renames the only entry point of a module to main.

Detailed Description

Author
dario
Date
14/08/2026