summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-04-01 17:25:12 -0700
committerMatt Turner <[email protected]>2014-12-05 16:43:31 -0800
commit6be863af0eda114e0225dfa8b68aa11b6e84d73c (patch)
treedb6e88638d99c8e228ba50ebbe5e0b290603cb07 /src/mesa
parent92346db0578ef4796ced402ff33117713da7b9ee (diff)
i965/fs: Add support for generating the LINE instruction.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_generator.cpp4
1 files changed, 4 insertions, 0 deletions
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);