Skip to content

Commit

Permalink
Fixed Image::gather() not always returning a Vec4
Browse files Browse the repository at this point in the history
  • Loading branch information
oisyn committed Apr 21, 2023
1 parent 7b71878 commit 61144d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/spirv-std/src/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ impl<
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
component: u32,
) -> SampledType::SampleResult
) -> SampledType::Vec4
where
Self: HasGather,
F: Float,
Expand Down

0 comments on commit 61144d4

Please sign in to comment.