1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 03:47:34 +00:00

LibSoftGPU: Add mipmap selection to sampler class

This commit is contained in:
Stephan Unverwerth 2022-02-19 02:16:44 +01:00 committed by Linus Groh
parent dd900570fd
commit 7a19d0b4f9
2 changed files with 42 additions and 3 deletions

View file

@ -59,6 +59,8 @@ public:
SamplerConfig const& config() const { return m_config; }
private:
Vector4<AK::SIMD::f32x4> sample_2d_lod(Vector2<AK::SIMD::f32x4> const& uv, AK::SIMD::u32x4 level, TextureFilter) const;
SamplerConfig m_config;
};