Replace some signed divison in SoftGPU

This also adds a few bitwise operations to Vec4<int> and further
SIMDifies it.
Also, fixes unrelated warning.
This commit is contained in:
fp64 committed 2023-06-29 16:43:21 -04:00
1 parent 51e71bd726
commit f133739cd0
4 files changed
+84 -17

No files matched your search

+1 -1
View File
@@ -258,7 +258,7 @@ void *AllocateAlignedMemory(size_t size, size_t alignment) {
#endif
#endif
_assert_msg_(ptr != nullptr, "Failed to allocate aligned memory of size %lu", size);
_assert_msg_(ptr != nullptr, "Failed to allocate aligned memory of size %llu", (unsigned long long)size);
return ptr;
}