Skip to content

Commit

Permalink
Merge #196
Browse files Browse the repository at this point in the history
196: gfx-hal updated, non-normalized coordinates r=kvark a=kvark



Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
  • Loading branch information
bors[bot] and kvark committed Jul 19, 2019
2 parents 1c822e9 + 418dbd6 commit 869ea61
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 16 deletions.
43 changes: 27 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions libportability-gfx/src/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2605,6 +2605,7 @@ pub extern "C" fn gfxCreateSampler(
None
},
border: [0.0; 4].into(), // TODO
normalized: info.unnormalizedCoordinates == VK_FALSE,
anisotropic: if info.anisotropyEnable == VK_TRUE {
hal::image::Anisotropic::On(info.maxAnisotropy as _)
} else {
Expand Down

0 comments on commit 869ea61

Please sign in to comment.