i965: Handle swizzles in the addition of YUV texture constants.
[mesa.git] / src / mesa / drivers / dri / i965 / brw_clip_point.c
index 97382991686a691e9f65f157af1a04b3ee7a8460..b994a32bc3baf0ee3ef07c3b366d7fb141921fbd 100644 (file)
 #include "main/glheader.h"
 #include "main/macros.h"
 #include "main/enums.h"
-#include "shader/program.h"
+#include "program/program.h"
 
 #include "intel_batchbuffer.h"
 
 #include "brw_defines.h"
 #include "brw_context.h"
 #include "brw_eu.h"
-#include "brw_util.h"
 #include "brw_clip.h"
 
 
@@ -50,7 +49,7 @@ void brw_emit_point_clip( struct brw_clip_compile *c )
    /* Send an empty message to kill the thread:
     */
    brw_clip_tri_alloc_regs(c, 0);
-   if (c->need_ff_sync)
-          brw_clip_ff_sync(c);      
+   brw_clip_init_ff_sync(c);
+
    brw_clip_kill_thread(c);
 }