Re: [Mesa-dev] [PATCH 1/3] isl: Add a null surface fill function.

2017-08-18 Thread Jason Ekstrand
On Fri, Aug 18, 2017 at 9:46 PM, Kenneth Graunke wrote: > On Thursday, August 17, 2017 10:26:44 PM PDT Jason Ekstrand wrote: > > On August 17, 2017 4:36:42 PM Kenneth Graunke > wrote: > > > > > ISL already offers functions to fill out most kinds of SURFACE_STATE, > > > so why not handle null sur

Re: [Mesa-dev] [PATCH 1/3] isl: Add a null surface fill function.

2017-08-18 Thread Kenneth Graunke
On Thursday, August 17, 2017 10:26:44 PM PDT Jason Ekstrand wrote: > On August 17, 2017 4:36:42 PM Kenneth Graunke wrote: > > > ISL already offers functions to fill out most kinds of SURFACE_STATE, > > so why not handle null surfaces too? > > > > Null surfaces are simple, so we can just take the

Re: [Mesa-dev] [PATCH 1/3] isl: Add a null surface fill function.

2017-08-17 Thread Jason Ekstrand
On August 17, 2017 4:36:42 PM Kenneth Graunke wrote: ISL already offers functions to fill out most kinds of SURFACE_STATE, so why not handle null surfaces too? Null surfaces are simple, so we can just take the dimensions, rather than an entirte fill structure. --- src/intel/isl/isl.c

[Mesa-dev] [PATCH 1/3] isl: Add a null surface fill function.

2017-08-17 Thread Kenneth Graunke
ISL already offers functions to fill out most kinds of SURFACE_STATE, so why not handle null surfaces too? Null surfaces are simple, so we can just take the dimensions, rather than an entirte fill structure. --- src/intel/isl/isl.c | 7 +++ src/intel/isl/isl.h |