mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
samplerjit: Refactor and reuse constant pool.
It's just here to be rip accessible, the fixed values can be output just once.
This commit is contained in:
1 parent
40240be91c
commit
91c9343e87
3 files changed
+90
-51
No files matched your search
@@ -119,6 +119,20 @@ void SamplerJitCache::Clear() {
|
||||
ClearCodeSpace(0);
|
||||
cache_.clear();
|
||||
addresses_.clear();
|
||||
|
||||
const10All16_ = nullptr;
|
||||
const10Low_ = nullptr;
|
||||
const10All8_ = nullptr;
|
||||
|
||||
constWidth256f_ = nullptr;
|
||||
constHeight256f_ = nullptr;
|
||||
constWidthMinus1i_ = nullptr;
|
||||
constHeightMinus1i_ = nullptr;
|
||||
|
||||
constOnes32_ = nullptr;
|
||||
constOnes16_ = nullptr;
|
||||
constUNext_ = nullptr;
|
||||
constVNext_ = nullptr;
|
||||
}
|
||||
|
||||
void SamplerJitCache::Describe(const std::string &message) {
|
||||
|
||||
Reference in new issue
Block a user