mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
asahi: make UB easier to see
would've saved us Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26614>
This commit is contained in:
parent
a12d2689d8
commit
0805fef082
1 changed files with 1 additions and 1 deletions
|
|
@ -472,6 +472,6 @@ agx_get_gpu_timestamp(struct agx_device *dev)
|
|||
__asm__ volatile("rdtsc" : "=a"(low), "=d"(high));
|
||||
return (uint64_t)low | ((uint64_t)high << 32);
|
||||
#else
|
||||
unreachable("Kernel support for fetching timestamps pending");
|
||||
#error "invalid architecture for asahi"
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue