From 6be863af0eda114e0225dfa8b68aa11b6e84d73c Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Tue, 1 Apr 2014 17:25:12 -0700 Subject: i965/fs: Add support for generating the LINE instruction. Reviewed-by: Ian Romanick --- src/mesa/drivers/dri/i965/brw_fs_generator.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mesa/drivers/dri/i965') 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); -- cgit v1.2.3