Searched refs:SrcFormat (Results 1 – 6 of 6) sorted by relevance
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | format_conversion.h | 36 template <typename SIMD_T, SWR_FORMAT SrcFormat> 40 if ((FormatTraits<SrcFormat>::GetType(0) == SWR_TYPE_FLOAT) && in LoadSOA() 41 (FormatTraits<SrcFormat>::GetBPC(0) == 32)) in LoadSOA() 48 dst.v[FormatTraits<SrcFormat>::swizzle(comp)] = vComp; in LoadSOA() 51 UnrollerL<0, FormatTraits<SrcFormat>::numComps, 1>::step(lambda); in LoadSOA() 59 FormatTraits<SrcFormat>::loadSOA(comp, pSrc, vComp); in LoadSOA() 62 vComp = FormatTraits<SrcFormat>::unpack(comp, vComp); in LoadSOA() 65 if (FormatTraits<SrcFormat>::isNormalized(comp)) in LoadSOA() 68 vComp = SIMD_T::mul_ps(vComp, SIMD_T::set1_ps(FormatTraits<SrcFormat>::toFloat(comp))); in LoadSOA() 71 dst.v[FormatTraits<SrcFormat>::swizzle(comp)] = vComp; in LoadSOA() [all …]
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/ |
D | StoreTile.h | 337 template<SWR_FORMAT SrcFormat, SWR_FORMAT DstFormat> 355 LoadSOA<SrcFormat>(pSrc, src); 407 static const SWR_FORMAT SrcFormat = R32G32B32A32_FLOAT; 416 LoadSOA<SrcFormat>(pSrc, src); 461 static const SWR_FORMAT SrcFormat = R32_FLOAT; 909 template<typename TTraits, SWR_FORMAT SrcFormat, SWR_FORMAT DstFormat> 922 typedef SimdTile_16<SrcFormat, DstFormat> SimdT; 1032 template<typename TTraits, SWR_FORMAT SrcFormat, SWR_FORMAT DstFormat> 1033 struct OptStoreRasterTile : StoreRasterTile<TTraits, SrcFormat, DstFormat> 1039 template<SWR_FORMAT SrcFormat, SWR_FORMAT DstFormat> [all …]
|
D | Convert.h | 392 template<SWR_FORMAT SrcFormat> 400 …typename FormatTraits<SrcFormat>::FormatT* pPixel = (typename FormatTraits<SrcFormat>::FormatT*)pS… in ConvertPixelToFloat() 405 uint32_t def = FormatTraits<SrcFormat>::GetDefault(comp); in ConvertPixelToFloat() 410 switch (FormatTraits<SrcFormat>::numComps) in ConvertPixelToFloat() 422 SWR_INVALID("Invalid # of comps: %d", FormatTraits<SrcFormat>::numComps); in ConvertPixelToFloat() 426 for (uint32_t comp = 0; comp < FormatTraits<SrcFormat>::numComps; ++comp) in ConvertPixelToFloat() 428 SWR_TYPE type = FormatTraits<SrcFormat>::GetType(comp); in ConvertPixelToFloat() 437 if (FormatTraits<SrcFormat>::isSRGB && comp != 3) in ConvertPixelToFloat() 444 if (FormatTraits<SrcFormat>::GetBPC(comp) > 16) in ConvertPixelToFloat() 446 dst = (float)src / (float)((1 << FormatTraits<SrcFormat>::GetBPC(comp)) - 1); in ConvertPixelToFloat() [all …]
|
D | ClearTile.cpp | 48 template<SWR_FORMAT SrcFormat, SWR_FORMAT DstFormat> 109 template<SWR_FORMAT SrcFormat, SWR_FORMAT DstFormat> 143 …StoreRasterTileClear<SrcFormat, DstFormat>::StoreClear(dstFormattedColor, dstBytesPerPixel, pDstSu… in StoreClear()
|
D | LoadTile.h | 57 template<typename TTraits, SWR_FORMAT SrcFormat, SWR_FORMAT DstFormat> 70 typedef SimdTile_16<DstFormat, SrcFormat> SimdT; in SetSwizzledDstColor() 111 ConvertPixelToFloat<SrcFormat>(srcColor, pSrc); in Load() 124 template<typename TTraits, SWR_FORMAT SrcFormat, SWR_FORMAT DstFormat> 138 loadRasterTileFn = LoadRasterTile<TTraits, SrcFormat, DstFormat>::Load; in Load()
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | vk_internal_shaders_autogen.h | 155 enum SrcFormat enum
|