[Mesa-dev] [PATCH] i965/bxt: Support 3src simd16 instructions
Ben Widawsky
ben at bwidawsk.net
Wed Jul 29 00:18:38 PDT 2015
On Tue, Jul 28, 2015 at 11:08:39PM -0700, Kenneth Graunke wrote:
> 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>
Thanks. I had one too many '\' in there. I've removed that and put the actual
member above the urb entries, as it is in GEN8_FEATURES.
More information about the mesa-dev
mailing list