Home
last modified time | relevance | path

Searched refs:psContext (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dbackend.h47 void CalcSampleBarycentrics(const BarycentricCoeffs& coeffs, SWR_PS_CONTEXT &psContext);
326 INLINE void CalcCentroidPos(SWR_PS_CONTEXT &psContext, const uint64_t *const coverageMask, const ui…
381psContext.vX.centroid = _simd_blendv_ps(vXSample, psContext.vX.center, _simd_castsi_ps(vEvalAtCent…
382psContext.vY.centroid = _simd_blendv_ps(vYSample, psContext.vY.center, _simd_castsi_ps(vEvalAtCent…
396psContext.vX.centroid = _simd_blendv_ps(psContext.vX.centroid, vXSample, _simd_castsi_ps(vCase3a));
397psContext.vY.centroid = _simd_blendv_ps(psContext.vY.centroid, vYSample, _simd_castsi_ps(vCase3a));
400 INLINE void CalcCentroidBarycentrics(const BarycentricCoeffs& coeffs, SWR_PS_CONTEXT &psContext,
404psContext.vI.centroid = vplaneps(coeffs.vIa, coeffs.vIb, coeffs.vIc, psContext.vX.centroid, psCont…
405psContext.vJ.centroid = vplaneps(coeffs.vJa, coeffs.vJb, coeffs.vJc, psContext.vX.centroid, psCont…
406 psContext.vI.centroid = _simd_mul_ps(psContext.vI.centroid, coeffs.vRecipDet);
[all …]
Dbackend.cpp470 SWR_PS_CONTEXT psContext; in BackendSingleSample() local
471 SetupPixelShaderContext<T>(&psContext, work); in BackendSingleSample()
475 psContext.vY.UL = _simd_add_ps(vULOffsetsY, _simd_set1_ps(static_cast<float>(y))); in BackendSingleSample()
476 psContext.vY.center = _simd_add_ps(vCenterOffsetsY, _simd_set1_ps(static_cast<float>(y))); in BackendSingleSample()
482 psContext.vX.UL = _simd_add_ps(vULOffsetsX, _simd_set1_ps(static_cast<float>(x))); in BackendSingleSample()
483 psContext.vX.center = _simd_add_ps(vCenterOffsetsX, _simd_set1_ps(static_cast<float>(x))); in BackendSingleSample()
513 …generateInputCoverage<T, T::InputCoverage>(pCoverageMask, psContext.inputMask, state.blendState.sa… in BackendSingleSample()
518 CalcPixelBarycentrics(coeffs, psContext); in BackendSingleSample()
520 … CalcCentroid<T, true>(&psContext, coeffs, work.coverageMask, state.blendState.sampleMask); in BackendSingleSample()
523psContext.vZ = vplaneps(coeffs.vZa, coeffs.vZb, coeffs.vZc, psContext.vI.center, psContext.vJ.cent… in BackendSingleSample()
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTShadowVol.cpp568 SPVRTContext * const psContext) in PVRTShadowVolMeshReleaseMesh() argument
571 _ASSERT(psContext && psContext->pglExt); in PVRTShadowVolMeshReleaseMesh()
572 if (!psContext || !psContext->pglExt) in PVRTShadowVolMeshReleaseMesh()
574 psContext->pglExt->glDeleteBuffersARB(1, &psMesh->pivb); in PVRTShadowVolMeshReleaseMesh()
577 PVRT_UNREFERENCED_PARAMETER(psContext); in PVRTShadowVolMeshReleaseMesh()
589 SPVRTContext * const psContext) in PVRTShadowVolMeshReleaseVol() argument
592 _ASSERT(psContext && psContext->pglExt); in PVRTShadowVolMeshReleaseVol()
593 if (!psContext || !psContext->pglExt) in PVRTShadowVolMeshReleaseVol()
595 psContext->pglExt->glDeleteBuffersARB(1, &psVol->piib); in PVRTShadowVolMeshReleaseVol()
599 PVRT_UNREFERENCED_PARAMETER(psContext); in PVRTShadowVolMeshReleaseVol()
DPVRTShadowVol.h145 SPVRTContext * const psContext=NULL);
154 SPVRTContext * const psContext=NULL);