intel/eu: Add some new helpers
[mesa.git] / src / intel / compiler / brw_fs_generator.cpp
index 94eb84870f1200c4d4a26200f41425c6f1ee6956..df357440d495cad69e3cb4c52094635cf6089c81 100644 (file)
@@ -1783,8 +1783,7 @@ fs_generator::generate_code(const cfg_t *cfg, int dispatch_width,
                             struct brw_compile_stats *stats)
 {
    /* align to 64 byte boundary. */
-   while (p->next_insn_offset % 64)
-      brw_NOP(p);
+   brw_realign(p, 64);
 
    this->dispatch_width = dispatch_width;