[Mesa-dev] [PATCH 06/23] i965: Define common register base class shared between both back-ends.

Chris Forbes chrisf at ijw.co.nz
Mon Dec 2 12:14:50 PST 2013


+fs_reg::fs_reg(const backend_reg &reg)
+{
+   init();
+   *static_cast<backend_reg *>(this) = reg;

This is a bit gross...


More information about the mesa-dev mailing list