[VarStore] Fix storage shift

Use all bits. That's what I meant.
This commit is contained in:
Behdad Esfahbod committed 2025-04-04 12:41:38 -06:00
1 parent 089a9961ad
commit 7ba4e87934
1 file changed
+3 -3
+3 -3
View File
@@ -2548,9 +2548,9 @@ struct SparseVarRegionAxis
DEFINE_SIZE_STATIC (8);
};
#define REGION_CACHE_ITEM_CACHE_INVALID (1 << 30)
#define REGION_CACHE_ITEM_MULTIPLIER (float (1 << 19))
#define REGION_CACHE_ITEM_DIVISOR (1.f / float (1 << 19))
#define REGION_CACHE_ITEM_CACHE_INVALID (-1 << 31)
#define REGION_CACHE_ITEM_MULTIPLIER (float (1 << 30))
#define REGION_CACHE_ITEM_DIVISOR (1.f / float (1 << 30))
struct VarRegionList
{