mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Buildfix
This commit is contained in:
parent
d5bfc1b5eb
commit
1c2f11a468
2 changed files with 6 additions and 2 deletions
|
@ -3096,7 +3096,7 @@ void TextureCacheCommon::DrawImGuiDebug(uint64_t &selectedTextureId) const {
|
|||
|
||||
ImGui::SameLine();
|
||||
ImGui::BeginChild("right", ImVec2(0.f, 0.0f));
|
||||
if (ImGui::CollapsingHeader("Texture", ImGuiTreeNodeFlags_DefaultOpen)) {
|
||||
if (ImGui::CollapsingHeader("Texture", nullptr, ImGuiTreeNodeFlags_DefaultOpen)) {
|
||||
if (selectedTextureId) {
|
||||
auto iter = cache_.find(selectedTextureId);
|
||||
if (iter != cache_.end()) {
|
||||
|
@ -3143,7 +3143,7 @@ void TextureCacheCommon::DrawImGuiDebug(uint64_t &selectedTextureId) const {
|
|||
}
|
||||
}
|
||||
|
||||
if (ImGui::CollapsingHeader("Texture Cache State"), ImGuiTreeNodeFlags_DefaultOpen) {
|
||||
if (ImGui::CollapsingHeader("Texture Cache State", nullptr, ImGuiTreeNodeFlags_DefaultOpen)) {
|
||||
ImGui::Text("Cache: %d textures, size est %d", (int)cache_.size(), cacheSizeEstimate_);
|
||||
if (!secondCache_.empty()) {
|
||||
ImGui::Text("Second: %d textures, size est %d", (int)secondCache_.size(), secondCacheSizeEstimate_);
|
||||
|
@ -3168,5 +3168,6 @@ void TextureCacheCommon::DrawImGuiDebug(uint64_t &selectedTextureId) const {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
ImGui::EndChild();
|
||||
}
|
||||
|
|
|
@ -1098,6 +1098,9 @@ bool TestBuffer() {
|
|||
return true;
|
||||
}
|
||||
|
||||
#if defined(__GNUC__) || defined(__clang__) || defined(__INTEL_COMPILER)
|
||||
[[gnu::target("sse4.1")]]
|
||||
#endif
|
||||
bool TestSIMD() {
|
||||
#if PPSSPP_ARCH(SSE2)
|
||||
__m128i x = _mm_set_epi16(0, 0x4444, 0, 0x3333, 0, 0x2222, 0, 0x1111);
|
||||
|
|
Loading…
Add table
Reference in a new issue