Home
last modified time | relevance | path

Searched refs:SWR_ASSERT (Results 1 – 25 of 38) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dringbuffer.h48 SWR_ASSERT(numEntries > 0); in Init()
49SWR_ASSERT(((1ULL << 32) % numEntries) == 0, "%d is not evenly divisible into 2 ^ 32. Wrap errors… in Init()
52 SWR_ASSERT(mpRingBuffer != nullptr); in Init()
64 SWR_ASSERT(index < mNumEntries);
88 SWR_ASSERT(numEnqueued <= mNumEntries); in IsFull()
Dmultisample.h98 …INLINE static float X(uint32_t sampleNum) { SWR_ASSERT(sampleNum < numSamples); return samplePosX[…
99 …INLINE static float Y(uint32_t sampleNum) { SWR_ASSERT(sampleNum < numSamples); return samplePosY[…
137 …INLINE static float X(uint32_t sampleNum) { SWR_ASSERT(sampleNum < numSamples); return samplePosX[…
138 …INLINE static float Y(uint32_t sampleNum) { SWR_ASSERT(sampleNum < numSamples); return samplePosY[…
177 …INLINE static float X(uint32_t sampleNum) { SWR_ASSERT(sampleNum < numSamples); return samplePosX[…
178 …INLINE static float Y(uint32_t sampleNum) { SWR_ASSERT(sampleNum < numSamples); return samplePosY[…
216 …INLINE static float X(uint32_t sampleNum) { SWR_ASSERT(sampleNum < numSamples); return samplePosX[…
217 …INLINE static float Y(uint32_t sampleNum) { SWR_ASSERT(sampleNum < numSamples); return samplePosY[…
Dthreads.cpp80 SWR_ASSERT(ret == FALSE && GetLastError() == ERROR_INSUFFICIENT_BUFFER); in CalculateProcessorTopology()
83 SWR_ASSERT(pBufferMem); in CalculateProcessorTopology()
86 SWR_ASSERT(ret != FALSE, "Failed to get Processor Topology Information"); in CalculateProcessorTopology()
93 SWR_ASSERT(pBuffer->Relationship == RelationProcessorCore); in CalculateProcessorTopology()
135 SWR_ASSERT(ret); in CalculateProcessorTopology()
391 SWR_ASSERT(result >= 0); in CompleteDrawContextInl()
547 SWR_ASSERT(numWorkItems); in WorkOnFifoBE()
550 SWR_ASSERT(pWork); in WorkOnFifoBE()
716 SWR_ASSERT(pDC->pDispatch != nullptr); in WorkOnCompute()
955 SWR_ASSERT( in CreateThreadPool()
[all …]
Dfrontend.cpp48SWR_ASSERT(numBits <= (sizeof(uint32_t) * 8), "Too many bits (%d) for %s", numBits, __FUNCTION__); in GenMask()
213 SWR_ASSERT(macroTileXMax <= KNOB_NUM_HOT_TILES_X); in ProcessDiscardInvalidateTiles()
214 SWR_ASSERT(macroTileYMax <= KNOB_NUM_HOT_TILES_Y); in ProcessDiscardInvalidateTiles()
563SWR_ASSERT(state.pfnSoFunc[streamIndex] != nullptr, "Trying to execute uninitialized streamout jit… in StreamOut()
627 SWR_ASSERT(vertex); in PackPairsOfSimdVertexIntoSimd16Vertex()
628 SWR_ASSERT(vertex_simd16); in PackPairsOfSimdVertexIntoSimd16Vertex()
629 SWR_ASSERT(attribCount <= SWR_VTX_NUM_SLOTS); in PackPairsOfSimdVertexIntoSimd16Vertex()
687 SWR_ASSERT(stream < MAX_SO_STREAMS); in ProcessStreamIdBuffer()
1089 SWR_ASSERT(pArena != nullptr); in AllocateGsBuffers()
1090 SWR_ASSERT(state.gsState.gsEnable); in AllocateGsBuffers()
[all …]
Dtilemgr.cpp45 SWR_ASSERT(x < KNOB_NUM_HOT_TILES_X); in enqueue()
46 SWR_ASSERT(y < KNOB_NUM_HOT_TILES_Y); in enqueue()
71 SWR_ASSERT(mTiles.find(id) != mTiles.end()); in markTileComplete()
78 SWR_ASSERT(tile.mWorkItemsFE == tile.mWorkItemsBE); in markTileComplete()
92 SWR_ASSERT(x < KNOB_NUM_HOT_TILES_X); in GetHotTile()
93 SWR_ASSERT(y < KNOB_NUM_HOT_TILES_Y); in GetHotTile()
120 SWR_ASSERT((hotTile.state == HOTTILE_INVALID) || in GetHotTile()
187 SWR_ASSERT(x < KNOB_NUM_HOT_TILES_X); in GetHotTileNoLoad()
188 SWR_ASSERT(y < KNOB_NUM_HOT_TILES_Y); in GetHotTileNoLoad()
Dapi.cpp324 SWR_ASSERT(pCurDrawContext->pState->pArena->IsEmpty() == true); in GetDrawContext()
335 SWR_ASSERT(pPrevDrawContext->cleanupState == false); in GetDrawContext()
340 SWR_ASSERT(pCurDrawContext->pState->pArena->IsEmpty() == true); in GetDrawContext()
344 SWR_ASSERT(pCurDrawContext->pArena->IsEmpty() == true); in GetDrawContext()
367 SWR_ASSERT(isSplitDraw == false, "Split draw should only be used when obtaining a new DC"); in GetDrawContext()
377 SWR_ASSERT(pDC->pState != nullptr); in GetDrawState()
444 SWR_ASSERT(pOutputStateBlock && memSize >= sizeof(*pSrc)); in SwrSaveState()
456 SWR_ASSERT(pStateBlock && memSize >= sizeof(*pDst)); in SwrRestoreState()
475 SWR_ASSERT(pfnFunc != nullptr); in SwrSync()
574 SWR_ASSERT(streamIndex < MAX_SO_STREAMS); in SwrSetSoFunc()
[all …]
Dcontext.h426 SWR_ASSERT(pDC != nullptr); in GetApiState()
427 SWR_ASSERT(pDC->pState != nullptr); in GetApiState()
434 SWR_ASSERT(pDC != nullptr); in GetPrivateState()
435 SWR_ASSERT(pDC->pState != nullptr); in GetPrivateState()
Dpa.h181 SWR_ASSERT(slot < vertexStride); in GetSimdVector()
190 SWR_ASSERT(slot < vertexStride); in GetSimdVector_simd16()
273 SWR_ASSERT(cur < numSimdVerts); in GetNextVsOutput()
508 SWR_ASSERT(0 && "Not implemented"); in GetSimdVector()
516 SWR_ASSERT(0 && "Not implemented"); in GetSimdVector_simd16()
928 SWR_ASSERT(this->adjExtraVert != -1, "Algorith failure!"); in ProcessVertTriStripAdj()
1211 SWR_ASSERT(numPrims <= SIMD_WIDTH); in GenPrimMask()
1233 SWR_ASSERT(slot < m_numAttributes); in Assemble()
1282 SWR_ASSERT(slot < m_numAttributes); in Assemble()
1330 SWR_ASSERT(slot < m_numAttributes); in AssembleSingle()
[all …]
Dbackend_sample.cpp276 SWR_ASSERT(0 && "Invalid backend func\n"); in GetFunc()
280 SWR_ASSERT(0 && "Invalid backend func\n"); in GetFunc()
296 SWR_ASSERT(0 && "Invalid sample pattern\n"); in GetFunc()
314 SWR_ASSERT(0 && "Invalid sample count\n"); in GetFunc()
Drasterizer.cpp459 SWR_ASSERT(numSamples >= 0 && numSamples < SWR_MULTISAMPLE_TYPE_COUNT); in GetRasterizerFunc()
460 SWR_ASSERT(InputCoverage >= 0 && InputCoverage < SWR_INPUT_COVERAGE_COUNT); in GetRasterizerFunc()
461 SWR_ASSERT(EdgeEnable < STATE_VALID_TRI_EDGE_COUNT); in GetRasterizerFunc()
464 SWR_ASSERT(func); in GetRasterizerFunc()
Dbackend_clear.cpp182 SWR_ASSERT(pClear->attachmentMask != 0); // shouldn't be here without a reason. in ProcessClearBE()
237 SWR_ASSERT(pfnClearTiles != nullptr); in ProcessClearBE()
254 SWR_ASSERT(pfnClearTiles != nullptr); in ProcessClearBE()
Dutils.h172 SWR_ASSERT(IsPow2(alignment));
330 SWR_ASSERT(iArg.val == TVal);
351 SWR_ASSERT(iArg.val == TVal);
Dtilemgr.h212 SWR_ASSERT(result >= 0, "Should never oversubscribe work"); in finishedWork()
236 SWR_ASSERT(mPfnDispatch != nullptr); in dispatch()
Dbackend_singlesample.cpp259 SWR_ASSERT(0 && "Invalid backend func\n"); in GetFunc()
275 SWR_ASSERT(0 && "Invalid sample pattern\n"); in GetFunc()
293 SWR_ASSERT(0 && "Invalid sample count\n"); in GetFunc()
Dbackend.cpp54 SWR_ASSERT(pTaskData != nullptr); in ProcessComputeBE()
102 SWR_ASSERT(x == 0 && y == 0); in ProcessSyncBE()
139 SWR_ASSERT(pfnClearTiles != nullptr); in ProcessStoreTileBE()
Dclip.h156 SWR_ASSERT(0 && "Unexpected points in clipper.");
183 SWR_ASSERT(pfnBinFunc != nullptr);
209 SWR_ASSERT(0 && "Unexpected points in clipper.");
236 SWR_ASSERT(pfnBinFunc != nullptr);
536 SWR_ASSERT(0 && "Unexpected points in clipper.");
580 SWR_ASSERT(numEmittedVerts <= 7, "Unexpected vertex count from clipper.");
583 SWR_ASSERT(numEmittedPrims <= 7, "Unexpected primitive count from clipper.");
688 SWR_ASSERT(pa.pDC != nullptr);
1120 SWR_ASSERT(NumVertsPerPrim == 2);
Ddepthstencil.h92 SWR_ASSERT(depthBpc == 32); in QuantizeDepth()
99 SWR_ASSERT(depthType == SWR_TYPE_UNORM); in QuantizeDepth()
Dfifo.hpp132 SWR_ASSERT(newBlock); in enqueue_try_nosync()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Dswr_assert.h104 #define SWR_ASSERT(e, ...) assert(e) macro
151 #define SWR_ASSERT(e, ...) _SWR_ASSERT(true, e, ##__VA_ARGS__) macro
152 #define SWR_ASSUME_ASSERT(e, ...) SWR_ASSERT(e, ##__VA_ARGS__)
158 #define assert(exp) SWR_ASSERT(exp)
192 #define SWR_ASSERT(e, ...) _SWR_MACRO_START (void)sizeof(SwrSizeofWorkaround(e)); _SWR… macro
Drdtsc_buckets.h117 SWR_ASSERT(tlsThreadId < mThreads.size()); in StartBucket()
144 SWR_ASSERT(tlsThreadId < mThreads.size()); in StopBucket()
156 SWR_ASSERT(bt.pCurrent->id == id, "Mismatched buckets detected"); in StopBucket()
172 SWR_ASSERT(tlsThreadId < mThreads.size()); in AddEvent()
Dformats.h262 SWR_ASSERT(format < NUM_SWR_FORMATS, "Invalid Surface Format: %d", format); in GetFormatInfo()
263 SWR_ASSERT(gFormatInfo[format].name != nullptr, "Invalid Surface Format: %d", format); in GetFormatInfo()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DLoadTile.cpp91 SWR_ASSERT(pSrcSurface->format == R8_UINT); in SwrLoadHotTile()
117 SWR_ASSERT(renderTargetIndex == SWR_ATTACHMENT_STENCIL); in SwrLoadHotTile()
118 SWR_ASSERT(pSrcSurface->format == R8_UINT); in SwrLoadHotTile()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dbuilder.cpp44 SWR_ASSERT(pJitMgr->mVWidth == 8); in Builder()
97 SWR_ASSERT(sizeof(uint32_t*) == 8); in Builder()
Dfetch_jit.cpp398 SWR_ASSERT((info.bpp != 0), "Unsupported format in JitLoadVertices."); in JitLoadVertices()
403SWR_ASSERT(ied.ComponentPacking == ComponentEnable::XYZW, "Fetch load path doesn't support compone… in JitLoadVertices()
409 SWR_ASSERT((0), "TODO: Fill out more once driver sends this down"); in JitLoadVertices()
434 SWR_ASSERT((0), "TODO: Fill out more once driver sends this down."); in JitLoadVertices()
747 SWR_ASSERT(info.bpp <= 32); in CreateGatherOddFormats()
855 SWR_ASSERT(info.type[c] == SWR_TYPE_UNORM); in ConvertFormat()
930 SWR_ASSERT((info.bpp != 0), "Unsupported format in JitGatherVertices."); in JitGatherVertices()
1017 SWR_ASSERT((0), "TODO: Fill out more once driver sends this down."); in JitGatherVertices()
1219 SWR_ASSERT(IsUniformFormat((SWR_FORMAT)ied.Format), in JitGatherVertices()
1502 SWR_ASSERT(IsUniformFormat((SWR_FORMAT)ied.Format), in JitGatherVertices()
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/archrast/
Darchrast.cpp295 SWR_ASSERT(pManager != nullptr); in DestroyThreadContext()
304 SWR_ASSERT(pManager != nullptr); in Dispatch()
313 SWR_ASSERT(pManager != nullptr); in FlushDraw()

12