Home
last modified time | relevance | path

Searched defs:SamplerDesc (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/gpu/graphite/
DResourceTypes.h189 struct SamplerDesc { struct
192 constexpr SamplerDesc(const SkSamplingOptions& samplingOptions, SkTileMode tileMode) in SamplerDesc() argument
228 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 …]
/external/angle/src/libANGLE/renderer/metal/
Dmtl_state_cache.h91 struct alignas(4) SamplerDesc struct
99 SamplerDesc &operator=(const SamplerDesc &src); argument
109 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;
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp5605 SamplerDesc::SamplerDesc() in SamplerDesc() function in rx::vk::SamplerDesc
5616 SamplerDesc::SamplerDesc(ErrorContext *context, in SamplerDesc() function in rx::vk::SamplerDesc