Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DLoadTile.cpp91 SWR_ASSERT(pSrcSurface->format == R8_UINT); in LoadHotTile()
95 SWR_ASSERT(0, "Unsupported tiling mode"); in LoadHotTile()
111 SWR_ASSERT(0, "Unsupported tiling mode"); in LoadHotTile()
117 SWR_ASSERT(renderTargetIndex == SWR_ATTACHMENT_STENCIL); in LoadHotTile()
118 SWR_ASSERT(pSrcSurface->format == R8_UINT); in LoadHotTile()
128 SWR_ASSERT(0, "Unsupported tiling mode"); in LoadHotTile()
135 SWR_ASSERT(false, "Unsupported format for load tile"); in LoadHotTile()
Dtilingtraits.h37 static UINT GetCu() { SWR_ASSERT(0); return 0; } in GetCu()
38 static UINT GetCv() { SWR_ASSERT(0); return 0; } in GetCv()
39 static UINT GetCr() { SWR_ASSERT(0); return 0; } in GetCr()
40 static UINT GetTileIDShift() { SWR_ASSERT(0); return 0; } in GetTileIDShift()
43 static UINT GetPdepX() { SWR_ASSERT(0); return 0x37; } in GetPdepX()
44 static UINT GetPdepY() { SWR_ASSERT(0); return 0xC8; } in GetPdepY()
67 static UINT GetPdepX() { SWR_ASSERT(0); return 0x00; }
68 static UINT GetPdepY() { SWR_ASSERT(0); return 0x00; }
92 static UINT GetPdepX() { SWR_ASSERT(0); return 0x37; }
93 static UINT GetPdepY() { SWR_ASSERT(0); return 0xC8; }
DConvert.h270 SWR_ASSERT(!FormatTraits<DstFormat>::isSRGB); in ConvertPixelFromFloat()
365 SWR_ASSERT(0); in ConvertPixelFromFloat()
384 SWR_ASSERT(0); in ConvertPixelFromFloat()
422 SWR_ASSERT(0); in ConvertPixelToFloat()
459 SWR_ASSERT(!FormatTraits<SrcFormat>::isSRGB); in ConvertPixelToFloat()
550 SWR_ASSERT(0); in ConvertPixelToFloat()
727 SWR_ASSERT(0); in ConvertPixelFromFloat()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dformat_types.h218 SWR_ASSERT(0); // I think this may be incorrect.
431 SWR_ASSERT(0); // I think this is incorrectly implemented
541 static float fromFloat() { SWR_ASSERT(0); return 0.0; }
542 static simdscalar convertSrgb(simdscalar &in) { SWR_ASSERT(0); return _simd_setzero_ps(); }
552 static float fromFloat() { SWR_ASSERT(0); return 0.0; }
553 static simdscalar convertSrgb(simdscalar &in) { SWR_ASSERT(0); return _simd_setzero_ps(); }
563 static float fromFloat() { SWR_ASSERT(0); return 0.0; }
564 static simdscalar convertSrgb(simdscalar &in) { SWR_ASSERT(0); return _simd_setzero_ps(); }
574 static float fromFloat() { SWR_ASSERT(0); return 0.0; }
575 static simdscalar convertSrgb(simdscalar &in) { SWR_ASSERT(0); return _simd_setzero_ps(); }
[all …]
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()
Dfrontend.cpp47SWR_ASSERT(numBits <= (sizeof(uint32_t) * 8), "Too many bits (%d) for %s", numBits, __FUNCTION__); in GenMask()
212 SWR_ASSERT(macroTileXMax <= KNOB_NUM_HOT_TILES_X); in ProcessDiscardInvalidateTiles()
213 SWR_ASSERT(macroTileYMax <= KNOB_NUM_HOT_TILES_Y); in ProcessDiscardInvalidateTiles()
305 SWR_ASSERT(false, "Unsupported topology: %d", mode); in GetNumPrims()
381 SWR_ASSERT(false, "Unsupported topology: %d", mode); in GetNumVerts()
458 SWR_ASSERT(false, "Unsupported topology: %d", topology); in NumVertsPerPrim()
553SWR_ASSERT(state.pfnSoFunc[streamIndex] != nullptr, "Trying to execute uninitialized streamout jit… in StreamOut()
605 SWR_ASSERT(stream < MAX_SO_STREAMS); in ProcessStreamIdBuffer()
665 SWR_ASSERT(pGsOut != nullptr, "GS output buffer should be initialized"); in GeometryShaderStage()
666 SWR_ASSERT(pCutBuffer != nullptr, "GS output cut buffer should be initialized"); in GeometryShaderStage()
[all …]
Dmultisample.h188 SWR_ASSERT(sampleNum < numSamples);
195 SWR_ASSERT(sampleNum < numSamples);
214 …INLINE static float X(uint32_t sampleNum) { SWR_ASSERT(sampleNum < numSamples); return samplePosX[…
215 …INLINE static float Y(uint32_t sampleNum) { SWR_ASSERT(sampleNum < numSamples); return samplePosY[…
307 SWR_ASSERT(sampleNum < numSamples);
315 SWR_ASSERT(sampleNum < numSamples);
335 …INLINE static float X(uint32_t sampleNum) { SWR_ASSERT(sampleNum < numSamples); return samplePosX[…
336 …INLINE static float Y(uint32_t sampleNum) { SWR_ASSERT(sampleNum < numSamples); return samplePosY[…
429 SWR_ASSERT(sampleNum < numSamples);
438 SWR_ASSERT(sampleNum < numSamples);
[all …]
Dtessellator.h70 SWR_ASSERT(0, "%s: Not Implemented", __FUNCTION__); in TSInitCtx()
77 SWR_ASSERT(0, "%s: Not Implemented", __FUNCTION__); in TSDestroyCtx()
86 SWR_ASSERT(0, "%s: Not Implemented", __FUNCTION__); in TSTessellate()
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()
149 …default: SWR_ASSERT(false, "Unknown attachment: %d", attachment); format = KNOB_COLOR_HOT_TILE_FOR… in GetHotTile()
187 SWR_ASSERT(x < KNOB_NUM_HOT_TILES_X); in GetHotTileNoLoad()
188 SWR_ASSERT(y < KNOB_NUM_HOT_TILES_Y); in GetHotTileNoLoad()
Dthreads.cpp79 SWR_ASSERT(ret == FALSE && GetLastError() == ERROR_INSUFFICIENT_BUFFER); in CalculateProcessorTopology()
82 SWR_ASSERT(pBufferMem); in CalculateProcessorTopology()
85 SWR_ASSERT(ret != FALSE, "Failed to get Processor Topology Information"); in CalculateProcessorTopology()
92 SWR_ASSERT(pBuffer->Relationship == RelationProcessorCore); in CalculateProcessorTopology()
120 SWR_ASSERT(false, "Shouldn't get here in 64-bit mode"); in CalculateProcessorTopology()
134 SWR_ASSERT(ret); in CalculateProcessorTopology()
371 SWR_ASSERT(result >= 0); in CompleteDrawContextInl()
525 SWR_ASSERT(numWorkItems); in WorkOnFifoBE()
528 SWR_ASSERT(pWork); in WorkOnFifoBE()
694 SWR_ASSERT(pDC->pDispatch != nullptr); in WorkOnCompute()
[all …]
Dapi.cpp296 SWR_ASSERT(pCurDrawContext->pState->pArena->IsEmpty() == true); in GetDrawContext()
307 SWR_ASSERT(pPrevDrawContext->cleanupState == false); in GetDrawContext()
312 SWR_ASSERT(pCurDrawContext->pState->pArena->IsEmpty() == true); in GetDrawContext()
316 SWR_ASSERT(pCurDrawContext->pArena->IsEmpty() == true); in GetDrawContext()
340 SWR_ASSERT(isSplitDraw == false, "Split draw should only be used when obtaining a new DC"); in GetDrawContext()
350 SWR_ASSERT(pDC->pState != nullptr); in GetDrawState()
411 SWR_ASSERT(pOutputStateBlock && memSize >= sizeof(*pSrc)); in SwrSaveState()
423 SWR_ASSERT(pStateBlock && memSize >= sizeof(*pDst)); in SwrRestoreState()
442 SWR_ASSERT(pfnFunc != nullptr); in SwrSync()
531 SWR_ASSERT(streamIndex < MAX_SO_STREAMS); in SwrSetSoFunc()
[all …]
Dpa.h431 SWR_ASSERT(0 && "Not implemented"); in GetSimdVector()
751 SWR_ASSERT(this->adjExtraVert != -1, "Algorith failure!"); in ProcessVertTriStripAdj()
1002 SWR_ASSERT(0, "Invalid binTopology (%d) for %s", binTopology, __FUNCTION__); in PA_TESS()
1014 SWR_ASSERT(0, "%s NOT IMPLEMENTED", __FUNCTION__); in GetSimdVector()
1021 SWR_ASSERT(numPrims <= KNOB_SIMD_WIDTH); in GenPrimMask()
1044 SWR_ASSERT(slot < m_numAttributes); in Assemble()
1077 SWR_ASSERT(slot < m_numAttributes); in AssembleSingle()
1078 SWR_ASSERT(primIndex < PA_TESS::NumPrims()); in AssembleSingle()
1108 SWR_ASSERT(0, "%s", __FUNCTION__); in GetNextVsOutput()
1115 SWR_ASSERT(0, "%s", __FUNCTION__); in GetNextStreamOutput()
[all …]
Dclip.cpp68 default: SWR_ASSERT(false, "invalid clipping plane: %d", ClippingPlane); in intersect()
107 SWR_ASSERT(false, "invalid clipping plane: %d", ClippingPlane); in inside()
176 SWR_ASSERT(NumOutPts <= 6); in Clip()
Dcontext.h418 SWR_ASSERT(pDC != nullptr); in GetApiState()
419 SWR_ASSERT(pDC->pState != nullptr); in GetApiState()
426 SWR_ASSERT(pDC != nullptr); in GetPrivateState()
427 SWR_ASSERT(pDC->pState != nullptr); in GetPrivateState()
Dtilemgr.h212 SWR_ASSERT(result >= 0, "Should never oversubscribe work"); in finishedWork()
236 SWR_ASSERT(mPfnDispatch != nullptr); in dispatch()
Dbackend.cpp55 SWR_ASSERT(pTaskData != nullptr); in ProcessComputeBE()
95 SWR_ASSERT(x == 0 && y == 0); in ProcessSyncBE()
240 SWR_ASSERT(pClear->attachmentMask != 0); // shouldn't be here without a reason. in ProcessClearBE()
295 SWR_ASSERT(pfnClearTiles != nullptr); in ProcessClearBE()
312 SWR_ASSERT(pfnClearTiles != nullptr); in ProcessClearBE()
350 …default: SWR_ASSERT(false, "Unknown attachment: %d", attachment); srcFormat = KNOB_COLOR_HOT_TILE_… in ProcessStoreTileBE()
364 SWR_ASSERT(pfnClearTiles != nullptr); in ProcessStoreTileBE()
1221 SWR_ASSERT(0 && "Invalid backend func\n"); in GetFunc()
1236 SWR_ASSERT(0 && "Invalid sample pattern\n"); in GetFunc()
1252 SWR_ASSERT(0 && "Invalid sample pattern\n"); in GetFunc()
[all …]
Dclip.h361 SWR_ASSERT(0 && "Unexpected points in clipper."); in ClipSimd()
390 SWR_ASSERT(numEmittedVerts <= 7, "Unexpected vertex count from clipper."); in ClipSimd()
465 SWR_ASSERT(pa.pDC != nullptr); in ExecuteStage()
613 default: SWR_ASSERT(false, "invalid clipping plane: %d", ClippingPlane); in intersect()
674 SWR_ASSERT(false, "invalid clipping plane: %d", ClippingPlane); in inside()
888 SWR_ASSERT(NumVertsPerPrim == 2); in ClipPrims()
Dblend.h164 default: SWR_ASSERT(false, "Unimplemented blend factor: %d", func); in GenerateBlendFactor()
223 SWR_ASSERT(false, "Unimplemented blend function: %d", blendOp); in BlendFunc()
275 SWR_ASSERT(false, "Unimplemented clamp: %d", type); in Clamp()
Ddepthstencil.h92 SWR_ASSERT(depthBpc == 32); in QuantizeDepth()
99 SWR_ASSERT(depthType == SWR_TYPE_UNORM); in QuantizeDepth()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Dswr_assert.h88 #define SWR_ASSERT(e, ...) assert(e) macro
127 #define SWR_ASSERT(e, ...) _SWR_ASSERT(true, e, ##__VA_ARGS__) macro
128 #define SWR_ASSUME_ASSERT(e, ...) SWR_ASSERT(e, ##__VA_ARGS__)
134 #define assert(exp) SWR_ASSERT(exp)
149 #define SWR_ASSERT(e, ...) (void)(0) macro
160 #define SWR_NOT_IMPL SWR_ASSERT(0, "%s not implemented", __FUNCTION__)
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.h260 SWR_ASSERT(format < NUM_SWR_FORMATS, "Invalid Surface Format: %d", format); in GetFormatInfo()
261 SWR_ASSERT(gFormatInfo[format].name != nullptr, "Invalid Surface Format: %d", format); in GetFormatInfo()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dfetch_jit.cpp161 default: SWR_ASSERT(0, "Unsupported index type"); vIndices = nullptr; break; in Create()
262 SWR_ASSERT((info.bpp != 0), "Unsupported format in JitLoadVertices."); in JitLoadVertices()
267SWR_ASSERT(ied.ComponentPacking == ComponentEnable::XYZW, "Fetch load path doesn't support compone… in JitLoadVertices()
340 default: SWR_ASSERT(false, "Unsupported underlying bpp!"); in JitLoadVertices()
361 SWR_ASSERT(false, "Unsupported underlying type!"); in JitLoadVertices()
377 SWR_ASSERT(false, "Unsupported underlying type!"); in JitLoadVertices()
393 SWR_ASSERT(false, "Unsupported underlying type!"); in JitLoadVertices()
409 SWR_ASSERT(false, "Unsupported underlying type!"); in JitLoadVertices()
419 SWR_ASSERT(false, "Unsupported underlying type!"); in JitLoadVertices()
433 SWR_ASSERT(false, "Unsupported type %d!", info.type[0]); in JitLoadVertices()
[all …]
Dblend_jit.cpp140 SWR_ASSERT(false, "Unsupported blend factor: %d", factor); in GenerateBlendFactor()
182 default: SWR_ASSERT(false, "Unsupport format type: %d", type); in Clamp()
234 default: SWR_ASSERT(false, "Unsupported format type: %d", info.type[c]); in Quantize()
290 SWR_ASSERT(false, "Unsupported blend operation: %d", blendOp); in BlendFunc()
440 SWR_ASSERT(false, "Unsupported logic operation: %d", logicOp); in LogicOpFunc()
473 SWR_ASSERT(false, "Invalid alpha test function"); in AlphaTest()
494 SWR_ASSERT(false, "Invalid alpha test function"); in AlphaTest()
687 SWR_ASSERT(0, "Unsupported type for logic op\n"); in Create()
728 SWR_ASSERT(0, "Unsupported type for logic op\n"); in Create()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/archrast/
Deventmanager.h75 void Detach(EventHandler* pHandler) { SWR_ASSERT(0); } in Detach()

12