Skip to content

Commit

Permalink
Merge #100
Browse files Browse the repository at this point in the history
100: Fix vertex format mapping r=kvark a=lain-dono

Patch for #99.

Co-authored-by: Lain-dono <lain.dono@gmail.com>
  • Loading branch information
bors[bot] and lain-dono committed Mar 11, 2019
2 parents 004b43c + c0b84b3 commit 9f70c2e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions wgpu-native/src/conv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -373,11 +373,11 @@ pub fn map_vertex_format(vertex_format: pipeline::VertexFormat) -> hal::format::
Char2 => H::Rg8Int,
Char3 => H::Rgb8Int,
Char4 => H::Rgba8Int,
UcharNorm => H::R8Srgb,
Uchar2Norm => H::Rg8Srgb,
Uchar3Norm => H::Rgb8Srgb,
Uchar4Norm => H::Rgba8Srgb,
Uchar4NormBgra => H::Bgra8Srgb,
UcharNorm => H::R8Unorm,
Uchar2Norm => H::Rg8Unorm,
Uchar3Norm => H::Rgb8Unorm,
Uchar4Norm => H::Rgba8Unorm,
Uchar4NormBgra => H::Bgra8Unorm,
CharNorm => H::R8Inorm,
Char2Norm => H::Rg8Inorm,
Char3Norm => H::Rgb8Inorm,
Expand Down

0 comments on commit 9f70c2e

Please sign in to comment.