/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | ringbuffer.h | 42 SWR_ASSERT(numEntries > 0); in Init() 43 SWR_ASSERT(((1ULL << 32) % numEntries) == 0, in Init() 48 SWR_ASSERT(mpRingBuffer != nullptr); in Init() 60 SWR_ASSERT(index < mNumEntries); 81 SWR_ASSERT(numEnqueued <= mNumEntries); in IsFull()
|
D | multisample.h | 107 SWR_ASSERT(sampleNum < numSamples); 112 SWR_ASSERT(sampleNum < numSamples); 154 SWR_ASSERT(sampleNum < numSamples); 159 SWR_ASSERT(sampleNum < numSamples); 202 SWR_ASSERT(sampleNum < numSamples); 207 SWR_ASSERT(sampleNum < numSamples); 251 SWR_ASSERT(sampleNum < numSamples); 256 SWR_ASSERT(sampleNum < numSamples);
|
D | tessellator.h | 156 SWR_ASSERT(tsDomain < SWR_TS_DOMAIN_COUNT); in TSInitCtx() 157 SWR_ASSERT(tsPartitioning < SWR_TS_PARTITIONING_COUNT); in TSInitCtx() 158 SWR_ASSERT(tsOutputTopology < SWR_TS_OUTPUT_TOPOLOGY_COUNT); in TSInitCtx() 171 SWR_ASSERT(pTessellator == tsCtx); in TSInitCtx() 198 SWR_ASSERT(pTessellator); in TSTessellate()
|
D | tilemgr.cpp | 41 SWR_ASSERT(x < KNOB_NUM_HOT_TILES_X); in enqueue() 42 SWR_ASSERT(y < KNOB_NUM_HOT_TILES_Y); in enqueue() 76 SWR_ASSERT(mTiles.size() > id); in markTileComplete() 83 SWR_ASSERT(tile.mWorkItemsFE == tile.mWorkItemsBE); in markTileComplete() 103 SWR_ASSERT(x < KNOB_NUM_HOT_TILES_X); in GetHotTile() 104 SWR_ASSERT(y < KNOB_NUM_HOT_TILES_Y); in GetHotTile() 132 SWR_ASSERT((hotTile.state == HOTTILE_INVALID) || (hotTile.state == HOTTILE_RESOLVED) || in GetHotTile() 223 SWR_ASSERT(x < KNOB_NUM_HOT_TILES_X); in GetHotTileNoLoad() 224 SWR_ASSERT(y < KNOB_NUM_HOT_TILES_Y); in GetHotTileNoLoad()
|
D | threads.cpp | 85 SWR_ASSERT(ret == FALSE && GetLastError() == ERROR_INSUFFICIENT_BUFFER); in CalculateProcessorTopology() 89 SWR_ASSERT(pBufferMem); in CalculateProcessorTopology() 92 SWR_ASSERT(ret != FALSE, "Failed to get Processor Topology Information"); in CalculateProcessorTopology() 99 SWR_ASSERT(pBuffer->Relationship == RelationProcessorCore); in CalculateProcessorTopology() 139 SWR_ASSERT(ret); in CalculateProcessorTopology() 231 SWR_ASSERT(result == 0); in CalculateProcessorTopology() 235 SWR_ASSERT(result == 0); in CalculateProcessorTopology() 239 SWR_ASSERT(result == 0); in CalculateProcessorTopology() 449 SWR_ASSERT(result >= 0); in CompleteDrawContextInl() 615 SWR_ASSERT(numWorkItems); in WorkOnFifoBE() [all …]
|
D | frontend.cpp | 188 SWR_ASSERT(macroTileXMax <= KNOB_NUM_HOT_TILES_X); in ProcessDiscardInvalidateTiles() 189 SWR_ASSERT(macroTileYMax <= KNOB_NUM_HOT_TILES_Y); in ProcessDiscardInvalidateTiles() 569 SWR_ASSERT(state.pfnSoFunc[streamIndex] != nullptr, in StreamOut() 642 SWR_ASSERT(vertex); in PackPairsOfSimdVertexIntoSimd16Vertex() 643 SWR_ASSERT(vertex_simd16); in PackPairsOfSimdVertexIntoSimd16Vertex() 644 SWR_ASSERT(attribCount <= SWR_VTX_NUM_SLOTS); in PackPairsOfSimdVertexIntoSimd16Vertex() 705 SWR_ASSERT(stream < MAX_SO_STREAMS); in ProcessStreamIdBuffer() 1183 SWR_ASSERT(pArena != nullptr); in AllocateGsBuffers() 1184 SWR_ASSERT(state.gsState.gsEnable); in AllocateGsBuffers() 1271 SWR_ASSERT(gt_pTessellationThreadData); in TessellationStages() [all …]
|
D | api.cpp | 359 SWR_ASSERT(pCurDrawContext->pState->pArena->IsEmpty() == true); in GetDrawContext() 370 SWR_ASSERT(pPrevDrawContext->cleanupState == false); in GetDrawContext() 375 SWR_ASSERT(pCurDrawContext->pState->pArena->IsEmpty() == true); in GetDrawContext() 379 SWR_ASSERT(pCurDrawContext->pArena->IsEmpty() == true); in GetDrawContext() 402 SWR_ASSERT(isSplitDraw == false, "Split draw should only be used when obtaining a new DC"); in GetDrawContext() 412 SWR_ASSERT(pDC->pState != nullptr); in GetDrawState() 513 SWR_ASSERT(pfnFunc != nullptr); in SwrSync() 604 SWR_ASSERT(streamIndex < MAX_SO_STREAMS); in SwrSetSoFunc() 620 …SWR_ASSERT((slot < MAX_SO_STREAMS), "There are only 4 SO buffer slots [0, 3]\nSlot requested: %d",… in SwrSetSoBuffers() 726 SWR_ASSERT(renderTarget < SWR_NUM_RENDERTARGETS); in SwrSetBlendFunc() [all …]
|
D | context.h | 464 SWR_ASSERT(pDC != nullptr); in GetApiState() 465 SWR_ASSERT(pDC->pState != nullptr); in GetApiState() 472 SWR_ASSERT(pDC != nullptr); in GetPrivateState() 473 SWR_ASSERT(pDC->pState != nullptr); in GetPrivateState()
|
D | backend_sample.cpp | 352 SWR_ASSERT(0 && "Invalid backend func\n"); in GetFunc() 356 SWR_ASSERT(0 && "Invalid backend func\n"); in GetFunc() 381 SWR_ASSERT(0 && "Invalid sample pattern\n"); in GetFunc() 410 SWR_ASSERT(0 && "Invalid sample count\n"); in GetFunc()
|
D | backend_clear.cpp | 169 SWR_ASSERT(pClear->attachmentMask != 0); // shouldn't be here without a reason. in ProcessClearBE() 246 SWR_ASSERT(pfnClearTiles != nullptr); in ProcessClearBE() 269 SWR_ASSERT(pfnClearTiles != nullptr); in ProcessClearBE()
|
D | rasterizer.cpp | 464 SWR_ASSERT(numSamples >= 0 && numSamples < SWR_MULTISAMPLE_TYPE_COUNT); in GetRasterizerFunc() 465 SWR_ASSERT(InputCoverage >= 0 && InputCoverage < SWR_INPUT_COVERAGE_COUNT); in GetRasterizerFunc() 466 SWR_ASSERT(EdgeEnable < STATE_VALID_TRI_EDGE_COUNT); in GetRasterizerFunc() 470 SWR_ASSERT(func); in GetRasterizerFunc()
|
D | pa.h | 198 SWR_ASSERT(slot < vertexStride); in GetSimdVector() 207 SWR_ASSERT(slot < vertexStride); in GetSimdVector_simd16() 288 SWR_ASSERT(cur < numSimdVerts); in GetNextVsOutput() 570 SWR_ASSERT(0 && "Not implemented"); in GetSimdVector() 578 SWR_ASSERT(0 && "Not implemented"); in GetSimdVector_simd16() 1038 SWR_ASSERT(this->adjExtraVert != -1, "Algorith failure!"); in ProcessVertTriStripAdj() 1340 SWR_ASSERT(numPrims <= SIMD_WIDTH); in GenPrimMask() 1357 SWR_ASSERT(slot < m_numAttributes); in Assemble() 1423 SWR_ASSERT(slot < m_numAttributes); in Assemble() 1490 SWR_ASSERT(slot < m_numAttributes); in AssembleSingle() [all …]
|
D | utils.h | 175 SWR_ASSERT(IsPow2(alignment)); 334 SWR_ASSERT(iArg.val == TVal); 358 SWR_ASSERT(iArg.val == TVal);
|
D | backend_singlesample.cpp | 336 SWR_ASSERT(0 && "Invalid backend func\n"); in GetFunc() 361 SWR_ASSERT(0 && "Invalid sample pattern\n"); in GetFunc() 390 SWR_ASSERT(0 && "Invalid sample count\n"); in GetFunc()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/functionpasses/ |
D | lower_x86.cpp | 204 SWR_ASSERT(false, "Unsupported AVX architecture."); in LowerX86() 266 SWR_ASSERT(pVecTy->isVectorTy(), "Couldn't determine vector size"); in GetRequestedWidthAndType() 278 SWR_ASSERT(false, "Unhandled vector width %d", width); in GetRequestedWidthAndType() 297 SWR_ASSERT(false, "Unhandled vector width type %d\n", width); in GetZeroVec() 315 SWR_ASSERT(false, "Unhandled vector width type %d\n", width); in GetMask() 346 SWR_ASSERT(vecWidth != 0, "Cannot double pump smallest SIMD width."); in ProcessIntrinsicAdvanced() 348 SWR_ASSERT(id2 != Intrinsic::not_intrinsic, in ProcessIntrinsicAdvanced() 388 SWR_ASSERT(false); in ProcessIntrinsicAdvanced() 403 SWR_ASSERT(getIntrinsicMap().find(pFunc->getName().str()) != getIntrinsicMap().end(), in ProcessIntrinsic() 490 SWR_ASSERT(false, "Unimplemented intrinsic emulation."); in NO_EMU() [all …]
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/ |
D | rdtsc_buckets.h | 128 SWR_ASSERT(tlsThreadId < mThreads.size()); in StartBucket() 155 SWR_ASSERT(tlsThreadId < mThreads.size()); in StopBucket() 168 SWR_ASSERT(bt.pCurrent->id == id, "Mismatched buckets detected"); in StopBucket() 185 SWR_ASSERT(tlsThreadId < mThreads.size()); in AddEvent()
|
D | swr_assert.h | 114 #define SWR_ASSERT(e, ...) assert(e) macro 164 #define SWR_ASSERT(e, ...) _SWR_ASSERT(true, e, ##__VA_ARGS__) macro 165 #define SWR_ASSUME_ASSERT(e, ...) SWR_ASSERT(e, ##__VA_ARGS__) 207 #define SWR_ASSERT(e, ...) \ macro
|
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 | 78 SWR_ASSERT(pSrcSurface->format == R8_UINT); in SwrLoadHotTile() 104 SWR_ASSERT(renderTargetIndex == SWR_ATTACHMENT_STENCIL); in SwrLoadHotTile() 105 SWR_ASSERT(pSrcSurface->format == R8_UINT); in SwrLoadHotTile()
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_loader.cpp | 68 SWR_ASSERT(screen->pfnSwrGetInterface != nullptr); in swr_initialize_screen_interface() 69 SWR_ASSERT(screen->pfnSwrGetTileInterface != nullptr); in swr_initialize_screen_interface() 70 SWR_ASSERT(pInitFunc != nullptr); in swr_initialize_screen_interface()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
D | builder.cpp | 92 SWR_ASSERT(sizeof(uint32_t*) == 8); in Builder() 120 SWR_ASSERT(pAlloca, "Unexpected non-alloca instruction"); in SetTempAlloca() 128 SWR_ASSERT(pAlloca, "Unexpected non-alloca instruction"); in IsTempAlloca()
|
D | fetch_jit.cpp | 152 SWR_ASSERT(mVWidth == 8 || mVWidth == 16, "Unsupported vector width %d", mVWidth); in Create() 381 SWR_ASSERT(info.bpp <= 32); in CreateGatherOddFormats() 506 SWR_ASSERT(info.type[c] == SWR_TYPE_UNORM); in ConvertFormat() 567 SWR_ASSERT((info.bpp != 0), "Unsupported format in JitGatherVertices."); in JitGatherVertices() 627 SWR_ASSERT((0), "TODO: Fill out more once driver sends this down."); in JitGatherVertices() 742 SWR_ASSERT(IsUniformFormat((SWR_FORMAT)ied.Format), in JitGatherVertices() 858 SWR_ASSERT(mVWidth == 16); in JitGatherVertices() 913 SWR_ASSERT(IsUniformFormat((SWR_FORMAT)ied.Format), in JitGatherVertices() 1118 SWR_ASSERT(outIndices != nullptr); in GetSimdValidIndicesGfx() 1129 SWR_ASSERT(addr != nullptr); in GetSimdValidIndicesGfx() [all …]
|
D | builder_gfx_mem.cpp | 56 SWR_ASSERT(!(ptr->getType() == mInt64Ty && usage == MEM_CLIENT::MEM_CLIENT_INTERNAL), in AssertGFXMemoryParams() 207 SWR_ASSERT(!(Ptr->getType() == mInt64Ty && Ty == nullptr), in TranslationHelper() 252 SWR_ASSERT(mpWorkerData != nullptr); in TrackerHelper() 305 SWR_ASSERT(Ty); in LOAD()
|
D | builder_misc.cpp | 285 SWR_ASSERT(isa<ConstantInt>(v)); in IMMED() 292 SWR_ASSERT(isa<ConstantInt>(v)); in S_IMMED() 579 SWR_ASSERT(pVectorType->getElementType() == mInt1Ty); in VMOVMSK() 582 SWR_ASSERT(mask->getType()->getVectorElementType() == mInt1Ty); in VMOVMSK() 596 SWR_ASSERT("Unsupported vector width"); in VMOVMSK() 841 SWR_ASSERT((numIntBits + numFracBits) <= 32, "Can only handle 32-bit fixed-point values"); in VCVT_F32_FIXED_SI() 883 SWR_ASSERT((numIntBits + numFracBits) <= 32, "Can only handle 32-bit fixed-point values"); in VCVT_FIXED_SI_F32() 913 SWR_ASSERT((numIntBits + numFracBits) <= 32, "Can only handle 32-bit fixed-point values"); in VCVT_F32_FIXED_UI() 952 SWR_ASSERT((numIntBits + numFracBits) <= 32, "Can only handle 32-bit fixed-point values"); in VCVT_FIXED_UI_F32() 1110 SWR_ASSERT(false, "Unimplemented type."); in GetTypeSize()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/archrast/ |
D | eventmanager.h | 60 SWR_ASSERT(pHandler != nullptr); in Attach()
|