Home
last modified time | relevance | path

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

/aosp_15_r20/external/skia/src/gpu/graphite/
H A DResourceTypes.h184 struct SamplerDesc { struct
187 constexpr SamplerDesc(const SkSamplingOptions& samplingOptions, SkTileMode tileMode) in SamplerDesc() function
223 SkTileMode tileModeX() const { return static_cast<SkTileMode>((fDesc >> 0) & 0b11); } in tileModeX()
224 SkTileMode tileModeY() const { return static_cast<SkTileMode>((fDesc >> 2) & 0b11); } in tileModeY()
225 uint32_t desc() const { return fDesc; } in desc()
226 uint32_t format() const { return fFormat; } in format()
227 uint32_t externalFormatMSBs() const { return fExternalFormatMostSignificantBits; } in externalFormatMSBs()
228 bool isImmutable() const { return (fDesc >> kImmutableSamplerInfoShift) != 0; } in isImmutable()
229 bool usesExternalFormat() const { return (fDesc >> kImmutableSamplerInfoShift) & 0b1; } in usesExternalFormat()
233 SkSamplingOptions samplingOptions() const { in samplingOptions()
[all …]
/aosp_15_r20/external/angle/src/libANGLE/renderer/metal/
H A 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;
/aosp_15_r20/external/angle/src/libANGLE/renderer/vulkan/
H A Dvk_cache_utils.cpp5569 SamplerDesc::SamplerDesc() in SamplerDesc() function in rx::vk::SamplerDesc
5580 SamplerDesc::SamplerDesc(Context *context, in SamplerDesc() function in rx::vk::SamplerDesc