Searched refs:isScratch (Results 1 – 17 of 17) sorted by relevance
30 bool isScratch() const { in isScratch() function36 return this->isScratch() && !fResource->internalHasRef(); in isUsableAsScratch()
247 if (resource->cacheAccess().isScratch()) { in update()
151 bool isScratch() const { return fCursor < 0; } in isScratch() function720 if (!Forward && fNext && fNext->isScratch()) { in advance()725 SkASSERT(!fNext || !fNext->isScratch()); in advance()
216 SkASSERT(fHead.fPrev->isScratch()); in addBlock()272 SkASSERT(!prev && (!fHead.fPrev || fHead.fPrev->isScratch())); in validate()
30 bool isScratch() const { in isScratch() function
241 if (resource->cacheAccess().isScratch()) { in update()
380 if (resource->internalHasRef() || !resource->cacheAccess().isScratch()) { in operator ()()977 if (resource->cacheAccess().isScratch()) { in validate()
86 } else if (instr->isScratch() || instr->isGlobal()) { in form_hard_clauses()
458 bool lds_scratch_global = (instr->isScratch() || instr->isGlobal()) && instr->flatlike().lds; in handle_instruction_gfx6()785 if (instr->isVMEM() || instr->isGlobal() || instr->isScratch()) { in handle_instruction_gfx10()814 ctx.has_VMEM = instr->isVMEM() || instr->isGlobal() || instr->isScratch(); in handle_instruction_gfx10()
1195 assert(isScratch()); in scratch()1200 assert(isScratch()); in scratch()1203 constexpr bool isScratch() const noexcept { return format == Format::SCRATCH; } in isScratch() function1342 constexpr bool isFlatLike() const noexcept { return isFlat() || isGlobal() || isScratch(); } in isFlatLike()
450 if ((instr->isVMEM() || instr->isScratch() || instr->isGlobal()) && in collect_preasm_stats()
253 else if (instr->isVMEM() || instr->isScratch() || instr->isGlobal()) in get_vmem_type()
525 if (instr->isScratch()) in emit_instruction()
267 (instr->isScratch() && i == 0); in validate_ir()
1451 else if (instr->isScratch()) { in label_instruction()
746 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()766 REPORTER_ASSERT(reporter, resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()783 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()1313 const bool isScratch = (i % 2 == 0); in test_time_purge() local1316 TestResource* r = isScratch ? TestResource::CreateScratch(gpu, budgeted, property) in test_time_purge()1318 if (!isScratch) { in test_time_purge()
703 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()723 REPORTER_ASSERT(reporter, resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()740 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()