On 6/30/2015 2:49 PM, Chris Wilson wrote:
On Tue, Jun 30, 2015 at 02:41:08PM +0100, Michel Thierry wrote:
igt_assert_cmp64 and its derivatives:

+#define INTDECFORMAT "%d"
+#define UINTHEXFORMAT "%#x"
+#define DOUBLEDECFORMAT "%#lf"
+#define LONGHEXFORMAT "%#llx"

Any particular reason? Passing in "%d" or %d would have worked just as
well, right?

Not really, these defines are not needed. The format specifier can be passed directly.


Reviewed-by: Chris Wilson <ch...@chris-wilson.co.uk>
-Chris

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to