From 1468fc7d6c233a850b645bf95e10f7aa98d86749 Mon Sep 17 00:00:00 2001 From: boykopovar Date: Sun, 13 Sep 2026 15:17:07 +0300 Subject: [PATCH] refactor(libs): remove function dups from libSceAgcVsh --- core/libs/prx/libSceAgcVsh/Export.cpp | 877 +------------------------- 1 file changed, 3 insertions(+), 874 deletions(-) diff --git a/core/libs/prx/libSceAgcVsh/Export.cpp b/core/libs/prx/libSceAgcVsh/Export.cpp index 4d0a5e24c..60c54f3fb 100644 --- a/core/libs/prx/libSceAgcVsh/Export.cpp +++ b/core/libs/prx/libSceAgcVsh/Export.cpp @@ -5,880 +5,9 @@ extern "C" { -uint32_t* APS5_VABI sceAgcAcbAcquireMem(CommandBuffer* buf, uint32_t gcr_cntl, const volatile void* base, uint64_t size_bytes, uint32_t poll_cycles) { - (void)buf; - (void)gcr_cntl; - (void)base; - (void)size_bytes; - (void)poll_cycles; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t APS5_VABI sceAgcAcbAcquireMemGetSize(void) { - NotImplemented_nid_no_patch(__func__); - return 0; -} - -uint32_t* APS5_VABI sceAgcAcbCondExec(CommandBuffer* buf, const volatile uint32_t* address, uint32_t num_dwords) { - (void)buf; - (void)address; - (void)num_dwords; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t APS5_VABI sceAgcAcbCondExecGetSize(void) { - NotImplemented_nid_no_patch(__func__); - return 0; -} - -uint32_t* APS5_VABI sceAgcAcbCopyData(CommandBuffer* buf, uint8_t dst, uint8_t dst_cache_policy, uint64_t dst_address, uint8_t src, uint8_t src_cache_policy, uint64_t src_address_or_immediate, uint8_t item_size, uint8_t write_confirm) { - (void)buf; - (void)dst; - (void)dst_cache_policy; - (void)dst_address; - (void)src; - (void)src_cache_policy; - (void)src_address_or_immediate; - (void)item_size; - (void)write_confirm; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcAcbDispatchIndirect(CommandBuffer* buf, const volatile void* indirect_args, uint32_t modifier) { - (void)buf; - (void)indirect_args; - (void)modifier; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcAcbDmaData(CommandBuffer* buf, uint8_t dst, uint8_t dst_cache_policy, uint64_t dst_address_or_offset, uint8_t src, uint8_t src_cache_policy, uint64_t src_address_or_offset_or_immediate, uint32_t num_bytes, uint8_t wait_for_previous, uint8_t write_confirm) { - (void)buf; - (void)dst; - (void)dst_cache_policy; - (void)dst_address_or_offset; - (void)src; - (void)src_cache_policy; - (void)src_address_or_offset_or_immediate; - (void)num_bytes; - (void)wait_for_previous; - (void)write_confirm; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcAcbEventWrite(CommandBuffer* buf, uint8_t event_type, const volatile void* address) { - (void)buf; - (void)event_type; - (void)address; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t APS5_VABI sceAgcAcbJumpGetSize(void) { - NotImplemented_nid_no_patch(__func__); - return 0; -} - -uint32_t* APS5_VABI sceAgcAcbPopMarker(CommandBuffer* buf) { - (void)buf; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcAcbPushMarker(CommandBuffer* buf, const char* str, uint32_t color) { - (void)buf; - (void)str; - (void)color; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcAcbResetQueue(CommandBuffer* buf, uint32_t op) { - (void)buf; - (void)op; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcAcbSetMarker(CommandBuffer* buf, const char* str, uint32_t color) { - (void)buf; - (void)str; - (void)color; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcAcbWaitRegMem(CommandBuffer* buf, uint8_t size, uint8_t compare_function, uint8_t cache_policy, const volatile void* address, uint64_t reference, uint64_t mask, uint32_t poll_cycles) { - (void)buf; - (void)size; - (void)compare_function; - (void)cache_policy; - (void)address; - (void)reference; - (void)mask; - (void)poll_cycles; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcAcbWriteData(CommandBuffer* buf, uint8_t dst, uint8_t cache_policy, uint64_t address_or_offset, const void* data, uint32_t num_dwords, uint8_t increment, uint8_t write_confirm) { - (void)buf; - (void)dst; - (void)cache_policy; - (void)address_or_offset; - (void)data; - (void)num_dwords; - (void)increment; - (void)write_confirm; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcCbBranch(CommandBuffer* buf, uint8_t mode, uint8_t compare_function, const volatile uint64_t* compare_addr, uint64_t mask, uint64_t reference, uint8_t cache_policy1, const volatile uint32_t* buffer1, uint32_t size_in_dwords1, uint8_t cache_policy2, const volatile uint32_t* buffer2, uint32_t size_in_dwords2) { - (void)buf; - (void)mode; - (void)compare_function; - (void)compare_addr; - (void)mask; - (void)reference; - (void)cache_policy1; - (void)buffer1; - (void)size_in_dwords1; - (void)cache_policy2; - (void)buffer2; - (void)size_in_dwords2; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcCbDispatch(CommandBuffer* buf, uint32_t thread_group_x, uint32_t thread_group_y, uint32_t thread_group_z, uint32_t modifier) { - (void)buf; - (void)thread_group_x; - (void)thread_group_y; - (void)thread_group_z; - (void)modifier; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t APS5_VABI sceAgcCbDispatchGetSize(void) { - NotImplemented_nid_no_patch(__func__); - return 0; -} - -uint32_t* APS5_VABI sceAgcCbNop_nid_postfix(CommandBuffer* buf, uint32_t size_in_dwords) { - (void)buf; - (void)size_in_dwords; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t APS5_VABI sceAgcCbNopGetSize(uint32_t size_in_dwords) { - (void)size_in_dwords; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -uint32_t APS5_VABI sceAgcCbQueueEndOfPipeActionGetSize(void) { - NotImplemented_nid_no_patch(__func__); - return 0; -} - -uint32_t* APS5_VABI sceAgcCbReleaseMem(CommandBuffer* buf, uint8_t action, uint16_t gcr_cntl, uint8_t dst, uint8_t cache_policy, const volatile Label* address, uint8_t data_sel, uint64_t data, uint16_t gds_offset, uint16_t gds_size, uint8_t interrupt, uint32_t interrupt_ctx_id) { - (void)buf; - (void)action; - (void)gcr_cntl; - (void)dst; - (void)cache_policy; - (void)address; - (void)data_sel; - (void)data; - (void)gds_offset; - (void)gds_size; - (void)interrupt; - (void)interrupt_ctx_id; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcCbSetShRegisterRangeDirect(CommandBuffer* buf, uint32_t offset, const uint32_t* values, uint32_t num_values) { - (void)buf; - (void)offset; - (void)values; - (void)num_values; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t APS5_VABI sceAgcCbSetShRegisterRangeDirectGetSize(uint32_t num_values) { - (void)num_values; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -uint32_t* APS5_VABI sceAgcCbSetShRegistersDirect(CommandBuffer* buf, const volatile ShaderRegister* regs, uint32_t num_regs) { - (void)buf; - (void)regs; - (void)num_regs; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -int APS5_VABI sceAgcCondExecPatchSetCommandAddress(uint32_t* cmd, const volatile uint32_t* command) { - (void)cmd; - (void)command; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcCondExecPatchSetEnd(uint32_t* cmd, const volatile uint32_t* buffer) { - (void)cmd; - (void)buffer; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcCreatePrimState(ShaderRegister* cx_regs, ShaderRegister* uc_regs, const Shader* hs, const Shader* gs, uint32_t prim_type) { - (void)cx_regs; - (void)uc_regs; - (void)hs; - (void)gs; - (void)prim_type; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcCreateShader(Shader** dst, void* header, const volatile void* code) { - (void)dst; - (void)header; - (void)code; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -uint32_t* APS5_VABI sceAgcDcbAcquireMem(CommandBuffer* buf, uint8_t engine, uint32_t cb_db_op, uint32_t gcr_cntl, const volatile void* base, uint64_t size_bytes, uint32_t poll_cycles) { - (void)buf; - (void)engine; - (void)cb_db_op; - (void)gcr_cntl; - (void)base; - (void)size_bytes; - (void)poll_cycles; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t APS5_VABI sceAgcDcbAcquireMemGetSize(void) { - NotImplemented_nid_no_patch(__func__); - return 0; -} - -uint32_t* APS5_VABI sceAgcDcbCondExec(CommandBuffer* buf, const volatile uint32_t* address, uint32_t num_dwords) { - (void)buf; - (void)address; - (void)num_dwords; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t APS5_VABI sceAgcDcbCondExecGetSize(void) { - NotImplemented_nid_no_patch(__func__); - return 0; -} - -uint32_t* APS5_VABI sceAgcDcbContextStateOp(CommandBuffer* buf, uint32_t operation) { - (void)buf; - (void)operation; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint64_t APS5_VABI sceAgcDcbContextStateOpGetSize(uint32_t operation) { - (void)operation; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -uint32_t* APS5_VABI sceAgcDcbCopyData(CommandBuffer* buf, uint8_t dst, uint8_t dst_cache_policy, uint64_t dst_address, uint8_t src, uint8_t src_cache_policy, uint64_t src_address_or_immediate, uint8_t item_size, uint8_t write_confirm) { - (void)buf; - (void)dst; - (void)dst_cache_policy; - (void)dst_address; - (void)src; - (void)src_cache_policy; - (void)src_address_or_immediate; - (void)item_size; - (void)write_confirm; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbDispatchIndirect(CommandBuffer* buf, uint32_t data_offset_in_bytes, uint32_t flags) { - (void)buf; - (void)data_offset_in_bytes; - (void)flags; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t APS5_VABI sceAgcDcbDispatchIndirectGetSize(void) { - NotImplemented_nid_no_patch(__func__); - return 0; -} - -uint32_t* APS5_VABI sceAgcDcbDmaData(CommandBuffer* buf, uint8_t engine, uint8_t dst, uint8_t dst_cache_policy, uint64_t dst_address_or_offset, uint8_t src, uint8_t src_cache_policy, uint64_t src_address_or_offset_or_immediate, uint32_t num_bytes, uint8_t wait_for_previous, uint8_t write_confirm, uint8_t block_engine) { - (void)buf; - (void)engine; - (void)dst; - (void)dst_cache_policy; - (void)dst_address_or_offset; - (void)src; - (void)src_cache_policy; - (void)src_address_or_offset_or_immediate; - (void)num_bytes; - (void)wait_for_previous; - (void)write_confirm; - (void)block_engine; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbDrawIndex(CommandBuffer* buf, uint32_t index_count, const volatile void* index_addr, uint64_t modifier) { - (void)buf; - (void)index_count; - (void)index_addr; - (void)modifier; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbDrawIndexAuto(CommandBuffer* buf, uint32_t index_count, uint64_t modifier) { - (void)buf; - (void)index_count; - (void)modifier; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t APS5_VABI sceAgcDcbDrawIndexAutoGetSize(void) { - NotImplemented_nid_no_patch(__func__); - return 0; -} - -uint32_t APS5_VABI sceAgcDcbDrawIndexGetSize(void) { - NotImplemented_nid_no_patch(__func__); - return 0; -} - -uint32_t* APS5_VABI sceAgcDcbDrawIndexIndirect(CommandBuffer* buf, uint32_t data_offset_in_bytes, uint64_t modifier) { - (void)buf; - (void)data_offset_in_bytes; - (void)modifier; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbDrawIndexIndirectMulti(CommandBuffer* buf, uint32_t data_offset_in_bytes, uint32_t count_indirect, uint32_t max_count_or_count, const volatile void* count_addr, uint32_t stride_in_bytes, uint64_t modifier) { - (void)buf; - (void)data_offset_in_bytes; - (void)count_indirect; - (void)max_count_or_count; - (void)count_addr; - (void)stride_in_bytes; - (void)modifier; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbDrawIndexMultiInstanced(CommandBuffer* buf, uint32_t index_count, const volatile void* index_addr, const volatile void* object_ids, uint32_t instance_count, uint64_t modifier) { - (void)buf; - (void)index_count; - (void)index_addr; - (void)object_ids; - (void)instance_count; - (void)modifier; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t APS5_VABI sceAgcDcbDrawIndexMultiInstancedGetSize(void) { - NotImplemented_nid_no_patch(__func__); - return 0; -} - -uint32_t* APS5_VABI sceAgcDcbDrawIndexOffset(CommandBuffer* buf, uint32_t index_offset, uint32_t index_count, uint64_t modifier) { - (void)buf; - (void)index_offset; - (void)index_count; - (void)modifier; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t APS5_VABI sceAgcDcbDrawIndexOffsetGetSize(void) { - NotImplemented_nid_no_patch(__func__); - return 0; -} - -uint32_t* APS5_VABI sceAgcDcbDrawIndirect(CommandBuffer* buf, uint32_t data_offset_in_bytes, uint64_t modifier) { - (void)buf; - (void)data_offset_in_bytes; - (void)modifier; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t APS5_VABI sceAgcDcbDrawIndirectGetSize(void) { - NotImplemented_nid_no_patch(__func__); - return 0; -} - -uint32_t* APS5_VABI sceAgcDcbEventWrite(CommandBuffer* buf, uint8_t event_type, const volatile void* address) { - (void)buf; - (void)event_type; - (void)address; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbGetLodStats(CommandBuffer* buf, uint8_t cache_policy, const volatile void* buffer, uint32_t buffer_size_in_bytes, uint32_t reset_count, uint8_t force_reset, uint8_t report_and_reset, uint32_t reporting_interval_in_100k_clocks) { - (void)buf; - (void)cache_policy; - (void)buffer; - (void)buffer_size_in_bytes; - (void)reset_count; - (void)force_reset; - (void)report_and_reset; - (void)reporting_interval_in_100k_clocks; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbJump(CommandBuffer* buf, uint8_t mode, uint8_t cache_policy, const uint32_t* target, uint32_t size_in_dwords) { - (void)buf; - (void)mode; - (void)cache_policy; - (void)target; - (void)size_in_dwords; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t APS5_VABI sceAgcDcbJumpGetSize(void) { - NotImplemented_nid_no_patch(__func__); - return 0; -} - -uint32_t* APS5_VABI sceAgcDcbPopMarker(CommandBuffer* buf) { - (void)buf; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbPushMarker(CommandBuffer* buf, const char* str, uint32_t color) { - (void)buf; - (void)str; - (void)color; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbResetQueue(CommandBuffer* buf, uint32_t op, uint32_t state) { - (void)buf; - (void)op; - (void)state; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbRewind(CommandBuffer* buf, uint32_t initial_state) { - (void)buf; - (void)initial_state; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t APS5_VABI sceAgcDcbRewindGetSize(void) { - NotImplemented_nid_no_patch(__func__); - return 0; -} - -uint32_t* APS5_VABI sceAgcDcbSetBaseIndirectArgs(CommandBuffer* buf, uint32_t shader_type, const volatile void* indirect_base_addr) { - (void)buf; - (void)shader_type; - (void)indirect_base_addr; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbSetCxRegisterDirect(CommandBuffer* buf, ShaderRegister reg) { - (void)buf; - (void)reg; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t APS5_VABI sceAgcDcbSetCxRegisterDirectGetSize(void) { - NotImplemented_nid_no_patch(__func__); - return 0; -} - -uint32_t* APS5_VABI sceAgcDcbSetCxRegistersIndirect(CommandBuffer* buf, const volatile ShaderRegister* regs, uint32_t num_regs) { - (void)buf; - (void)regs; - (void)num_regs; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbSetFlip(CommandBuffer* buf, uint32_t video_out_handle, int32_t display_buffer_index, uint32_t flip_mode, int64_t flip_arg) { - (void)buf; - (void)video_out_handle; - (void)display_buffer_index; - (void)flip_mode; - (void)flip_arg; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbSetIndexBuffer(CommandBuffer* buf, uint64_t index_addr) { - (void)buf; - (void)index_addr; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbSetIndexCount(CommandBuffer* buf, uint32_t index_count) { - (void)buf; - (void)index_count; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbSetIndexSize(CommandBuffer* buf, uint8_t index_size, uint8_t cache_policy) { - (void)buf; - (void)index_size; - (void)cache_policy; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbSetMarker(CommandBuffer* buf, const char* str, uint32_t color) { - (void)buf; - (void)str; - (void)color; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbSetNumInstances(CommandBuffer* buf, uint32_t num_instances) { - (void)buf; - (void)num_instances; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t APS5_VABI sceAgcDcbSetNumInstancesGetSize(void) { - NotImplemented_nid_no_patch(__func__); - return 0; -} - -uint32_t* APS5_VABI sceAgcDcbSetPredication(CommandBuffer* buf, uint8_t condition, uint8_t op, uint8_t wait_op, const volatile void* address, uint32_t count_in_dwords) { - (void)buf; - (void)condition; - (void)op; - (void)wait_op; - (void)address; - (void)count_in_dwords; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbSetShRegisterDirect(CommandBuffer* buf, ShaderRegister reg) { - (void)buf; - (void)reg; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbSetShRegistersIndirect(CommandBuffer* buf, const volatile ShaderRegister* regs, uint32_t num_regs) { - (void)buf; - (void)regs; - (void)num_regs; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbSetUcRegisterDirect(CommandBuffer* buf, ShaderRegister reg) { - (void)buf; - (void)reg; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbSetUcRegistersIndirect(CommandBuffer* buf, const volatile ShaderRegister* regs, uint32_t num_regs) { - (void)buf; - (void)regs; - (void)num_regs; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbSetWorkloadComplete(CommandBuffer* buf, uint32_t stream_id, uint32_t workload_id) { - (void)buf; - (void)stream_id; - (void)workload_id; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbSetWorkloadsActive(CommandBuffer* buf, uint32_t stream_id, const uint32_t* workload_ids, uint32_t workload_count) { - (void)buf; - (void)stream_id; - (void)workload_ids; - (void)workload_count; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbStallCommandBufferParser(CommandBuffer* buf) { - (void)buf; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t APS5_VABI sceAgcDcbWaitOnAddressGetSize(uint32_t size) { - (void)size; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -uint32_t* APS5_VABI sceAgcDcbWaitRegMem(CommandBuffer* buf, uint8_t size, uint8_t compare_function, uint8_t op, uint8_t cache_policy, const volatile void* address, uint64_t reference, uint64_t mask, uint32_t poll_cycles) { - (void)buf; - (void)size; - (void)compare_function; - (void)op; - (void)cache_policy; - (void)address; - (void)reference; - (void)mask; - (void)poll_cycles; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbWaitUntilSafeForRendering(CommandBuffer* buf, uint32_t video_out_handle, uint32_t display_buffer_index) { - (void)buf; - (void)video_out_handle; - (void)display_buffer_index; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t* APS5_VABI sceAgcDcbWriteData(CommandBuffer* buf, uint8_t dst, uint8_t cache_policy, uint64_t address_or_offset, const void* data, uint32_t num_dwords, uint8_t increment, uint8_t write_confirm) { - (void)buf; - (void)dst; - (void)cache_policy; - (void)address_or_offset; - (void)data; - (void)num_dwords; - (void)increment; - (void)write_confirm; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -uint32_t APS5_VABI sceAgcDcbWriteDataGetSize(uint32_t num_dwords) { - (void)num_dwords; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcDmaDataPatchSetDstAddressOrOffset(uint32_t* cmd, uint64_t dst_address_or_offset) { - (void)cmd; - (void)dst_address_or_offset; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcDmaDataPatchSetSrcAddressOrOffsetOrImmediate(uint32_t* cmd, uint64_t src_address_or_offset_or_immediate) { - (void)cmd; - (void)src_address_or_offset_or_immediate; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcGetDataPacketPayloadAddress(uint32_t** addr, uint32_t* cmd, int type) { - (void)addr; - (void)cmd; - (void)type; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -uint32_t APS5_VABI sceAgcGetPacketSize(uint32_t* packet) { - (void)packet; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -void* APS5_VABI sceAgcGetRegisterDefaults2(uint32_t ver) { - (void)ver; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -void* APS5_VABI sceAgcGetRegisterDefaults2Internal(uint32_t ver) { - (void)ver; - NotImplemented_nid_no_patch(__func__); - return nullptr; -} - -int APS5_VABI sceAgcInit_nid_postfix(uint32_t* state, uint32_t ver) { - (void)state; - (void)ver; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcJumpPatchSetTarget(uint32_t* cmd, const volatile uint32_t* target, uint32_t size_in_dwords) { - (void)cmd; - (void)target; - (void)size_in_dwords; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcQueueEndOfPipeActionPatchAddress(uint32_t* cmd, const volatile Label* address) { - (void)cmd; - (void)address; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcQueueEndOfPipeActionPatchData(uint32_t* cmd, uint32_t context_id, uint32_t data_sel, uint64_t data) { - (void)cmd; - (void)context_id; - (void)data_sel; - (void)data; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcRewindPatchSetRewindState(uint32_t* cmd, uint8_t state) { - (void)cmd; - (void)state; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcSetCxRegIndirectPatchAddRegisters(uint32_t* cmd, uint32_t num_regs) { - (void)cmd; - (void)num_regs; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcSetCxRegIndirectPatchSetAddress(uint32_t* cmd, const volatile ShaderRegister* regs) { - (void)cmd; - (void)regs; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcSetCxRegIndirectPatchSetNumRegisters(uint32_t* cmd, uint32_t num_regs) { - (void)cmd; - (void)num_regs; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcSetPacketPredication(uint32_t* packet, uint32_t predication) { - (void)packet; - (void)predication; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcSetRangePredication(uint32_t* start, const volatile uint32_t* end, uint32_t predication) { - (void)start; - (void)end; - (void)predication; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcSetShRegIndirectPatchAddRegisters(uint32_t* cmd, uint32_t num_regs) { - (void)cmd; - (void)num_regs; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcSetShRegIndirectPatchSetAddress(uint32_t* cmd, const volatile ShaderRegister* regs) { - (void)cmd; - (void)regs; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcSetShRegIndirectPatchSetNumRegisters(uint32_t* cmd, uint32_t num_regs) { - (void)cmd; - (void)num_regs; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcSetUcRegIndirectPatchAddRegisters(uint32_t* cmd, uint32_t num_regs) { - (void)cmd; - (void)num_regs; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcSetUcRegIndirectPatchSetAddress(uint32_t* cmd, const volatile ShaderRegister* regs) { - (void)cmd; - (void)regs; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcSetUcRegIndirectPatchSetNumRegisters(uint32_t* cmd, uint32_t num_regs) { - (void)cmd; - (void)num_regs; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcSuspendPoint(void) { - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcUpdatePrimState(ShaderRegister* cx_regs, ShaderRegister* uc_regs, uint32_t prim_type) { - (void)cx_regs; - (void)uc_regs; - (void)prim_type; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcWaitRegMemPatchAddress(uint32_t* cmd, const volatile void* address) { - (void)cmd; - (void)address; - NotImplemented_nid_no_patch(__func__); - return 0; -} - -int APS5_VABI sceAgcWaitRegMemPatchReference(uint32_t* cmd, uint64_t reference) { - (void)cmd; - (void)reference; - NotImplemented_nid_no_patch(__func__); - return 0; +int DummyFunction_nid_no_patch() { + NotImplemented_nid_no_patch(__func__); + return 0; } }