aboutsummaryrefslogtreecommitdiff
path: root/src/tests/video_core/descriptor_table.cpp
Commit message (Collapse)AuthorAgeFilesLines
* tests: give the descriptor table mocks a GetPointer hookkraibse13 hours1-0/+10
| | | | | | | | | | | DescriptorTable::Read calls MemoryManager::GetPointer for entries that fall inside a single page, which neither mock in this test implemented, so the template failed to instantiate and the tests target stopped building. Return nullptr from both mocks so the tests keep exercising the generic ReadBlockUnsafe path they are written for. Assisted-by: DeepSeek V4.1 Flash (diagnosis and patch)
* texture_cache: clear only exposed descriptor bitmap wordssnowstormxd32 hours1-0/+36
| | | | | | | Avoid zeroing unused preallocation during invalidation and pool refresh. Clear newly exposed words whenever limits grow, bound clearing to allocated storage, and test word/allocation boundaries, shrink/regrowth and malformed large limits. Assisted-by: Codex (implementation, review, commit text and automated validation) (cherry picked from commit 4bc1ae01f79cef43be016504c850ca8a6998457a)
* tests: verify deferred descriptors against eager invalidationsnowstormxd32 hours1-0/+134
Exercise 40,000 mutations and table switches plus repeated deletion across five channels. Make the existing descriptor read work with a memory reader fixture and add an explicit CPU benchmark with opaque invalidation calls. Assisted-by: Codex (implementation, review, commit text and automated validation) (cherry picked from commit 3b62a551da8ec0b4edf19a1c4e14fa2519dd20e2)