Searched defs:SamplerDesc (Results 1 – 3 of 3) sorted by relevance
189 struct SamplerDesc { struct192 constexpr SamplerDesc(const SkSamplingOptions& samplingOptions, SkTileMode tileMode) in SamplerDesc() argument228 SkTileMode tileModeX() const { return static_cast<SkTileMode>((fDesc >> 0) & 0b11); } in tileModeX()229 SkTileMode tileModeY() const { return static_cast<SkTileMode>((fDesc >> 2) & 0b11); } in tileModeY()230 uint32_t desc() const { return fDesc; } in desc()231 uint32_t format() const { return fFormat; } in format()232 uint32_t externalFormatMSBs() const { return fExternalFormatMostSignificantBits; } in externalFormatMSBs()233 bool isImmutable() const { return (fDesc >> kImmutableSamplerInfoShift) != 0; } in isImmutable()234 bool usesExternalFormat() const { return (fDesc >> kImmutableSamplerInfoShift) & 0b1; } in usesExternalFormat()238 SkSamplingOptions samplingOptions() const { in samplingOptions()[all …]
91 struct alignas(4) SamplerDesc struct99 SamplerDesc &operator=(const SamplerDesc &src); argument109 uint8_t rAddressMode : 3;110 uint8_t sAddressMode : 3;111 uint8_t tAddressMode : 3;114 uint8_t minFilter : 1;115 uint8_t magFilter : 1;116 uint8_t mipFilter : 2;118 uint8_t maxAnisotropy : 5;121 uint8_t compareFunction : 3;
5605 SamplerDesc::SamplerDesc() in SamplerDesc() function in rx::vk::SamplerDesc5616 SamplerDesc::SamplerDesc(ErrorContext *context, in SamplerDesc() function in rx::vk::SamplerDesc