laplaceliu/tycho_shader/reflect does not have a README file
pub(all) struct ReflectedBinding {
set : Int
binding : Int
kind : ReflectedDescriptorKind
count : Int
name : String
} derive(Eq, Debug)pub(all) struct ReflectedVertexInput {
location : Int
format : ReflectedVertexFormat
name : String
} derive(Eq, Debug)pub(all) struct SpirvReflection {
stage : ReflectedStage
entry_point : String
vertex_inputs : Array[ReflectedVertexInput]
bindings : Array[ReflectedBinding]
push_constant_size : Int
color_output_count : Int
local_size : (Int, Int, Int)
}Install
Download zipGLSL (glslangValidator) and Slang shader compilation, pure-MoonBit SPIR-V reflection, and PPM/BMP image loading helpers for Tycho