Home
last modified time | relevance | path

Searched refs:coverageMask (Results 1 – 16 of 16) sorted by relevance

/external/mesa3d/src/gallium/drivers/swr/rasterizer/archrast/
Darchrast.cpp195 _mm_popcnt_u32((!event.data.depthPassMask) & event.data.coverageMask); in Handle()
200 _mm_popcnt_u32((!event.data.stencilPassMask) & event.data.coverageMask); in Handle()
205 _mm_popcnt_u32((!event.data.depthPassMask) & event.data.coverageMask); in Handle()
210 _mm_popcnt_u32((!event.data.stencilPassMask) & event.data.coverageMask); in Handle()
220 _mm_popcnt_u32((!event.data.depthPassMask) & event.data.coverageMask); in Handle()
225 _mm_popcnt_u32((!event.data.stencilPassMask) & event.data.coverageMask); in Handle()
230 _mm_popcnt_u32((!event.data.depthPassMask) & event.data.coverageMask); in Handle()
235 _mm_popcnt_u32((!event.data.stencilPassMask) & event.data.coverageMask); in Handle()
245 _mm_popcnt_u32((!event.data.depthPassMask) & event.data.coverageMask); in Handle()
250 _mm_popcnt_u32((!event.data.stencilPassMask) & event.data.coverageMask); in Handle()
[all …]
Devents_private.proto31 uint64_t coverageMask;
38 uint64_t coverageMask;
45 uint64_t coverageMask;
52 uint64_t coverageMask;
59 uint64_t coverageMask;
66 uint64_t coverageMask;
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dbackend_sample.cpp94 : &work.coverageMask[0]; in BackendSampleRate()
105 &psContext, samplePos, coeffs, work.coverageMask, state.blendState.sampleMask); in BackendSampleRate()
111 simdmask coverageMask = work.coverageMask[sample] & MASK; in BackendSampleRate() local
113 if (coverageMask) in BackendSampleRate()
130 coverageMask &= CalcDepthBoundsAcceptMask(z, minz, maxz); in BackendSampleRate()
154 coverageMask &= ~ComputeUserClipMask(state.backendState.clipDistanceMask, in BackendSampleRate()
160 simdscalar vCoverageMask = _simd_vmask_ps(coverageMask); in BackendSampleRate()
196 work.coverageMask[sample] >>= (SIMD_TILE_Y_DIM * SIMD_TILE_X_DIM); in BackendSampleRate()
251 work.coverageMask[sample] >>= (SIMD_TILE_Y_DIM * SIMD_TILE_X_DIM); in BackendSampleRate()
290 work.coverageMask[sample] >>= (SIMD_TILE_Y_DIM * SIMD_TILE_X_DIM); in BackendSampleRate()
Dbackend_impl.h188 INLINE generateInputCoverage(const uint64_t* const coverageMask, in generateInputCoverage()
201 uint32_t centerCoverage = ((uint32_t)(*coverageMask) & MASK); in generateInputCoverage()
257 (const float*)coverageMask, in generateInputCoverage()
266 (const float*)coverageMask, in generateInputCoverage()
380 INLINE generateInputCoverage(const uint64_t* const coverageMask, in generateInputCoverage()
385 generateInputCoverage<T, T::InputCoverage>(coverageMask, inputMask, sampleMask); in generateInputCoverage()
400 INLINE generateInputCoverage(const uint64_t* const coverageMask,
406 simdscalari vec = _simd_set1_epi32(coverageMask[0]);
414 INLINE generateInputCoverage(const uint64_t* const coverageMask,
418 uint32_t simdCoverage = (coverageMask[0] & MASK);
[all …]
Dbackend_singlesample.cpp91 simdmask coverageMask = work.coverageMask[0] & MASK; in BackendSingleSample() local
93 if (coverageMask) in BackendSingleSample()
106 coverageMask &= CalcDepthBoundsAcceptMask(z, minz, maxz); in BackendSingleSample()
114 : &work.coverageMask[0]; in BackendSingleSample()
125 &psContext, samplePos, coeffs, work.coverageMask, state.blendState.sampleMask); in BackendSingleSample()
137 coverageMask &= ~ComputeUserClipMask(state.backendState.clipDistanceMask, in BackendSingleSample()
143 simdscalar vCoverageMask = _simd_vmask_ps(coverageMask); in BackendSingleSample()
280 work.coverageMask[0] >>= (SIMD_TILE_Y_DIM * SIMD_TILE_X_DIM); in BackendSingleSample()
Ddepthstencil.h127 simdscalar const& coverageMask, in DepthStencilTest() argument
249 depthWriteMask = _simd_and_ps(depthWriteMask, coverageMask); in DepthStencilTest()
262 const simdscalar& coverageMask, in DepthStencilWrite() argument
273 simdscalar vMask = _simd_and_ps(depthMask, coverageMask); in DepthStencilWrite()
308 simdscalar stencilFailMask = _simd_andnot_ps(stencilMask, coverageMask); in DepthStencilWrite()
332 stencilResult.v[0] = _simd_blendv_ps(origStencil, stencilps, coverageMask); in DepthStencilWrite()
Dbackend.cpp296 simdmask coverageMask = work.coverageMask[sample] & MASK; in BackendNullPS() local
298 if (coverageMask) in BackendNullPS()
315 coverageMask &= CalcDepthBoundsAcceptMask(z, minz, maxz); in BackendNullPS()
339 coverageMask &= ~ComputeUserClipMask(state.backendState.clipDistanceMask, in BackendNullPS()
345 simdscalar vCoverageMask = _simd_vmask_ps(coverageMask); in BackendNullPS()
378 work.coverageMask[sample] >>= (SIMD_TILE_Y_DIM * SIMD_TILE_X_DIM); in BackendNullPS()
Drasterizer.cpp288 uint32_t tX = workDesc.triFlags.coverageMask & 0x7; in RasterizeSimplePoint()
289 uint32_t tY = (workDesc.triFlags.coverageMask >> 4) & 0x7; in RasterizeSimplePoint()
290 for (uint32_t i = 0; i < _countof(triDesc.coverageMask); ++i) in RasterizeSimplePoint()
292 triDesc.coverageMask[i] = 1ULL << coverageMap[tY][tX]; in RasterizeSimplePoint()
294 triDesc.anyCoveredSamples = triDesc.coverageMask[0]; in RasterizeSimplePoint()
295 triDesc.innerCoverageMask = triDesc.coverageMask[0]; in RasterizeSimplePoint()
Drasterizer_impl.h110 uint64_t coverageMask = 0; in rasterizePartialTile() local
153 coverageMask |= (mask << bit); in rasterizePartialTile()
252 coverageMask |= (mask << bit); in rasterizePartialTile()
269 return coverageMask; in rasterizePartialTile()
1278 triDesc.coverageMask[sampleNum] = 0xffffffffffffffffULL;
1294 triDesc.anyCoveredSamples = triDesc.coverageMask[sampleNum];
1343 triDesc.coverageMask[sampleNum] =
1348 triDesc.anyCoveredSamples |= triDesc.coverageMask[sampleNum];
1363 triDesc.coverageMask[sampleNum] = 0;
1372 gToss = triDesc.coverageMask[0];
[all …]
Dcontext.h63 uint32_t coverageMask : (SIMD_TILE_X_DIM* SIMD_TILE_Y_DIM);
87 uint64_t coverageMask[SWR_MAX_NUM_MULTISAMPLES]; member
Dbinner.cpp1406 work.desc.tri.triFlags.coverageMask = tX | (tY << 4); in BinPostSetupPointsImpl()
/external/angle/src/compiler/translator/
DTranslatorMetal.cpp320 TIntermBinary *coverageMask = driverUniforms->getCoverageMaskFieldRef(); in insertSampleMaskWritingLogic() local
328 args.push_back(coverageMask); in insertSampleMaskWritingLogic()
DTranslatorMetalDirect.cpp524 TIntermBinary *coverageMask = driverUniforms.getCoverageMask(); in insertSampleMaskWritingLogic() local
525 args->push_back(coverageMask); in insertSampleMaskWritingLogic()
/external/angle/src/libANGLE/renderer/metal/
DContextMtl.mm2185 uint32_t coverageMask = (1u << coverageSampleBitCount) - 1;
2189 coverageMask = sampleMask & (~coverageMask);
2191 mDriverUniforms.coverageMask = coverageMask;
DContextMtl.h506 uint32_t coverageMask; member
/external/angle/src/libANGLE/renderer/vulkan/
DContextVk.cpp176 uint32_t coverageMask = coverageSampleCount >= (maskBitOffset + 32) in ApplySampleCoverage() local
182 coverageMask = ~coverageMask; in ApplySampleCoverage()
185 *maskOut &= coverageMask; in ApplySampleCoverage()