mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-30 18:14:18 +01:00
Derivative tests
This commit is contained in:
1 parent
31f692a077
commit
1c59fae6b0
7 files changed
+81
-1
No files matched your search
@@ -110,7 +110,7 @@ pub fn map_derivative_axis(word: &str) -> Option<crate::DerivativeAxis> {
|
||||
match word {
|
||||
"dpdx" => Some(crate::DerivativeAxis::X),
|
||||
"dpdy" => Some(crate::DerivativeAxis::Y),
|
||||
"dwidth" => Some(crate::DerivativeAxis::Width),
|
||||
"fwidth" => Some(crate::DerivativeAxis::Width),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user