2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-18 10:05:24 +00:00

Create xxhash_impl.{c,h} for ease of use & universal builds

This commit is contained in:
2022-02-27 11:05:48 -05:00
parent b02ec12049
commit ad1453ac08
4 changed files with 11 additions and 8 deletions

View File

@@ -4,10 +4,7 @@
#include <utility>
#include <dawn/webgpu_cpp.h>
#include <xxhash.h>
#if defined(__x86_64__) || defined(__i386__) || defined(_M_IX86) || defined(_M_X64)
#include <xxh_x86dispatch.h>
#endif
#include <xxhash_impl.h>
#ifndef ALIGN
#define ALIGN(x, a) (((x) + ((a)-1)) & ~((a)-1))