Lines Matching refs:AssertReturn

1345     AssertReturn(pszEnd, false);
1399 AssertReturn(pThis->svga.p3dState, VERR_NO_MEMORY);
1430 AssertReturn(pThis->svga.p3dState, VERR_NO_MEMORY);
1822 AssertReturn(pThis->svga.p3dState, VERR_NO_MEMORY);
1843 AssertReturn(pState, VERR_WRONG_ORDER);
2015 AssertReturn(pState, VERR_NO_MEMORY);
2616 AssertReturn(pState, VERR_NO_MEMORY);
2621 AssertReturn(sid < SVGA3D_MAX_SURFACE_IDS, VERR_INVALID_PARAMETER);
2622 AssertReturn(cMipLevels >= 1, VERR_INVALID_PARAMETER);
2624 AssertReturn(!(surfaceFlags & SVGA3D_SURFACE_CUBEMAP) || cMipLevels == face[0].numMipLevels * 6, VERR_INVALID_PARAMETER);
2625 AssertReturn((surfaceFlags & SVGA3D_SURFACE_CUBEMAP) || cMipLevels == face[0].numMipLevels, VERR_INVALID_PARAMETER);
2632 AssertReturn(pvNew, VERR_NO_MEMORY);
2637 AssertReturn(pSurface, VERR_NO_MEMORY);
2745 AssertReturn(pSurface->pMipmapLevels, VERR_NO_MEMORY);
2799 AssertReturn(pSurface->pMipmapLevels[idx].pSurfaceData, VERR_NO_MEMORY);
2808 AssertReturn(pState, VERR_NO_MEMORY);
2859 AssertReturn(pContext, VERR_INTERNAL_ERROR); /* otherwise crashes/fails; create temp context if this ever triggers! */
2931 AssertReturn(pState, VERR_NO_MEMORY);
2932 AssertReturn(sidSrc < SVGA3D_MAX_SURFACE_IDS, VERR_INVALID_PARAMETER);
2933 AssertReturn(sidSrc < pState->cSurfaces && pState->papSurfaces[sidSrc]->id == sidSrc, VERR_INVALID_PARAMETER);
2934 AssertReturn(sidDest < SVGA3D_MAX_SURFACE_IDS, VERR_INVALID_PARAMETER);
2935 AssertReturn(sidDest < pState->cSurfaces && pState->papSurfaces[sidDest]->id == sidDest, VERR_INVALID_PARAMETER);
3177 AssertReturn(pState, VERR_NO_MEMORY);
3178 AssertReturn(sidSrc < SVGA3D_MAX_SURFACE_IDS, VERR_INVALID_PARAMETER);
3179 AssertReturn(sidSrc < pState->cSurfaces && pState->papSurfaces[sidSrc]->id == sidSrc, VERR_INVALID_PARAMETER);
3180 AssertReturn(sidDest < SVGA3D_MAX_SURFACE_IDS, VERR_INVALID_PARAMETER);
3181 AssertReturn(sidDest < pState->cSurfaces && pState->papSurfaces[sidDest]->id == sidDest, VERR_INVALID_PARAMETER);
3185 AssertReturn(pSurfaceSrc->faces[0].numMipLevels > src.mipmap, VERR_INVALID_PARAMETER);
3186 AssertReturn(pSurfaceDest->faces[0].numMipLevels > dest.mipmap, VERR_INVALID_PARAMETER);
3402 AssertReturn(pState, VERR_NO_MEMORY);
3403 AssertReturn(sid < SVGA3D_MAX_SURFACE_IDS, VERR_INVALID_PARAMETER);
3404 AssertReturn(sid < pState->cSurfaces && pState->papSurfaces[sid]->id == sid, VERR_INVALID_PARAMETER);
3407 AssertReturn(pSurface->faces[0].numMipLevels > host.mipmap, VERR_INVALID_PARAMETER);
3417 AssertReturn(pSurface->pMipmapLevels[host.mipmap].pSurfaceData, VERR_INTERNAL_ERROR);
3446 AssertReturn(uDestOffset + pBoxes[i].w * pSurface->cbBlock * pBoxes[i].h * pBoxes[i].d <= pMipLevel->cbSurface, VERR_INTERNAL_ERROR);
3534 AssertReturn(pDoubleBuffer, VERR_NO_MEMORY);
3739 AssertReturn(dest == 0, VERR_INTERNAL_ERROR);
3740 AssertReturn(src.mipmap == 0 && src.face == 0, VERR_INVALID_PARAMETER);
3742 AssertReturn(destRect.right - destRect.left == srcRect.right - srcRect.left && destRect.bottom - destRect.top == srcRect.bottom - srcRect.top, VERR_INVALID_PARAMETER);
3815 AssertReturn(pState, VERR_NO_MEMORY);
3816 AssertReturn(sid < SVGA3D_MAX_SURFACE_IDS, VERR_INVALID_PARAMETER);
3817 AssertReturn(sid < pState->cSurfaces && pState->papSurfaces[sid]->id == sid, VERR_INVALID_PARAMETER);
3821 AssertReturn(pSurface->idAssociatedContext != SVGA3D_INVALID_ID, VERR_INTERNAL_ERROR);
3894 AssertReturn(pState, VERR_NO_MEMORY);
3895 AssertReturn(sid < SVGA3D_MAX_SURFACE_IDS, VERR_INVALID_PARAMETER);
3896 AssertReturn(sid < pState->cSurfaces && pState->papSurfaces[sid]->id == sid, VERR_INVALID_PARAMETER);
3900 AssertReturn(pSurface->idAssociatedContext != SVGA3D_INVALID_ID, VERR_INTERNAL_ERROR);
4219 AssertReturn(pState, VERR_NO_MEMORY);
4221 AssertReturn( cid < SVGA3D_MAX_CONTEXT_IDS
4224 AssertReturn(cid < SVGA3D_MAX_CONTEXT_IDS, VERR_INVALID_PARAMETER);
4227 AssertReturn(!(fFlags & VMSVGA3D_DEF_CTX_F_OTHER_PROFILE), VERR_INTERNAL_ERROR_3);
4251 AssertReturn(pvNew, VERR_NO_MEMORY);
4256 AssertReturn(pContext, VERR_NO_MEMORY);
4321 AssertReturn(pThis->svga.u64HostWindowId, VERR_INTERNAL_ERROR);
4516 AssertReturn(pState, VERR_NO_MEMORY);
4518 AssertReturn(cid < SVGA3D_MAX_CONTEXT_IDS, VERR_INVALID_PARAMETER);
4579 AssertReturn(pMipLevelSize, VERR_NO_MEMORY);
4652 AssertReturn(pState, VERR_NO_MEMORY);
4690 AssertReturn(pState, VERR_NO_MEMORY);
4798 AssertReturn(pState, VERR_NO_MEMORY);
4940 AssertReturn(pState, VERR_NO_MEMORY);
5772 AssertReturn(pState, VERR_NO_MEMORY);
5773 AssertReturn(type < SVGA3D_RT_MAX, VERR_INVALID_PARAMETER);
5774 AssertReturn(target.face == 0, VERR_INVALID_PARAMETER);
5775 AssertReturn(target.mipmap == 0, VERR_INVALID_PARAMETER);
5821 AssertReturn(target.sid < SVGA3D_MAX_SURFACE_IDS, VERR_INVALID_PARAMETER);
5822 AssertReturn(target.sid < pState->cSurfaces && pState->papSurfaces[target.sid]->id == target.sid, VERR_INVALID_PARAMETER);
5870 AssertReturn(pRenderTarget->oglId.texture != OPENGL_INVALID_ID, VERR_INVALID_PARAMETER);
5897 AssertReturn(pRenderTarget->oglId.texture != OPENGL_INVALID_ID, VERR_INVALID_PARAMETER);
6098 AssertReturn(pState, VERR_NO_MEMORY);
6195 AssertReturn(sid < SVGA3D_MAX_SURFACE_IDS, VERR_INVALID_PARAMETER);
6196 AssertReturn(sid < pState->cSurfaces && pState->papSurfaces[sid]->id == sid, VERR_INVALID_PARAMETER);
6352 AssertReturn(pState, VERR_NO_MEMORY);
6405 AssertReturn(pState, VERR_NO_MEMORY);
6585 AssertReturn(pState, VERR_NO_MEMORY);
6622 AssertReturn(pState, VERR_NO_MEMORY);
6668 AssertReturn(pState, VERR_NO_MEMORY);
6672 AssertReturn(index < SVGA3D_CLIPPLANE_MAX, VERR_INVALID_PARAMETER);
6703 AssertReturn(pState, VERR_NO_MEMORY);
6741 AssertReturn(pState, VERR_NO_MEMORY);
6948 AssertReturn(sidVertex < SVGA3D_MAX_SURFACE_IDS, VERR_INVALID_PARAMETER);
6949 AssertReturn(sidVertex < pState->cSurfaces && pState->papSurfaces[sidVertex]->id == sidVertex, VERR_INVALID_PARAMETER);
7184 AssertReturn(pState, VERR_INTERNAL_ERROR);
7190 AssertReturn(numVertexDecls && numVertexDecls <= SVGA3D_MAX_VERTEX_ARRAYS, VERR_INVALID_PARAMETER);
7191 AssertReturn(numRanges && numRanges <= SVGA3D_MAX_DRAW_PRIMITIVE_RANGES, VERR_INVALID_PARAMETER);
7192 AssertReturn(!cVertexDivisor || cVertexDivisor == numVertexDecls, VERR_INVALID_PARAMETER);
7433 AssertReturn(pState, VERR_NO_MEMORY);
7448 AssertReturn(shid < SVGA3D_MAX_SHADER_IDS, VERR_INVALID_PARAMETER);
7454 AssertReturn(pvNew, VERR_NO_MEMORY);
7473 AssertReturn(pvNew, VERR_NO_MEMORY);
7493 AssertReturn(pShader->pShaderProgram, VERR_NO_MEMORY);
7533 AssertReturn(pState, VERR_NO_MEMORY);
7587 AssertReturn(pState, VERR_NO_MEMORY);
7660 AssertReturn(pState, VERR_NO_MEMORY);