mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-12-02 06:02:15 +09:00
[Refactor] (P13 W5 S3): Espryt's sampler-view refusal latches through the record seam.
This commit is contained in:
1 parent
73a185f6d1
commit
b26167a095
1 file changed
+5
-4
@@ -3200,7 +3200,7 @@ namespace MobileGL::MG_Backend::DirectGLES {
|
|||||||
// mode here - a silent permanent fallback is, and that is what the line is for.
|
// mode here - a silent permanent fallback is, and that is what the line is for.
|
||||||
// The caller's MINOR-4 gate tick still counts EVERY decline, loud or not.
|
// The caller's MINOR-4 gate tick still counts EVERY decline, loud or not.
|
||||||
if (st.SamplerViewCount == 0 && st.SamplerStateCount == 0) {
|
if (st.SamplerViewCount == 0 && st.SamplerStateCount == 0) {
|
||||||
#if MOBILEGL_BUILD_DISAGGREGATED
|
#if MOBILEGL_BUILD_RECORD_ARM
|
||||||
// P5e (tx2), CONTRACT-P5E §5.3: UNDER A LIVE WIRE THE DECLINE IS A REFUSAL.
|
// P5e (tx2), CONTRACT-P5E §5.3: UNDER A LIVE WIRE THE DECLINE IS A REFUSAL.
|
||||||
//
|
//
|
||||||
// The fall-back below is the pre-handle snapshot walk over GetTextureUnitObject,
|
// The fall-back below is the pre-handle snapshot walk over GetTextureUnitObject,
|
||||||
@@ -3215,9 +3215,10 @@ namespace MobileGL::MG_Backend::DirectGLES {
|
|||||||
// process; an abort here took the compositor down with the offender). The
|
// process; an abort here took the compositor down with the offender). The
|
||||||
// answer while the latch drains is "no unit is bound": the walk the decline
|
// answer while the latch drains is "no unit is bound": the walk the decline
|
||||||
// would run reads client memory, and the session stops at its next record.
|
// would run reads client memory, and the session stops at its next record.
|
||||||
// Unarmed, SessionLatch is the old abort.
|
// Unarmed, SessionLatch is the old abort (P13 W5: through the record latch seam,
|
||||||
if (!MG_Remote::SessionLatch(
|
// which is SessionLatch wherever MG_Remote is linked).
|
||||||
MG_Remote::MGFatalFamily::ProtocolCorruption,
|
if (!MG_Pipe::MGPipeRecordLatch(
|
||||||
|
MG_Pipe::MGFatalFamily::ProtocolCorruption,
|
||||||
"MGPipe: Fatal{ProtocolCorruption, \"SetSamplerViews.Count\"} - a draw "
|
"MGPipe: Fatal{ProtocolCorruption, \"SetSamplerViews.Count\"} - a draw "
|
||||||
"touches units 0..%d and neither a sampler-view nor a sampler-state "
|
"touches units 0..%d and neither a sampler-view nor a sampler-state "
|
||||||
"window has ever been applied while the sampler subsystem bit is set; "
|
"window has ever been applied while the sampler subsystem bit is set; "
|
||||||
|
|||||||
Reference in new issue
Block a user