reflect: fix spirv fragment output actually was vertex
This commit is contained in:
parent
c89ee6da1b
commit
bf840d02e4
|
@ -24,7 +24,7 @@ impl FromCompilation<GlslangCompilation> for SpirV {
|
||||||
compile: GlslangCompilation,
|
compile: GlslangCompilation,
|
||||||
) -> Result<CompilerBackend<Self::Output>, ShaderReflectError> {
|
) -> Result<CompilerBackend<Self::Output>, ShaderReflectError> {
|
||||||
let vertex = compile.vertex.as_binary().to_vec();
|
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)?;
|
let reflect = GlslReflect::try_from(compile)?;
|
||||||
Ok(CompilerBackend {
|
Ok(CompilerBackend {
|
||||||
backend: WriteSpirV {
|
backend: WriteSpirV {
|
||||||
|
|
Loading…
Reference in a new issue