[Mesa-dev] [PATCH 2/4] i965/fs: Add support for generating the LINE instruction.
Matt Turner
mattst88 at gmail.com
Thu Dec 4 16:37:55 PST 2014
---
src/mesa/drivers/dri/i965/brw_fs_generator.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
index 4ae35ac..2f99d65 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);
--
2.0.4
More information about the mesa-dev
mailing list