Some shader and vertex format optimizations