gallivm: eliminate tgsi_exec.h include
authorKeith Whitwell <keithw@vmware.com>
Mon, 7 Jun 2010 15:17:03 +0000 (16:17 +0100)
committerKeith Whitwell <keithw@vmware.com>
Mon, 7 Jun 2010 15:34:55 +0000 (16:34 +0100)
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c

index ea949a136314a8289b1bf956e3df17d22c4ac5fa..dec7556138cc23a67795eb1ebba56edf8f705d28 100644 (file)
@@ -45,7 +45,6 @@
 #include "tgsi/tgsi_info.h"
 #include "tgsi/tgsi_parse.h"
 #include "tgsi/tgsi_util.h"
-#include "tgsi/tgsi_exec.h"
 #include "tgsi/tgsi_scan.h"
 #include "lp_bld_type.h"
 #include "lp_bld_const.h"
@@ -76,6 +75,7 @@
 #define CHAN_Y 1
 #define CHAN_Z 2
 #define CHAN_W 3
+#define NUM_CHANNELS 4
 
 #define LP_MAX_INSTRUCTIONS 256