[Fix] (MG_Pipe): give the four acceptance calls the kReplySlot their applier entry points have always answered through, so the flags table is the single thing that sizes the reply pool and the decoder posts against

This commit is contained in:
2026-09-11 15:44:24 -04:00
parent ff2994d9a8
commit d55e37337b
5 changed files with 106 additions and 21 deletions
+8 -8
View File
@@ -21,12 +21,12 @@ inline void MGP_GetCaps(const MGPCaps* payload, MGPReplySlot* reply) {
gMGPipeScreen.GetCaps(payload, reply);
}
inline void MGP_ResourceCreate(const MGPResourceDesc* payload) {
gMGPipeScreen.ResourceCreate(payload);
inline void MGP_ResourceCreate(const MGPResourceDesc* payload, MGPReplySlot* reply) {
gMGPipeScreen.ResourceCreate(payload, reply);
}
inline void MGP_ResourceRespecify(const MGPResourceDesc* payload) {
gMGPipeScreen.ResourceRespecify(payload);
inline void MGP_ResourceRespecify(const MGPResourceDesc* payload, MGPReplySlot* reply) {
gMGPipeScreen.ResourceRespecify(payload, reply);
}
inline void MGP_ResourceDestroy(const MGPHandleOnly* payload) {
@@ -201,12 +201,12 @@ inline void MGP_SetResidualValueState(const MGPResidualValueState* payload) {
gMGPipeContext.SetResidualValueState(payload);
}
inline void MGP_SetTextureParams(const MGPTextureParams* payload) {
gMGPipeContext.SetTextureParams(payload);
inline void MGP_SetTextureParams(const MGPTextureParams* payload, MGPReplySlot* reply) {
gMGPipeContext.SetTextureParams(payload, reply);
}
inline void MGP_ResourceSubData(const MGPSubData* payload, const void* varTail, Uint32 varTailCount) {
gMGPipeContext.ResourceSubData(payload, varTail, varTailCount);
inline void MGP_ResourceSubData(const MGPSubData* payload, const void* varTail, Uint32 varTailCount, MGPReplySlot* reply) {
gMGPipeContext.ResourceSubData(payload, varTail, varTailCount, reply);
}
inline void MGP_BufferSubDataResident(const MGPSubData* payload) {