/
redgpu
/
raygpu
Обзор
Документация
Войти
/
redgpu
/
raygpu
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
amalgamation/SPIRV-Reflect/examples/common.h
14 строк
633 B
manuel5975p
Amalgamation build and Makefile
10 мар 2025, 20:40
10 мар 2025, 20:40
cdba23f
Код
Авторство
О чём код?
#ifndef SPIRV_REFLECT_EXAMPLES_COMMON_H #define SPIRV_REFLECT_EXAMPLES_COMMON_H #include <iostream> #include "spirv_reflect.h" void PrintModuleInfo(std::ostream& os, const SpvReflectShaderModule& obj, const char* indent = ""); void PrintDescriptorSet(std::ostream& os, const SpvReflectDescriptorSet& obj, const char* indent = ""); void PrintDescriptorBinding(std::ostream& os, const SpvReflectDescriptorBinding& obj, bool write_set, const char* indent = ""); void PrintInterfaceVariable(std::ostream& os, SpvSourceLanguage src_lang, const SpvReflectInterfaceVariable& obj, const char* indent); #endif