# Avoid casting view ids to u32 · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/142a8b68c856264773f9cb593a155de378db87df)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 142a8b68c856264773f9cb593a155de378db87df

Requested commit: 142a8b68c856264773f9cb593a155de378db87df

Commit: 142a8b68c856264773f9cb593a155de378db87df

Tree: 5f07d0c80b15173e6f37588f6dce14f83033aa24

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Avoid casting view ids to u32

Also, it looks like using a u64 directly doesn't work well with Metal
shaders, so we unpack the u64 into two u32s.

```

## Parents

- [a4ef1bc096792e94610ea2bdb38fff1d887db71b](https://git.cafe/gitcafe/zed/commit/a4ef1bc096792e94610ea2bdb38fff1d887db71b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/142a8b68c856264773f9cb593a155de378db87df?format=markdown)
