/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | ringbuffer.h | 48 SWR_ASSERT(numEntries > 0); in Init() 49 …SWR_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()
|
D | multisample.h | 98 …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[…
|
D | threads.cpp | 80 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 …]
|
D | frontend.cpp | 48 … SWR_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() 563 …SWR_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 …]
|
D | tilemgr.cpp | 45 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()
|
D | api.cpp | 324 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 …]
|
D | context.h | 426 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()
|
D | pa.h | 181 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 …]
|
D | backend_sample.cpp | 276 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()
|
D | rasterizer.cpp | 459 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()
|
D | backend_clear.cpp | 182 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()
|
D | utils.h | 172 SWR_ASSERT(IsPow2(alignment)); 330 SWR_ASSERT(iArg.val == TVal); 351 SWR_ASSERT(iArg.val == TVal);
|
D | tilemgr.h | 212 SWR_ASSERT(result >= 0, "Should never oversubscribe work"); in finishedWork() 236 SWR_ASSERT(mPfnDispatch != nullptr); in dispatch()
|
D | backend_singlesample.cpp | 259 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()
|
D | backend.cpp | 54 SWR_ASSERT(pTaskData != nullptr); in ProcessComputeBE() 102 SWR_ASSERT(x == 0 && y == 0); in ProcessSyncBE() 139 SWR_ASSERT(pfnClearTiles != nullptr); in ProcessStoreTileBE()
|
D | clip.h | 156 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);
|
D | depthstencil.h | 92 SWR_ASSERT(depthBpc == 32); in QuantizeDepth() 99 SWR_ASSERT(depthType == SWR_TYPE_UNORM); in QuantizeDepth()
|
D | fifo.hpp | 132 SWR_ASSERT(newBlock); in enqueue_try_nosync()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/ |
D | swr_assert.h | 104 #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
|
D | rdtsc_buckets.h | 117 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()
|
D | formats.h | 262 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/ |
D | LoadTile.cpp | 91 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/ |
D | builder.cpp | 44 SWR_ASSERT(pJitMgr->mVWidth == 8); in Builder() 97 SWR_ASSERT(sizeof(uint32_t*) == 8); in Builder()
|
D | fetch_jit.cpp | 398 SWR_ASSERT((info.bpp != 0), "Unsupported format in JitLoadVertices."); in JitLoadVertices() 403 …SWR_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/ |
D | archrast.cpp | 295 SWR_ASSERT(pManager != nullptr); in DestroyThreadContext() 304 SWR_ASSERT(pManager != nullptr); in Dispatch() 313 SWR_ASSERT(pManager != nullptr); in FlushDraw()
|