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:
parent
dd900570fd
commit
7a19d0b4f9
2 changed files with 42 additions and 3 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue