Run spirv-opt when compiling shaders

This commit is contained in:
Patrick Nicolas
2025-09-04 17:06:19 +02:00
parent c80ba550eb
commit cc5990a513
7 changed files with 62 additions and 17 deletions
-3
View File
@@ -35,7 +35,6 @@
#include <glm/gtc/matrix_access.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <glm/gtx/quaternion.hpp>
#include <map>
#include <memory>
#include <ranges>
#include <spdlog/spdlog.h>
@@ -43,8 +42,6 @@
#include <vulkan/vulkan_enums.hpp>
#include <vulkan/vulkan_structs.hpp>
extern const std::map<std::string, std::vector<uint32_t>> shaders;
// TODO move in lobby?
vk::Format scene_renderer::find_usable_image_format(
vk::raii::PhysicalDevice physical_device,