r600: fix missing include for Elements macro
authorDave Airlie <airlied@redhat.com>
Mon, 25 Apr 2016 21:59:44 +0000 (07:59 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 25 Apr 2016 22:01:01 +0000 (08:01 +1000)
This got removed from u_blitter.h and we were taking it from
there, this should just move to ARRAY_SIZE eventually.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_pipe.h

index 7793859a59308d5036ab47f059724b69a6596232..4d16223eba02e5b3566e963c69640851f9e8da9d 100644 (file)
@@ -33,6 +33,7 @@
 #include "util/u_suballoc.h"
 #include "util/list.h"
 #include "util/u_transfer.h"
+#include "util/u_memory.h"
 
 #include "tgsi/tgsi_scan.h"