pub fn compute_texture_lod(ddx: Vec2, ddy: Vec2) -> f32
Compute mip level for texture sampling based on UV footprint (OpenGL-style)