mirror of https://github.com/xemu-project/xemu.git
15 lines
633 B
C++
15 lines
633 B
C++
#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
|