[Mesa-dev] [PATCH] i965/bxt: Support 3src simd16 instructions
Kenneth Graunke
kenneth at whitecape.org
Tue Jul 28 23:08:39 PDT 2015
On Tuesday, July 28, 2015 08:00:54 PM Ben Widawsky wrote:
> 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 = {
>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150728/03bd5f09/attachment.sig>
More information about the mesa-dev
mailing list