Fix AsBindGroupError display for InvalidSamplerType (#16079)
# Objective - Display message for `AsBindGroupError::InvalidSamplerType` was not correctly displaying the binding index ## Solution - Simple typo fix ## Testing - Tested locally
This commit is contained in:
parent
67567702f0
commit
5d1d073c14
@ -359,7 +359,7 @@ pub enum AsBindGroupError {
|
|||||||
/// The bind group could not be generated. Try again next frame.
|
/// The bind group could not be generated. Try again next frame.
|
||||||
#[display("The bind group could not be generated")]
|
#[display("The bind group could not be generated")]
|
||||||
RetryNextUpdate,
|
RetryNextUpdate,
|
||||||
#[display("At binding index{0}, the provided image sampler `{_1}` does not match the required sampler type(s) `{_2}`.")]
|
#[display("At binding index {_0}, the provided image sampler `{_1}` does not match the required sampler type(s) `{_2}`.")]
|
||||||
InvalidSamplerType(u32, String, String),
|
InvalidSamplerType(u32, String, String),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user