swr: [rasterizer common] add SwrTrace() and macros