Home
last modified time | relevance | path

Searched refs:rastState (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Drasterizer.cpp59 const SWR_RASTSTATE& rastState = state.rastState; in RasterizeLine() local
98 __m128 vLineWidth = _mm_set1_ps(pDC->pState->state.rastState.lineWidth); in RasterizeLine()
156 pfnTriRast = GetRasterizerFunc(rastState.sampleCount, in RasterizeLine()
157 rastState.bIsCenterPattern, in RasterizeLine()
323 const SWR_RASTSTATE& rastState = pDC->pState->state.rastState; in RasterizeTriPoint() local
369 pfnTriRast = GetRasterizerFunc(rastState.sampleCount, in RasterizeTriPoint()
370 rastState.bIsCenterPattern, in RasterizeTriPoint()
391 if (rastState.pointSpriteTopOrigin) in RasterizeTriPoint()
433 if (rastState.pointSpriteTopOrigin) in RasterizeTriPoint()
Dapi.cpp499 pState->rastState.cullMode = SWR_CULLMODE_NONE; in SetupDefaultState()
500 pState->rastState.frontWinding = SWR_FRONTWINDING_CCW; in SetupDefaultState()
751 memcpy((void*)&pState->rastState, (void*)pRastState, sizeof(SWR_RASTSTATE)); in SwrSetRastState()
789 if (pState->rastState.scissorEnable) in SetupMacroTileScissors()
834 const SWR_RASTSTATE& rastState = pState->state.rastState; in SetupPipeline() local
841 backendFuncs.pfnBackend = gBackendNullPs[pState->state.rastState.sampleCount]; in SetupPipeline()
845 const uint32_t forcedSampleCount = (rastState.forcedSampleCount) ? 1 : 0; in SetupPipeline()
847 ((rastState.sampleCount > SWR_MULTISAMPLE_1X) || forcedSampleCount) ? 1 : 0; in SetupPipeline()
864 gBackendPixelRateTable[rastState.sampleCount][rastState.bIsCenterPattern] in SetupPipeline()
879 SWR_ASSERT(rastState.bIsCenterPattern != true); in SetupPipeline()
[all …]
Dbinner.cpp681 const SWR_RASTSTATE& rastState = state.rastState; in BinTrianglesImpl() local
728 Float<SIMD_T> offset = SwrPixelOffsets<SIMD_T>::GetOffset(rastState.pixelLocation); in BinTrianglesImpl()
761 if (rastState.fillMode == SWR_FILLMODE_SOLID && !CT::IsConservativeT::value) in BinTrianglesImpl()
772 if (rastState.frontWinding == SWR_FRONTWINDING_CW) in BinTrianglesImpl()
790 switch ((SWR_CULLMODE)rastState.cullMode) in BinTrianglesImpl()
807 SWR_INVALID("Invalid cull mode: %d", rastState.cullMode); in BinTrianglesImpl()
878 pfnWork = GetRasterizerFunc(rastState.sampleCount, in BinTrianglesImpl()
879 rastState.bIsCenterPattern, in BinTrianglesImpl()
880 (rastState.conservativeRast > 0), in BinTrianglesImpl()
900 if ((rastState.sampleCount == SWR_MULTISAMPLE_1X || rastState.bIsCenterPattern) && in BinTrianglesImpl()
[all …]
Dfrontend.h372 return (state.rastState.sampleCount == SWR_MULTISAMPLE_1X && in CanUseSimplePoints()
373 state.rastState.pointSize == 1.0f && !state.rastState.pointParam && in CanUseSimplePoints()
374 !state.rastState.pointSpriteEnable && !state.backendState.clipDistanceMask); in CanUseSimplePoints()
Dbackend_clear.cpp114 const int32_t numSamples = GetNumSamples(pDC->pState->state.rastState.sampleCount); in ClearMacroTile()
166 SWR_MULTISAMPLE_COUNT sampleCount = pDC->pState->state.rastState.sampleCount; in ProcessClearBE()
Dbackend.cpp221 const int32_t numSamples = GetNumSamples(pDC->pState->state.rastState.sampleCount); in ProcessDiscardInvalidateTilesBE()
280 const SWR_MULTISAMPLE_POS& samplePos = state.rastState.samplePositions; in BackendNullPS()
Dclip.h93 if (state.rastState.depthClipEnable) in ComputeClipCodes()
97 if (state.rastState.clipHalfZ) in ComputeClipCodes()
558 pa.pDC->pState->state.rastState.conservativeRast);
747 pa.pDC->pState->state.rastState.conservativeRast);
926 if (this->state.rastState.clipHalfZ)
1006 this->state.rastState.clipHalfZ
Drasterizer_impl.h934 const SWR_RASTSTATE& rastState = state.rastState;
1058 triDesc.Z[2] += ComputeDepthBias(&rastState, &triDesc, workDesc.pTriBuffer + 8);
1212 const SWR_MULTISAMPLE_POS& samplePos = rastState.samplePositions;
1316 const SWR_MULTISAMPLE_POS& samplePos = rastState.samplePositions;
Dbackend_singlesample.cpp59 const SWR_MULTISAMPLE_POS& samplePos = state.rastState.samplePositions; in BackendSingleSample()
Dcontext.h290 SWR_RASTSTATE rastState; in OSALIGNLINE() local
Dtilemgr.cpp353 uint32_t numSamples = GetNumSamples(state.rastState.sampleCount); in InitializeHotTiles()
Dbackend_sample.cpp58 const SWR_MULTISAMPLE_POS& samplePos = state.rastState.samplePositions; in BackendSampleRate()
Dbackend_impl.h733 samplePos(state.rastState.samplePositions), clipDistanceMask(ClipDistanceMask),
1041 const SWR_MULTISAMPLE_POS& samplePos = state.rastState.samplePositions;
/external/mesa3d/src/gallium/drivers/swr/
Dswr_state.cpp1252 SWR_RASTSTATE *rastState = &ctx->derived.rastState; in swr_update_derived() local
1253 rastState->cullMode = swr_convert_cull_mode(rasterizer->cull_face); in swr_update_derived()
1254 rastState->frontWinding = rasterizer->front_ccw in swr_update_derived()
1257 rastState->scissorEnable = rasterizer->scissor; in swr_update_derived()
1258 rastState->pointSize = rasterizer->point_size > 0.0f in swr_update_derived()
1261 rastState->lineWidth = rasterizer->line_width > 0.0f in swr_update_derived()
1265 rastState->pointParam = rasterizer->point_size_per_vertex; in swr_update_derived()
1267 rastState->pointSpriteEnable = rasterizer->sprite_coord_enable; in swr_update_derived()
1268 rastState->pointSpriteTopOrigin = in swr_update_derived()
1279 rastState->sampleCount = GetSampleCount(fb->samples); in swr_update_derived()
[all …]
Dswr_state.h127 SWR_RASTSTATE rastState; member