[Mesa-dev] [PATCH] i965/bxt: Support 3src simd16 instructions

Ben Widawsky benjamin.widawsky at intel.com
Tue Jul 28 20:00:54 PDT 2015


This is easily accomplished by moving simd16 3src to GEN9_FEATURES.

Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
---
 src/mesa/drivers/dri/i965/brw_device_info.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_device_info.c b/src/mesa/drivers/dri/i965/brw_device_info.c
index 51a91b6..1efe546 100644
--- a/src/mesa/drivers/dri/i965/brw_device_info.c
+++ b/src/mesa/drivers/dri/i965/brw_device_info.c
@@ -315,7 +315,8 @@ static const struct brw_device_info brw_device_info_chv = {
       .min_vs_entries = 64,                         \
       .max_vs_entries = 1664,                       \
       .max_gs_entries = 640,                        \
-   }
+   },                                               \
+   .supports_simd16_3src = true                     \
 
 static const struct brw_device_info brw_device_info_skl_early = {
    GEN9_FEATURES, .gt = 1,
@@ -324,17 +325,14 @@ static const struct brw_device_info brw_device_info_skl_early = {
 
 static const struct brw_device_info brw_device_info_skl_gt1 = {
    GEN9_FEATURES, .gt = 1,
-   .supports_simd16_3src = true,
 };
 
 static const struct brw_device_info brw_device_info_skl_gt2 = {
    GEN9_FEATURES, .gt = 2,
-   .supports_simd16_3src = true,
 };
 
 static const struct brw_device_info brw_device_info_skl_gt3 = {
    GEN9_FEATURES, .gt = 3,
-   .supports_simd16_3src = true,
 };
 
 static const struct brw_device_info brw_device_info_bxt = {
-- 
2.4.6



More information about the mesa-dev mailing list