[Mesa-dev] Bicubic filtering in mesa?
Carl-Philip Haensch
Carl-Philip.Haensch at mailbox.tu-dresden.de
Sat Feb 5 13:35:18 PST 2011
Hi,
the r600 has capabilities of bicubic texture filtering. But I found no
constant in mesa that would force bicubic filtering, so I only added a
todo into the r600 driver to add the case once if I know which mesa
constant stands for it.
--- a/src/gallium/drivers/r600/r600_state_inlines.h
+++ b/src/gallium/drivers/r600/r600_state_inlines.h
@@ -176,6 +176,7 @@ static inline unsigned r600_tex_filter(unsigned filter)
return V_03C000_SQ_TEX_XY_FILTER_POINT;
case PIPE_TEX_FILTER_LINEAR:
return V_03C000_SQ_TEX_XY_FILTER_BILINEAR;
+ // ToDo: Bicubic V_03C000_SQ_TEX_XY_FILTER_BICUBIC
}
}
More information about the mesa-dev
mailing list