From: Matt Turner Date: Wed, 2 Apr 2014 00:25:12 +0000 (-0700) Subject: i965/fs: Add support for generating the LINE instruction. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6be863af0eda114e0225dfa8b68aa11b6e84d73c;p=mesa.git i965/fs: Add support for generating the LINE instruction. Reviewed-by: Ian Romanick --- diff --git a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp index 488528538ce..a650abb47ad 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp @@ -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);