Searched refs:user_assert (Results 1 - 25 of 44) sorted by path

12

/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/
H A Dadapter9.c143 user_assert(!"Invalid device type", D3DERR_INVALIDCALL);
203 user_assert(backbuffer_format(AdapterFormat, BackBufferFormat, bWindowed),
272 user_assert(display_format(AdapterFormat, FALSE), D3DERR_INVALIDCALL);
297 user_assert(0, D3DERR_INVALIDCALL);
398 user_assert(MultiSampleType <= D3DMULTISAMPLE_16_SAMPLES, D3DERR_INVALIDCALL);
455 user_assert(display_format(AdapterFormat, FALSE), D3DERR_NOTAVAILABLE);
456 user_assert(depth_stencil_format(DepthStencilFormat), D3DERR_NOTAVAILABLE);
498 user_assert(backbuffer_format(TargetFormat, SourceFormat, FALSE),
530 user_assert(pCaps, D3DERR_INVALIDCALL);
H A Dbasetexture9.c56 user_assert(!(Usage & (D3DUSAGE_RENDERTARGET | D3DUSAGE_DEPTHSTENCIL)) ||
58 user_assert(!(Usage & D3DUSAGE_DYNAMIC) ||
119 user_assert(This->base.pool == D3DPOOL_MANAGED, 0);
157 user_assert(FilterType != D3DTEXF_NONE, D3DERR_INVALIDCALL);
H A Dbuffer9.c53 user_assert(Pool != D3DPOOL_SCRATCH, D3DERR_INVALIDCALL);
221 user_assert(ppbData, E_POINTER);
222 user_assert(!(Flags & ~(D3DLOCK_DISCARD |
434 user_assert(This->nmaps > 0, D3DERR_INVALIDCALL);
H A Dcubetexture9.c56 user_assert(EdgeLength, D3DERR_INVALIDCALL);
58 /* user_assert(!pSharedHandle || Pool == D3DPOOL_DEFAULT, D3DERR_INVALIDCALL); */
59 user_assert(!pSharedHandle, D3DERR_INVALIDCALL); /* TODO */
61 user_assert(!(Usage & D3DUSAGE_AUTOGENMIPMAP) ||
78 user_assert(!(EdgeLength % w) && !(EdgeLength % h), D3DERR_INVALIDCALL);
195 user_assert(Level <= This->base.base.info.last_level, D3DERR_INVALIDCALL);
196 user_assert(Level == 0 || !(This->base.base.usage & D3DUSAGE_AUTOGENMIPMAP),
215 user_assert(Level <= This->base.base.info.last_level, D3DERR_INVALIDCALL);
216 user_assert(Level == 0 || !(This->base.base.usage & D3DUSAGE_AUTOGENMIPMAP),
218 user_assert(FaceTyp
[all...]
H A Ddevice9.c672 user_assert(ppD3D9 != NULL, E_POINTER);
682 user_assert(pCaps != NULL, D3DERR_INVALIDCALL);
694 user_assert(iSwapChain < This->nswapchains, D3DERR_INVALIDCALL);
703 user_assert(pParameters != NULL, D3DERR_INVALIDCALL);
724 user_assert(pCursorBitmap, D3DERR_INVALIDCALL);
725 user_assert(surf->desc.Format == D3DFMT_A8R8G8B8, D3DERR_INVALIDCALL);
850 user_assert(pPresentationParameters, D3DERR_INVALIDCALL);
851 user_assert(tmplt->params.Windowed && pPresentationParameters->Windowed, D3DERR_INVALIDCALL);
878 user_assert(pSwapChain != NULL, D3DERR_INVALIDCALL);
881 user_assert(iSwapChai
[all...]
H A Ddevice9ex.c164 user_assert(!This->base.swapchains[0]->params.Windowed, D3D_OK);
282 user_assert(iSwapChain < This->base.nswapchains, D3DERR_INVALIDCALL);
H A Dindexbuffer9.c56 user_assert(!"Invalid index format.", D3DERR_INVALIDCALL);
99 user_assert(pDesc, E_POINTER);
H A Diunknown.c180 user_assert(ppDevice, E_POINTER);
205 user_assert(SizeOfData == sizeof(IUnknown *), D3DERR_INVALIDCALL);
258 user_assert(pSizeOfData, E_POINTER);
H A Dnine_debug.h123 #define user_assert(x, r) \ macro
H A Dnine_shader.c3801 user_assert(processor != ~0, D3DERR_INVALIDCALL);
H A Dnine_state.c3571 user_assert(Index < ff_state->num_lights, D3DERR_INVALIDCALL);
3583 user_assert(i < NINE_MAX_LIGHTS_ACTIVE, D3DERR_INVALIDCALL);
H A Dpixelshader9.c149 user_assert(pSizeOfData, D3DERR_INVALIDCALL);
155 user_assert(*pSizeOfData >= This->byte_code.size, D3DERR_INVALIDCALL);
H A Dquery9.c82 user_assert(ptype != ~0, D3DERR_INVALIDCALL);
110 user_assert(ptype != ~0, D3DERR_INVALIDCALL);
169 user_assert((dwIssueFlags == D3DISSUE_BEGIN) ||
219 user_assert(This->state != NINE_QUERY_STATE_RUNNING, S_FALSE);
220 user_assert(dwSize == 0 || pData, D3DERR_INVALIDCALL);
221 user_assert(dwGetDataFlags == 0 ||
H A Dsurface9.c138 user_assert(!(pDesc->Width % w) && !(pDesc->Height % h), D3DERR_INVALIDCALL);
361 user_assert(pDesc != NULL, E_POINTER);
431 user_assert(This->lock_count == 0, D3DERR_INVALIDCALL);
434 user_assert(pLockedRect, E_POINTER);
438 user_assert(This->base.pool != D3DPOOL_DEFAULT ||
442 user_assert(!(Flags & ~(D3DLOCK_DISCARD |
448 user_assert(!((Flags & D3DLOCK_DISCARD) && (Flags & D3DLOCK_READONLY)),
451 user_assert(This->desc.MultiSampleType == D3DMULTISAMPLE_NONE,
458 user_assert((pRect->left == 0 && pRect->right == This->desc.Width &&
554 user_assert(Thi
[all...]
H A Dswapchain9.c192 user_assert(pParams != NULL, E_POINTER);
193 user_assert(pParams->SwapEffect, D3DERR_INVALIDCALL);
194 user_assert((pParams->SwapEffect != D3DSWAPEFFECT_COPY) ||
196 user_assert(pDevice->ex || pParams->BackBufferCount <=
198 user_assert(!pDevice->ex || pParams->BackBufferCount <=
200 user_assert(pDevice->ex ||
1084 user_assert(dest_surface->base.pool == D3DPOOL_SYSTEMMEM, D3DERR_INVALIDCALL);
1135 user_assert(ppBackBuffer != NULL, D3DERR_INVALIDCALL);
1136 user_assert(iBackBuffer < This->params.BackBufferCount, D3DERR_INVALIDCALL);
1149 user_assert(pRasterStatu
[all...]
H A Dswapchain9ex.c75 user_assert(pMode != NULL, E_POINTER);
H A Dtexture9.c63 user_assert(Width && Height, D3DERR_INVALIDCALL);
69 user_assert(!pSharedHandle || pParams->device->ex, D3DERR_INVALIDCALL);
70 user_assert(!pSharedHandle ||
74 user_assert(!(Usage & D3DUSAGE_AUTOGENMIPMAP) ||
119 user_assert(!(Width % w) && !(Height % h), D3DERR_INVALIDCALL);
250 user_assert(Level <= This->base.base.info.last_level, D3DERR_INVALIDCALL);
251 user_assert(Level == 0 || !(This->base.base.usage & D3DUSAGE_AUTOGENMIPMAP),
266 user_assert(Level <= This->base.base.info.last_level, D3DERR_INVALIDCALL);
267 user_assert(Level == 0 || !(This->base.base.usage & D3DUSAGE_AUTOGENMIPMAP),
286 user_assert(Leve
[all...]
H A Dvertexbuffer9.c91 user_assert(pDesc, E_POINTER);
H A Dvertexdeclaration9.c184 user_assert(pElements[nelems].Type != D3DDECLTYPE_UNUSED, E_FAIL);
185 user_assert(!(pElements[nelems].Offset & 3), E_FAIL);
189 user_assert(nelems <= caps->MaxStreams, D3DERR_INVALIDCALL);
244 user_assert(pNumElements, D3DERR_INVALIDCALL);
H A Dvertexshader9.c175 user_assert(pSizeOfData, D3DERR_INVALIDCALL);
181 user_assert(*pSizeOfData >= This->byte_code.size, D3DERR_INVALIDCALL);
H A Dvolume9.c69 user_assert(!(pDesc->Usage & D3DUSAGE_DYNAMIC) ||
214 user_assert(pDesc != NULL, E_POINTER);
270 user_assert(This->lock_count == 0, D3DERR_INVALIDCALL);
273 user_assert(pLockedVolume, E_POINTER);
276 user_assert(This->desc.Pool != D3DPOOL_DEFAULT ||
279 user_assert(!((Flags & D3DLOCK_DISCARD) && (Flags & D3DLOCK_READONLY)),
285 user_assert((pBox->Left == 0 && pBox->Right == This->desc.Width &&
302 user_assert(pBox->Right > pBox->Left, D3DERR_INVALIDCALL);
303 user_assert(pBox->Bottom > pBox->Top, D3DERR_INVALIDCALL);
304 user_assert(pBo
[all...]
H A Dvolumetexture9.c51 user_assert(Width && Height && Depth, D3DERR_INVALIDCALL);
53 /* user_assert(!pSharedHandle || Pool == D3DPOOL_DEFAULT, D3DERR_INVALIDCALL); */
54 user_assert(!pSharedHandle, D3DERR_INVALIDCALL); /* TODO */
57 user_assert(!(Usage & (D3DUSAGE_RENDERTARGET | D3DUSAGE_DEPTHSTENCIL)),
59 user_assert(!(Usage & D3DUSAGE_AUTOGENMIPMAP), D3DERR_INVALIDCALL);
76 user_assert(!(Width % w) && !(Height % h), D3DERR_INVALIDCALL);
157 user_assert(Level <= This->base.base.info.last_level, D3DERR_INVALIDCALL);
169 user_assert(Level <= This->base.base.info.last_level, D3DERR_INVALIDCALL);
187 user_assert(Level <= This->base.base.info.last_level, D3DERR_INVALIDCALL);
199 user_assert(Leve
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/
H A Dadapter9.c151 user_assert(!"Invalid device type", D3DERR_INVALIDCALL);
211 user_assert(backbuffer_format(AdapterFormat, BackBufferFormat, bWindowed),
301 user_assert(adapter_format(AdapterFormat), D3DERR_INVALIDCALL);
302 user_assert(display_format(AdapterFormat, FALSE), D3DERR_NOTAVAILABLE);
327 user_assert(0, D3DERR_INVALIDCALL);
433 user_assert(MultiSampleType <= D3DMULTISAMPLE_16_SAMPLES, D3DERR_INVALIDCALL);
493 user_assert(adapter_format(AdapterFormat), D3DERR_NOTAVAILABLE);
494 user_assert(depth_stencil_format(DepthStencilFormat), D3DERR_NOTAVAILABLE);
536 user_assert(backbuffer_format(TargetFormat, SourceFormat, FALSE),
568 user_assert(pCap
[all...]
H A Dbasetexture9.c56 user_assert(!(Usage & (D3DUSAGE_RENDERTARGET | D3DUSAGE_DEPTHSTENCIL)) ||
58 user_assert(!(Usage & D3DUSAGE_DYNAMIC) ||
122 user_assert(This->base.pool == D3DPOOL_MANAGED, 0);
156 user_assert(FilterType != D3DTEXF_NONE, D3DERR_INVALIDCALL);
H A Dbuffer9.c54 user_assert(Pool != D3DPOOL_SCRATCH, D3DERR_INVALIDCALL);
260 user_assert(ppbData, E_POINTER);
509 user_assert(This->nlocks > 0, D3DERR_INVALIDCALL);

Completed in 36 milliseconds

12