reflect: fix spirv fragment output actually was vertex

This commit is contained in:
chyyran 2022-12-10 01:25:19 -05:00
parent c89ee6da1b
commit bf840d02e4

View file

@ -24,7 +24,7 @@ impl FromCompilation<GlslangCompilation> for SpirV {
compile: GlslangCompilation,
) -> Result<CompilerBackend<Self::Output>, ShaderReflectError> {
let vertex = compile.vertex.as_binary().to_vec();
let fragment = compile.vertex.as_binary().to_vec();
let fragment = compile.fragment.as_binary().to_vec();
let reflect = GlslReflect::try_from(compile)?;
Ok(CompilerBackend {
backend: WriteSpirV {