Searched refs:psContext (Results 1 – 6 of 6) sorted by relevance
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | backend_impl.h | 34 …tic INLINE void CalcSampleBarycentrics(const BarycentricCoeffs& coeffs, SWR_PS_CONTEXT &psContext); 339 INLINE void CalcCentroidPos(SWR_PS_CONTEXT &psContext, const SWR_MULTISAMPLE_POS& samplePos, 395 …psContext.vX.centroid = _simd_blendv_ps(vXSample, psContext.vX.center, _simd_castsi_ps(vEvalAtCent… 396 …psContext.vY.centroid = _simd_blendv_ps(vYSample, psContext.vY.center, _simd_castsi_ps(vEvalAtCent… 410 …psContext.vX.centroid = _simd_blendv_ps(psContext.vX.centroid, vXSample, _simd_castsi_ps(vCase3a)); 411 …psContext.vY.centroid = _simd_blendv_ps(psContext.vY.centroid, vYSample, _simd_castsi_ps(vCase3a)); 414 INLINE void CalcCentroidBarycentrics(const BarycentricCoeffs& coeffs, SWR_PS_CONTEXT &psContext, 418 …psContext.vI.centroid = vplaneps(coeffs.vIa, coeffs.vIb, coeffs.vIc, psContext.vX.centroid, psCont… 419 …psContext.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 …]
|
D | backend_sample.cpp | 53 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 …]
|
D | backend_singlesample.cpp | 53 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 …]
|
D | backend.cpp | 216 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() 269 …psContext.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() 285 … psContext.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/ |
D | PVRTShadowVol.cpp | 568 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()
|
D | PVRTShadowVol.h | 145 SPVRTContext * const psContext=NULL); 154 SPVRTContext * const psContext=NULL);
|