Global: Cleanup some unreferenced warnings.

This commit is contained in:
Unknown W. Brackets committed 2022-08-13 12:43:14 -07:00
1 parent ca4a0a848a
commit cf030c3bce
7 files changed
+13 -19

No files matched your search

+1 -15
View File
@@ -217,7 +217,7 @@ u32 GetTextureBufw(int level, u32 texaddr, GETextureFormat format) {
return bufw;
}
// Is this compatible with QuickTexHashNEON/SSE?
// Matches QuickTexHashNEON/SSE, see #7029.
static u32 QuickTexHashNonSSE(const void *checkp, u32 size) {
u32 check = 0;
@@ -269,20 +269,6 @@ static u32 QuickTexHashNonSSE(const void *checkp, u32 size) {
return check;
}
static u32 QuickTexHashBasic(const void *checkp, u32 size) {
u32 check = 0;
const u32 size_u32 = size / 4;
const u32 *p = (const u32 *)checkp;
for (u32 i = 0; i < size_u32; i += 4) {
check += p[i + 0];
check ^= p[i + 1];
check += p[i + 2];
check ^= p[i + 3];
}
return check;
}
u32 StableQuickTexHash(const void *checkp, u32 size) {
#if defined(_M_SSE)
return QuickTexHashSSE2(checkp, size);