swr: [rasterizer archrast] don't generate empty files
authorTim Rowley <timothy.o.rowley@intel.com>
Mon, 31 Oct 2016 00:27:07 +0000 (19:27 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Mon, 14 Nov 2016 15:02:25 +0000 (09:02 -0600)
commit584b65ad442f8219c0216961641d4b9f4a1671da
tree92850c4dddbb624278fe20340f3f2c86be8522e4
parente6f7d8a0946822d2f90099df2bf2a3d0969ebd74
swr: [rasterizer archrast] don't generate empty files

Don't generate files when no events have been generated outside
the header events.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/archrast/archrast.cpp
src/gallium/drivers/swr/rasterizer/archrast/archrast.h
src/gallium/drivers/swr/rasterizer/core/api.cpp
src/gallium/drivers/swr/rasterizer/scripts/templates/ar_eventhandlerfile_h.template