mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-25 00:04:11 +00:00
Compile fixes
This commit is contained in:
parent
c6ffb40b76
commit
7fd517a384
@ -440,7 +440,7 @@ impl<'tcx> CodegenCx<'tcx> {
|
||||
// tldr, the pointer here is only needed for the offset
|
||||
let value = match alloc
|
||||
.inner()
|
||||
.read_scalar(self, alloc_range(*offset, size))
|
||||
.read_scalar(self, alloc_range(*offset, size), primitive.is_ptr())
|
||||
.unwrap()
|
||||
{
|
||||
ScalarMaybeUninit::Scalar(scalar) => {
|
||||
|
Loading…
Reference in New Issue
Block a user