Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dbackend_impl.h34 …tic INLINE void CalcSampleBarycentrics(const BarycentricCoeffs& coeffs, SWR_PS_CONTEXT &psContext);
339 INLINE void CalcCentroidPos(SWR_PS_CONTEXT &psContext, const SWR_MULTISAMPLE_POS& samplePos,
395psContext.vX.centroid = _simd_blendv_ps(vXSample, psContext.vX.center, _simd_castsi_ps(vEvalAtCent…
396psContext.vY.centroid = _simd_blendv_ps(vYSample, psContext.vY.center, _simd_castsi_ps(vEvalAtCent…
410psContext.vX.centroid = _simd_blendv_ps(psContext.vX.centroid, vXSample, _simd_castsi_ps(vCase3a));
411psContext.vY.centroid = _simd_blendv_ps(psContext.vY.centroid, vYSample, _simd_castsi_ps(vCase3a));
414 INLINE void CalcCentroidBarycentrics(const BarycentricCoeffs& coeffs, SWR_PS_CONTEXT &psContext,
418psContext.vI.centroid = vplaneps(coeffs.vIa, coeffs.vIb, coeffs.vIc, psContext.vX.centroid, psCont…
419psContext.vJ.centroid = vplaneps(coeffs.vJa, coeffs.vJb, coeffs.vJc, psContext.vX.centroid, psCont…
420 psContext.vI.centroid = _simd_mul_ps(psContext.vI.centroid, coeffs.vRecipDet);
[all …]
Dbackend_sample.cpp53 SWR_PS_CONTEXT psContext; in BackendSampleRate() local
55 SetupPixelShaderContext<T>(&psContext, samplePos, work); in BackendSampleRate()
58 …SetupRenderBuffers(psContext.pColorBuffer, &pDepthBuffer, &pStencilBuffer, state.colorHottileEnabl… in BackendSampleRate()
62 psContext.vY.UL = _simd_add_ps(vULOffsetsY, _simd_set1_ps(static_cast<float>(y))); in BackendSampleRate()
63 psContext.vY.center = _simd_add_ps(vCenterOffsetsY, _simd_set1_ps(static_cast<float>(y))); in BackendSampleRate()
69 psContext.vX.UL = _simd_add_ps(vULOffsetsX, _simd_set1_ps(static_cast<float>(x))); in BackendSampleRate()
70 psContext.vX.center = _simd_add_ps(vCenterOffsetsX, _simd_set1_ps(static_cast<float>(x))); in BackendSampleRate()
83 …generateInputCoverage<T, T::InputCoverage>(pCoverageMask, psContext.inputMask, state.blendState.sa… in BackendSampleRate()
88 CalcPixelBarycentrics(coeffs, psContext); in BackendSampleRate()
90 …CalcCentroid<T, false>(&psContext, samplePos, coeffs, work.coverageMask, state.blendState.sampleMa… in BackendSampleRate()
[all …]
Dbackend_singlesample.cpp53 SWR_PS_CONTEXT psContext; in BackendSingleSample() local
55 SetupPixelShaderContext<T>(&psContext, samplePos, work); in BackendSingleSample()
58 …SetupRenderBuffers(psContext.pColorBuffer, &pDepthBuffer, &pStencilBuffer, state.colorHottileEnabl… in BackendSingleSample()
62 psContext.vY.UL = _simd_add_ps(vULOffsetsY, _simd_set1_ps(static_cast<float>(y))); in BackendSingleSample()
63 psContext.vY.center = _simd_add_ps(vCenterOffsetsY, _simd_set1_ps(static_cast<float>(y))); in BackendSingleSample()
69 psContext.vX.UL = _simd_add_ps(vULOffsetsX, _simd_set1_ps(static_cast<float>(x))); in BackendSingleSample()
70 psContext.vX.center = _simd_add_ps(vCenterOffsetsX, _simd_set1_ps(static_cast<float>(x))); in BackendSingleSample()
99 …generateInputCoverage<T, T::InputCoverage>(pCoverageMask, psContext.inputMask, state.blendState.sa… in BackendSingleSample()
104 CalcPixelBarycentrics(coeffs, psContext); in BackendSingleSample()
106 …CalcCentroid<T, true>(&psContext, samplePos, coeffs, work.coverageMask, state.blendState.sampleMas… in BackendSingleSample()
[all …]
Dbackend.cpp216 SWR_PS_CONTEXT psContext; in BackendNullPS() local
263 psContext.vX.sample = _simd_add_ps(vXSamplePosUL, samplePos.vX(sample)); in BackendNullPS()
264 psContext.vY.sample = _simd_add_ps(vYSamplePosUL, samplePos.vY(sample)); in BackendNullPS()
266 CalcSampleBarycentrics(coeffs, psContext); in BackendNullPS()
269psContext.vZ = vplaneps(coeffs.vZa, coeffs.vZb, coeffs.vZc, psContext.vI.sample, psContext.vJ.samp… in BackendNullPS()
270 psContext.vZ = state.pfnQuantizeDepth(psContext.vZ); in BackendNullPS()
277 …k(state.backendState.clipDistanceMask, work.pUserClipBuffer, psContext.vI.sample, psContext.vJ.sam… in BackendNullPS()
285psContext.vZ, pDepthSample, vCoverageMask, pStencilSample, &stencilPassMask); in BackendNullPS()
287 …vp[work.triFlags.viewportIndex], &state.depthStencilState, work.triFlags.frontFacing, psContext.vZ, in BackendNullPS()
/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);