Move shader state mapping to renderer gl

This commit is contained in:
2026-06-02 06:51:31 +02:00
parent 47eb1ec0b2
commit 9e0a88726c
7 changed files with 111 additions and 22 deletions

View File

@@ -80,6 +80,12 @@ struct OpenGlReadbackFormat {
[[nodiscard]] std::uint32_t static_draw_buffer_usage() noexcept;
[[nodiscard]] std::uint32_t vertex_attribute_float_component_type() noexcept;
[[nodiscard]] std::uint32_t vertex_attribute_not_normalized() noexcept;
[[nodiscard]] std::uint32_t vertex_shader_stage() noexcept;
[[nodiscard]] std::uint32_t fragment_shader_stage() noexcept;
[[nodiscard]] std::uint32_t shader_compile_status_query() noexcept;
[[nodiscard]] std::uint32_t program_link_status_query() noexcept;
[[nodiscard]] std::uint32_t active_uniform_count_query() noexcept;
[[nodiscard]] std::uint32_t matrix_uniform_not_transposed() noexcept;
[[nodiscard]] std::uint32_t texture_cube_map_target() noexcept;
[[nodiscard]] std::uint32_t cube_map_allocation_face_texture_target(std::uint32_t face_index) noexcept;
[[nodiscard]] std::span<const std::uint32_t> panopainter_cube_face_texture_targets() noexcept;