mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-14 16:12:24 -07:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user