i965/fs: Add support for generating the LINE instruction.
authorMatt Turner <mattst88@gmail.com>
Wed, 2 Apr 2014 00:25:12 +0000 (17:25 -0700)
committerMatt Turner <mattst88@gmail.com>
Sat, 6 Dec 2014 00:43:31 +0000 (16:43 -0800)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_fs_generator.cpp

index 488528538ceb20f2e8e9336c35b3e67232ab832b..a650abb47ada32df864521d9433d02ea8273f763 100644 (file)
@@ -1598,6 +1598,10 @@ fs_generator::generate_code(const cfg_t *cfg, int dispatch_width)
         brw_MACH(p, dst, src[0], src[1]);
         break;
 
+      case BRW_OPCODE_LINE:
+         brw_LINE(p, dst, src[0], src[1]);
+         break;
+
       case BRW_OPCODE_MAD:
          assert(brw->gen >= 6);
         brw_set_default_access_mode(p, BRW_ALIGN_16);