i965/bxt: Support 3src simd16 instructions
authorBen Widawsky <benjamin.widawsky@intel.com>
Wed, 29 Jul 2015 02:52:49 +0000 (19:52 -0700)
committerBen Widawsky <benjamin.widawsky@intel.com>
Wed, 29 Jul 2015 18:10:02 +0000 (11:10 -0700)
This is easily accomplished by moving simd16 3src to GEN9_FEATURES.

v2: small cleanup to make it more similar to GEN8_FEATURES

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_device_info.c

index 51a91b6c0d9d5cc20d1c6051ee273a3ff7923fd6..6fe6ea2eb560035b3700a82cd313ae48503089d6 100644 (file)
@@ -307,6 +307,7 @@ static const struct brw_device_info brw_device_info_chv = {
    .must_use_separate_stencil = true,               \
    .has_llc = true,                                 \
    .has_pln = true,                                 \
+   .supports_simd16_3src = true,                    \
    .max_vs_threads = 280,                           \
    .max_gs_threads = 256,                           \
    .max_wm_threads = 408,                           \
@@ -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 = {