promote content scope to base layer, rename as 'access'; generalize based just on list of scope refcounts, + optional cvs; eliminate c_scope; replace dasm_scope with access as well

This commit is contained in:
Ryan Fleury
2025-09-18 15:21:22 -07:00
parent 5381307e90
commit 1b93dbd4bd
15 changed files with 203 additions and 308 deletions
+3 -3
View File
@@ -266,7 +266,7 @@ tex_u2x_dequeue_req(U128 *hash_out, TEX_Topology *top_out)
ASYNC_WORK_DEF(tex_xfer_work)
{
ProfBeginFunction();
C_Scope *scope = c_scope_open();
Access *access = access_open();
//- rjf: decode
U128 hash = {0};
@@ -297,7 +297,7 @@ ASYNC_WORK_DEF(tex_xfer_work)
String8 data = {0};
if(got_task)
{
data = c_data_from_hash(scope, hash);
data = c_data_from_hash(access, hash);
}
//- rjf: data * topology -> texture
@@ -322,7 +322,7 @@ ASYNC_WORK_DEF(tex_xfer_work)
}
}
c_scope_close(scope);
access_close(access);
ProfEnd();
return 0;
}