mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-25 08:14:12 +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
|
// tldr, the pointer here is only needed for the offset
|
||||||
let value = match alloc
|
let value = match alloc
|
||||||
.inner()
|
.inner()
|
||||||
.read_scalar(self, alloc_range(*offset, size))
|
.read_scalar(self, alloc_range(*offset, size), primitive.is_ptr())
|
||||||
.unwrap()
|
.unwrap()
|
||||||
{
|
{
|
||||||
ScalarMaybeUninit::Scalar(scalar) => {
|
ScalarMaybeUninit::Scalar(scalar) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user