Skip to content

Commit

Permalink
Add missing SceShaccCg functions
Browse files Browse the repository at this point in the history
Neither of these function names are the official ones.

sceShaccCgReleaseCompiler releases all resources allocated by the compiler. Should be called before unloading the libshacccg module
  • Loading branch information
bythos14 authored and d3m3vilurr committed Jan 28, 2022
1 parent 5bd7340 commit f5b4868
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions db/360/SceShaccCg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ modules:
sceShaccCgGetSamplerQueryFormatPrecision: 0xA067C481
sceShaccCgGetSamplerQueryFormatPrecisionCount: 0x268FAEE9
sceShaccCgGetSamplerQueryFormatWidth: 0xA56B1A5B
sceShaccCgGetVersionString: 0x7F430CCD
sceShaccCgInitializeCallbackList: 0xA8C2C1C8
sceShaccCgInitializeCompileOptions: 0x3B58AFA0
sceShaccCgIsParameterReferenced: 0x0E1285A6
sceShaccCgIsParameterRegFormat: 0xA13A8A1E
sceShaccCgReleaseCompiler: 0x95F57A23
sceShaccCgSetDefaultAllocator: 0x6F01D573
4 changes: 4 additions & 0 deletions include/psp2/shacccg.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ void sceShaccCgInitializeCallbackList(
void sceShaccCgDestroyCompileOutput(
SceShaccCgCompileOutput const *output);

void sceShaccCgReleaseCompiler(void);

const char *sceShaccCgGetVersionString(void);

#ifdef __cplusplus
}
#endif /* __cplusplus */
Expand Down

0 comments on commit f5b4868

Please sign in to comment.