Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dmultisample.h63 INLINE static float X(uint32_t sampleNum) = delete;
64 INLINE static float Y(uint32_t sampleNum) = delete;
73 INLINE static float X(uint32_t sampleNum) { return samplePosX[sampleNum]; };
74 INLINE static float Y(uint32_t sampleNum) { return samplePosY[sampleNum]; };
89 INLINE static float X(uint32_t sampleNum) { return 0.5f; };
90 INLINE static float Y(uint32_t sampleNum) { return 0.5f; };
105 INLINE static float X(uint32_t sampleNum)
107 SWR_ASSERT(sampleNum < numSamples);
108 return samplePosX[sampleNum];
110 INLINE static float Y(uint32_t sampleNum)
[all …]
Dstate.h888 uint32_t sampleNum; member
1017 INLINE void SetXi(uint32_t sampleNum, uint32_t val) { _xi[sampleNum] = val; }; // @llvm_func in SetXi()
1018 INLINE void SetYi(uint32_t sampleNum, uint32_t val) { _yi[sampleNum] = val; }; // @llvm_func in SetYi()
1019 INLINE uint32_t Xi(uint32_t sampleNum) const { return _xi[sampleNum]; }; // @llvm_func in Xi()
1020 INLINE uint32_t Yi(uint32_t sampleNum) const { return _yi[sampleNum]; }; // @llvm_func in Yi()
1021 INLINE void SetX(uint32_t sampleNum, float val) { _x[sampleNum] = val; }; // @llvm_func in SetX()
1022 INLINE void SetY(uint32_t sampleNum, float val) { _y[sampleNum] = val; }; // @llvm_func in SetY()
1023 INLINE float X(uint32_t sampleNum) const { return _x[sampleNum]; }; // @llvm_func in X()
1024 INLINE float Y(uint32_t sampleNum) const { return _y[sampleNum]; }; // @llvm_func in Y()
1028 INLINE const __m128i& vXi(uint32_t sampleNum) const { return _vXi[sampleNum]; }; // @llvm_func in vXi()
[all …]
Dbackend_impl.h87 INLINE static uint32_t RasterTileColorOffset(uint32_t sampleNum) in RasterTileColorOffset() argument
113 assert(sampleNum < 16); in RasterTileColorOffset()
114 return RasterTileColorOffsets[sampleNum]; in RasterTileColorOffset()
117 INLINE static uint32_t RasterTileDepthOffset(uint32_t sampleNum) in RasterTileDepthOffset() argument
143 assert(sampleNum < 16); in RasterTileDepthOffset()
144 return RasterTileDepthOffsets[sampleNum]; in RasterTileDepthOffset()
147 INLINE static uint32_t RasterTileStencilOffset(uint32_t sampleNum) in RasterTileStencilOffset() argument
181 assert(sampleNum < 16); in RasterTileStencilOffset()
182 return RasterTileStencilOffsets[sampleNum]; in RasterTileStencilOffset()
456 unsigned long sampleNum[KNOB_SIMD_WIDTH];
[all …]
Dbackend_clear.cpp146 for (int32_t sampleNum = 0; sampleNum < numSamples; sampleNum++) in ClearMacroTile() local
Drasterizer_impl.h1269 for (uint32_t sampleNum = 0; sampleNum < NumCoverageSamplesT::value; sampleNum++)
1278 triDesc.coverageMask[sampleNum] = 0xffffffffffffffffULL;
1294 triDesc.anyCoveredSamples = triDesc.coverageMask[sampleNum];
1317 __m128i vSampleOffsetXh = samplePos.vXi(sampleNum);
1318 __m128i vSampleOffsetYh = samplePos.vYi(sampleNum);
1343 triDesc.coverageMask[sampleNum] =
1348 triDesc.anyCoveredSamples |= triDesc.coverageMask[sampleNum];
1363 triDesc.coverageMask[sampleNum] = 0;
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DTilingFunctions.h414 …onst SWR_SURFACE_STATE *pState, uint32_t& x, uint32_t& y, uint32_t& arrayIndex, uint32_t sampleNum)
436 newSampleX = pext_u32(sampleNum, sampleMaskX);
448 newSampleX = pext_u32(sampleNum, sampleMaskX);
449 newSampleY = pext_u32(sampleNum, sampleMaskY);
461 newSampleX = pext_u32(sampleNum, sampleMaskX);
462 newSampleY = pext_u32(sampleNum, sampleMaskY);
473 newSampleX = pext_u32(sampleNum, sampleMaskX);
474 newSampleY = pext_u32(sampleNum, sampleMaskY);
493 assert(sampleNum == 0);
517 arrayIndex = (arrayIndex << sampleShift) | sampleNum;
[all …]
DStoreTile.h945 …uint32_t x, uint32_t y, uint32_t sampleNum, uint32_t renderTargetArrayIndex) // (x, y) pixel coord…
964 sampleNum, pDstSurface->lod, pDstSurface);
1000 for (uint32_t sampleNum = 0; sampleNum < pDstSurface->numSamples; sampleNum++)
1003 uint8_t *pSampleSrc = pSrc + sampleOffset * sampleNum;
1054 uint32_t x, uint32_t y, uint32_t sampleNum, uint32_t renderTargetArrayIndex)
1062 … return GenericStoreTile::Store(pSrc, pDstSurface, x, y, sampleNum, renderTargetArrayIndex);
1066 … pDstSurface->arrayIndex + renderTargetArrayIndex, sampleNum, pDstSurface->lod, pDstSurface);
1119 uint32_t x, uint32_t y, uint32_t sampleNum, uint32_t renderTargetArrayIndex)
1127 … return GenericStoreTile::Store(pSrc, pDstSurface, x, y, sampleNum, renderTargetArrayIndex);
1131 … pDstSurface->arrayIndex + renderTargetArrayIndex, sampleNum, pDstSurface->lod, pDstSurface);
[all …]
DLoadTile.h93 …uint32_t x, uint32_t y, uint32_t sampleNum, uint32_t renderTargetArrayIndex) // (x, y) pixel coord… in Load()
107 pSrcSurface->arrayIndex + renderTargetArrayIndex, sampleNum, in Load()
145 for (uint32_t sampleNum = 0; sampleNum < pSrcSurface->numSamples; sampleNum++) in Load() local
147 …loadRasterTileFn(pSrcSurface, pDstHotTile, (x + col), (y + row), sampleNum, renderTargetArrayIndex… in Load()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DTextureMultisampleTest.cpp481 for (GLint sampleNum = 0; sampleNum < samplesToUse; ++sampleNum) in TEST_P() local
483 glUniform1i(sampleNumLocation, sampleNum); in TEST_P()
956 for (GLint sampleNum = 0; sampleNum < samplesToUse; ++sampleNum) in TEST_P() local
958 glUniform1i(sampleNumLocation, sampleNum); in TEST_P()
1017 for (GLint sampleNum = 0; sampleNum < samplesToUse; ++sampleNum) in TEST_P() local
1021 glUniform1i(sampleNumLocation, sampleNum); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DTextureMultisampleTest.cpp485 for (GLint sampleNum = 0; sampleNum < samplesToUse; ++sampleNum) in TEST_P() local
487 glUniform1i(sampleNumLocation, sampleNum); in TEST_P()
998 for (GLint sampleNum = 0; sampleNum < samplesToUse; ++sampleNum) in TEST_P() local
1000 glUniform1i(sampleNumLocation, sampleNum); in TEST_P()
1059 for (GLint sampleNum = 0; sampleNum < samplesToUse; ++sampleNum) in TEST_P() local
1063 glUniform1i(sampleNumLocation, sampleNum); in TEST_P()
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dblend_jit.cpp601 Value* sampleNum = LOAD(pBlendContext, {0, SWR_BLEND_CONTEXT_sampleNum}); in Create() local
602 sampleNum->setName("sampleNum"); in Create()
854 Value* sampleMasked = SHL(C(1), sampleNum); in Create()