Skip to content

Commit 418dbd6

Browse files
committed
gfx-hal updated, non-normalized coordinates
1 parent 1c822e9 commit 418dbd6

File tree

2 files changed

+28
-16
lines changed

2 files changed

+28
-16
lines changed

Cargo.lock

Lines changed: 27 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libportability-gfx/src/impls.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2605,6 +2605,7 @@ pub extern "C" fn gfxCreateSampler(
26052605
None
26062606
},
26072607
border: [0.0; 4].into(), // TODO
2608+
normalized: info.unnormalizedCoordinates == VK_FALSE,
26082609
anisotropic: if info.anisotropyEnable == VK_TRUE {
26092610
hal::image::Anisotropic::On(info.maxAnisotropy as _)
26102611
} else {

0 commit comments

Comments
 (0)