capi: Fix Metal error message, function header
This commit is contained in:
parent
57f2dabf0c
commit
1f4f1b6c12
|
@ -1334,7 +1334,7 @@ typedef struct libra_instance_t {
|
||||||
/// struct.
|
/// struct.
|
||||||
PFN_libra_mtl_filter_chain_frame mtl_filter_chain_frame;
|
PFN_libra_mtl_filter_chain_frame mtl_filter_chain_frame;
|
||||||
|
|
||||||
/// Free a D3D11 filter chain.
|
/// Free a Metal filter chain.
|
||||||
///
|
///
|
||||||
/// The resulting value in `chain` then becomes null.
|
/// The resulting value in `chain` then becomes null.
|
||||||
/// ## Safety
|
/// ## Safety
|
||||||
|
|
|
@ -59,7 +59,7 @@ pub enum LibrashaderError {
|
||||||
doc(cfg(all(target_vendor = "apple", feature = "runtime-metal")))
|
doc(cfg(all(target_vendor = "apple", feature = "runtime-metal")))
|
||||||
)]
|
)]
|
||||||
#[cfg(all(target_vendor = "apple", feature = "runtime-metal"))]
|
#[cfg(all(target_vendor = "apple", feature = "runtime-metal"))]
|
||||||
#[error("There was an error in the D3D12 filter chain.")]
|
#[error("There was an error in the Metal filter chain.")]
|
||||||
MetalFilterError(#[from] librashader::runtime::mtl::error::FilterChainError),
|
MetalFilterError(#[from] librashader::runtime::mtl::error::FilterChainError),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue