[MG_Pipe, MG_Test] (Disaggregated): P5f fe - verify XFB snapshot fields and preserve spans

This commit is contained in:
2026-09-19 21:58:27 -04:00
parent 07bf8d7ce0
commit 881e050e2c
5 changed files with 11 additions and 14 deletions
-8
View File
@@ -3214,10 +3214,6 @@ namespace MobileGL::MG_Pipe {
// bind_render_state's precedent for the same question.
if (MGPipeHandleIsNull(handle.Handle)) {
g_applier.BoundShaderCso = kMGPipeNullHandle;
#if MOBILEGL_BUILD_DISAGGREGATED
g_applier.BoundStreamOutputLifetimeId = 0;
g_applier.StreamOutputSpans.clear();
#endif
++g_applier.ProgramBindingSerial;
return;
}
@@ -3250,10 +3246,6 @@ namespace MobileGL::MG_Pipe {
Bool cleared = false;
if (g_applier.BoundShaderCso == handle.Handle) {
g_applier.BoundShaderCso = kMGPipeNullHandle;
#if MOBILEGL_BUILD_DISAGGREGATED
g_applier.BoundStreamOutputLifetimeId = 0;
g_applier.StreamOutputSpans.clear();
#endif
cleared = true;
}
if (g_applier.DrawProgram == handle.Handle) {