Home
last modified time | relevance | path

Searched refs:sampleNum (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dmultisample.h56 INLINE static float X(uint32_t sampleNum) = delete;
57 INLINE static float Y(uint32_t sampleNum) = delete;
66 INLINE static float X(uint32_t sampleNum) {return samplePosX[sampleNum];};
67 INLINE static float Y(uint32_t sampleNum) {return samplePosY[sampleNum];};
82 INLINE static float X(uint32_t sampleNum) {return 0.5f;};
83 INLINE static float Y(uint32_t sampleNum) {return 0.5f;};
98 …INLINE static float X(uint32_t sampleNum) { SWR_ASSERT(sampleNum < numSamples); return samplePosX[
99 …INLINE static float Y(uint32_t sampleNum) { SWR_ASSERT(sampleNum < numSamples); return samplePosY[
118 INLINE static float X(uint32_t sampleNum) {return 0.5f;};
119 INLINE static float Y(uint32_t sampleNum) {return 0.5f;};
[all …]
Dstate.h999 INLINE void SetXi(uint32_t sampleNum, uint32_t val) { _xi[sampleNum] = val; }; // @llvm_func in SetXi()
1000 INLINE void SetYi(uint32_t sampleNum, uint32_t val) { _yi[sampleNum] = val; }; // @llvm_func in SetYi()
1001 INLINE uint32_t Xi(uint32_t sampleNum) const { return _xi[sampleNum]; }; // @llvm_func in Xi()
1002 INLINE uint32_t Yi(uint32_t sampleNum) const { return _yi[sampleNum]; }; // @llvm_func in Yi()
1003 INLINE void SetX(uint32_t sampleNum, float val) { _x[sampleNum] = val; }; // @llvm_func in SetX()
1004 INLINE void SetY(uint32_t sampleNum, float val) { _y[sampleNum] = val; }; // @llvm_func in SetY()
1005 INLINE float X(uint32_t sampleNum) const { return _x[sampleNum]; }; // @llvm_func in X()
1006 INLINE float Y(uint32_t sampleNum) const { return _y[sampleNum]; }; // @llvm_func in Y()
1010 INLINE const __m128i& vXi(uint32_t sampleNum) const { return _vXi[sampleNum]; }; // @llvm_func in vXi()
1011 INLINE const __m128i& vYi(uint32_t sampleNum) const { return _vYi[sampleNum]; }; // @llvm_func in vYi()
[all …]
Dbackend_impl.h77 INLINE static uint32_t RasterTileColorOffset(uint32_t sampleNum) in RasterTileColorOffset() argument
97 assert(sampleNum < 16); in RasterTileColorOffset()
98 return RasterTileColorOffsets[sampleNum]; in RasterTileColorOffset()
101 INLINE static uint32_t RasterTileDepthOffset(uint32_t sampleNum) in RasterTileDepthOffset() argument
121 assert(sampleNum < 16); in RasterTileDepthOffset()
122 return RasterTileDepthOffsets[sampleNum]; in RasterTileDepthOffset()
125 INLINE static uint32_t RasterTileStencilOffset(uint32_t sampleNum) in RasterTileStencilOffset() argument
145 assert(sampleNum < 16); in RasterTileStencilOffset()
146 return RasterTileStencilOffsets[sampleNum]; in RasterTileStencilOffset()
349 unsigned long sampleNum[KNOB_SIMD_WIDTH];
[all …]
Dbackend_clear.cpp159 for( int32_t sampleNum = 0; sampleNum < numSamples; sampleNum++) in ClearMacroTile() local
Drasterizer_impl.h1171 for (uint32_t sampleNum = 0; sampleNum < NumCoverageSamplesT::value; sampleNum++)
1179 triDesc.coverageMask[sampleNum] = 0xffffffffffffffffULL;
1192 triDesc.anyCoveredSamples = triDesc.coverageMask[sampleNum];
1213 __m128i vSampleOffsetXh = samplePos.vXi(sampleNum);
1214 __m128i vSampleOffsetYh = samplePos.vYi(sampleNum);
1237 …triDesc.coverageMask[sampleNum] = rasterizePartialTile<RT::NumEdgesT::value, typename RT::ValidEdg…
1240 triDesc.anyCoveredSamples |= triDesc.coverageMask[sampleNum];
1251 triDesc.coverageMask[sampleNum] = 0;
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DTilingFunctions.h415 …onst SWR_SURFACE_STATE *pState, uint32_t& x, uint32_t& y, uint32_t& arrayIndex, uint32_t sampleNum)
437 newSampleX = pext_u32(sampleNum, sampleMaskX);
449 newSampleX = pext_u32(sampleNum, sampleMaskX);
450 newSampleY = pext_u32(sampleNum, sampleMaskY);
462 newSampleX = pext_u32(sampleNum, sampleMaskX);
463 newSampleY = pext_u32(sampleNum, sampleMaskY);
474 newSampleX = pext_u32(sampleNum, sampleMaskX);
475 newSampleY = pext_u32(sampleNum, sampleMaskY);
494 assert(sampleNum == 0);
518 arrayIndex = (arrayIndex << sampleShift) | sampleNum;
[all …]
DStoreTile.h1111 …uint32_t x, uint32_t y, uint32_t sampleNum, uint32_t renderTargetArrayIndex) // (x, y) pixel coord…
1130 sampleNum, pDstSurface->lod, pDstSurface);
1166 for (uint32_t sampleNum = 0; sampleNum < pDstSurface->numSamples; sampleNum++)
1169 uint8_t *pSampleSrc = pSrc + sampleOffset * sampleNum;
1220 uint32_t x, uint32_t y, uint32_t sampleNum, uint32_t renderTargetArrayIndex)
1228 … return GenericStoreTile::Store(pSrc, pDstSurface, x, y, sampleNum, renderTargetArrayIndex);
1232 … pDstSurface->arrayIndex + renderTargetArrayIndex, sampleNum, pDstSurface->lod, pDstSurface);
1307 uint32_t x, uint32_t y, uint32_t sampleNum, uint32_t renderTargetArrayIndex)
1315 … return GenericStoreTile::Store(pSrc, pDstSurface, x, y, sampleNum, renderTargetArrayIndex);
1319 … pDstSurface->arrayIndex + renderTargetArrayIndex, sampleNum, pDstSurface->lod, pDstSurface);
[all …]
DLoadTile.h109 …uint32_t x, uint32_t y, uint32_t sampleNum, uint32_t renderTargetArrayIndex) // (x, y) pixel coord… in Load()
123 pSrcSurface->arrayIndex + renderTargetArrayIndex, sampleNum, in Load()
161 for (uint32_t sampleNum = 0; sampleNum < pSrcSurface->numSamples; sampleNum++) in Load() local
163 …loadRasterTileFn(pSrcSurface, pDstHotTile, (x + col), (y + row), sampleNum, renderTargetArrayIndex… in Load()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dblend_jit.cpp552 Value* sampleNum = &*argitr++; in Create() local
553 sampleNum->setName("sampleNum"); in Create()
782 Value* sampleMasked = SHL(C(1), sampleNum); in Create()
/external/python/cpython2/Mac/Modules/qt/
D_Qtmodule.c2733 long sampleNum; in MediaObj_MediaTimeToSampleNum() local
2744 &sampleNum, in MediaObj_MediaTimeToSampleNum()
2748 sampleNum, in MediaObj_MediaTimeToSampleNum()
9280 long sampleNum; in Qt_SpriteMediaGetDisplayedSampleNumber() local
9288 &sampleNum); in Qt_SpriteMediaGetDisplayedSampleNumber()
9291 sampleNum); in Qt_SpriteMediaGetDisplayedSampleNumber()
23895 long sampleNum; in Qt_MediaReleaseSampleDataPointer() local
23901 &sampleNum)) in Qt_MediaReleaseSampleDataPointer()
23904 sampleNum); in Qt_MediaReleaseSampleDataPointer()
24631 long sampleNum; in Qt_MediaEmptySampleCache() local
[all …]