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
97 __m128 vLineWidth = _mm_set1_ps(pDC->pState->state.rastState.lineWidth); in RasterizeLine()
155 pfnTriRast = GetRasterizerFunc(rastState.sampleCount, rastState.bIsCenterPattern, false, in RasterizeLine()
319 const SWR_RASTSTATE& rastState = pDC->pState->state.rastState; in RasterizeTriPoint() local
365 pfnTriRast = GetRasterizerFunc(rastState.sampleCount, rastState.bIsCenterPattern, false, in RasterizeTriPoint()
383 if (rastState.pointSpriteTopOrigin) in RasterizeTriPoint()
425 if (rastState.pointSpriteTopOrigin) in RasterizeTriPoint()
Dapi.cpp465 pState->rastState.cullMode = SWR_CULLMODE_NONE; in SetupDefaultState()
466 pState->rastState.frontWinding = SWR_FRONTWINDING_CCW; in SetupDefaultState()
748 memcpy(&pState->rastState, pRastState, sizeof(SWR_RASTSTATE)); in SwrSetRastState()
793 if (pState->rastState.scissorEnable) in SetupMacroTileScissors()
837 const SWR_RASTSTATE &rastState = pState->state.rastState; in SetupPipeline() local
844 backendFuncs.pfnBackend = gBackendNullPs[pState->state.rastState.sampleCount]; in SetupPipeline()
848 const uint32_t forcedSampleCount = (rastState.forcedSampleCount) ? 1 : 0; in SetupPipeline()
849 …const bool bMultisampleEnable = ((rastState.sampleCount > SWR_MULTISAMPLE_1X) || forcedSampleCount… in SetupPipeline()
862 …backendFuncs.pfnBackend = gBackendPixelRateTable[rastState.sampleCount][rastState.bIsCenterPattern… in SetupPipeline()
874 SWR_ASSERT(rastState.bIsCenterPattern != true); in SetupPipeline()
[all …]
Dbinner.cpp657 const SWR_RASTSTATE& rastState = state.rastState; in BinTrianglesImpl() local
704 typename SIMD_T::Float offset = SwrPixelOffsets<SIMD_T>::GetOffset(rastState.pixelLocation); in BinTrianglesImpl()
735 if (rastState.fillMode == SWR_FILLMODE_SOLID && !CT::IsConservativeT::value) in BinTrianglesImpl()
746 if (rastState.frontWinding == SWR_FRONTWINDING_CW) in BinTrianglesImpl()
760 switch ((SWR_CULLMODE)rastState.cullMode) in BinTrianglesImpl()
767 default: SWR_INVALID("Invalid cull mode: %d", rastState.cullMode); cullTris = 0x0; break; in BinTrianglesImpl()
829 …pfnWork = GetRasterizerFunc(rastState.sampleCount, rastState.bIsCenterPattern, (rastState.conserva… in BinTrianglesImpl()
847 if ((rastState.sampleCount == SWR_MULTISAMPLE_1X || rastState.bIsCenterPattern) && in BinTrianglesImpl()
931 if (rastState.sampleCount == SWR_MULTISAMPLE_1X && !CT::IsConservativeT::value) in BinTrianglesImpl()
973 if (rastState.fillMode == SWR_FILLMODE_WIREFRAME) in BinTrianglesImpl()
[all …]
Dfrontend.h352 return (state.rastState.sampleCount == SWR_MULTISAMPLE_1X && in CanUseSimplePoints()
353 state.rastState.pointSize == 1.0f && in CanUseSimplePoints()
354 !state.rastState.pointParam && in CanUseSimplePoints()
355 !state.rastState.pointSpriteEnable && in CanUseSimplePoints()
Dbackend_clear.cpp142 const int32_t numSamples = GetNumSamples(pDC->pState->state.rastState.sampleCount); in ClearMacroTile()
179 SWR_MULTISAMPLE_COUNT sampleCount = pDC->pState->state.rastState.sampleCount; in ProcessClearBE()
Dbackend.cpp183 const int32_t numSamples = GetNumSamples(pDC->pState->state.rastState.sampleCount); in ProcessDiscardInvalidateTilesBE()
224 const SWR_MULTISAMPLE_POS& samplePos = state.rastState.samplePositions; in BackendNullPS()
Dclip.h88 if (state.rastState.depthClipEnable) in ComputeClipCodes()
92 if (state.rastState.clipHalfZ) in ComputeClipCodes()
516 … BinnerChooser<SIMD_T> binner(NumVertsPerPrim, pa.pDC->pState->state.rastState.conservativeRast);
692 … BinnerChooser<SIMD_T> binner(pa.binTopology, pa.pDC->pState->state.rastState.conservativeRast);
835 if (this->state.rastState.clipHalfZ)
903 …case FRUSTUM_NEAR: return SIMD_T::cmpge_ps(v[2], this->state.rastState.clipHalfZ ? SIMD_T::se…
Drasterizer_impl.h854 const SWR_RASTSTATE &rastState = state.rastState;
977 triDesc.Z[2] += ComputeDepthBias(&rastState, &triDesc, workDesc.pTriBuffer + 8);
1123 const SWR_MULTISAMPLE_POS &samplePos = rastState.samplePositions;
1212 const SWR_MULTISAMPLE_POS &samplePos = rastState.samplePositions;
Dcontext.h272 SWR_RASTSTATE rastState; in OSALIGNLINE() local
Dbackend_singlesample.cpp54 const SWR_MULTISAMPLE_POS& samplePos = state.rastState.samplePositions; in BackendSingleSample()
Dbackend_sample.cpp54 const SWR_MULTISAMPLE_POS& samplePos = state.rastState.samplePositions; in BackendSampleRate()
Dtilemgr.cpp388 uint32_t numSamples = GetNumSamples(state.rastState.sampleCount); in InitializeHotTiles()
Dbackend_impl.h565 samplePos(state.rastState.samplePositions),
881 const SWR_MULTISAMPLE_POS& samplePos = state.rastState.samplePositions;
/external/mesa3d/src/gallium/drivers/swr/
Dswr_state.cpp1127 SWR_RASTSTATE *rastState = &ctx->derived.rastState; in swr_update_derived() local
1128 rastState->cullMode = swr_convert_cull_mode(rasterizer->cull_face); in swr_update_derived()
1129 rastState->frontWinding = rasterizer->front_ccw in swr_update_derived()
1132 rastState->scissorEnable = rasterizer->scissor; in swr_update_derived()
1133 rastState->pointSize = rasterizer->point_size > 0.0f in swr_update_derived()
1136 rastState->lineWidth = rasterizer->line_width > 0.0f in swr_update_derived()
1140 rastState->pointParam = rasterizer->point_size_per_vertex; in swr_update_derived()
1142 rastState->pointSpriteEnable = rasterizer->sprite_coord_enable; in swr_update_derived()
1143 rastState->pointSpriteTopOrigin = in swr_update_derived()
1154 rastState->sampleCount = GetSampleCount(fb->samples); in swr_update_derived()
[all …]
Dswr_state.h105 SWR_RASTSTATE rastState; member