mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-25 00:04:15 +00:00
fix shader macro for geometry stages (#1823)
This commit is contained in:
parent
f19ba2d0ed
commit
3054690ed7
@ -64,9 +64,11 @@ fn write_shader_execution(execution: &ShaderExecution) -> TokenStream {
|
||||
ShaderExecution::Geometry(::vulkano::shader::GeometryShaderExecution { input }) => {
|
||||
let input = format_ident!("{}", format!("{:?}", input));
|
||||
quote! {
|
||||
::vulkano::shader::ShaderExecution::Geometry {
|
||||
input: GeometryShaderInput::#input,
|
||||
}
|
||||
::vulkano::shader::ShaderExecution::Geometry(
|
||||
::vulkano::shader::GeometryShaderExecution {
|
||||
input: ::vulkano::shader::GeometryShaderInput::#input
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
ShaderExecution::Fragment => quote! { ::vulkano::shader::ShaderExecution::Fragment },
|
||||
|
Loading…
Reference in New Issue
Block a user