VirtualBox

Changeset 95136 in vbox for trunk


Ignore:
Timestamp:
May 30, 2022 11:47:27 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
151622
Message:

Devices/Graphics: remove incorrect asserts: bugref:9830

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-dx.cpp

    r95085 r95136  
    615615    ASSERT_GUEST_RETURN(cSamplerId <= SVGA3D_DX_MAX_SAMPLERS - pCmd->startSampler, VERR_INVALID_PARAMETER);
    616616    ASSERT_GUEST_RETURN(pCmd->type >= SVGA3D_SHADERTYPE_MIN && pCmd->type < SVGA3D_SHADERTYPE_MAX, VERR_INVALID_PARAMETER);
    617     ASSERT_GUEST_RETURN(pDXContext->cot.paSampler, VERR_INVALID_STATE);
    618617    RT_UNTRUSTED_VALIDATED_FENCE();
    619618
     
    775774    AssertRCReturn(rc, rc);
    776775
    777     ASSERT_GUEST_RETURN(pDXContext->cot.paElementLayout, VERR_INVALID_STATE);
    778776    ASSERT_GUEST_RETURN(   elementLayoutId == SVGA3D_INVALID_ID
    779777                        || elementLayoutId < pDXContext->cot.cElementLayout, VERR_INVALID_PARAMETER);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette