Re: [Mesa-dev] [PATCH v4 05/18] intel/isl: Add support to emit clear value address.

2018-03-28 Thread Pohjolainen, Topi
On Tue, Mar 27, 2018 at 11:01:34AM -0700, Jason Ekstrand wrote: > On Tue, Mar 27, 2018 at 4:31 AM, Pohjolainen, Topi < > topi.pohjolai...@gmail.com> wrote: > > > On Thu, Mar 08, 2018 at 08:48:58AM -0800, Rafael Antognolli wrote: > > > gen10 can emit the clear color by setting it on a buffer somewh

Re: [Mesa-dev] [PATCH v4 05/18] intel/isl: Add support to emit clear value address.

2018-03-27 Thread Jason Ekstrand
On Tue, Mar 27, 2018 at 4:31 AM, Pohjolainen, Topi < topi.pohjolai...@gmail.com> wrote: > On Thu, Mar 08, 2018 at 08:48:58AM -0800, Rafael Antognolli wrote: > > gen10 can emit the clear color by setting it on a buffer somewhere, and > > then adding only the address to the surface state. > > > > Th

Re: [Mesa-dev] [PATCH v4 05/18] intel/isl: Add support to emit clear value address.

2018-03-27 Thread Pohjolainen, Topi
On Thu, Mar 08, 2018 at 08:48:58AM -0800, Rafael Antognolli wrote: > gen10 can emit the clear color by setting it on a buffer somewhere, and > then adding only the address to the surface state. > > This commit add support for that on isl_surf_fill_state, and if that is > requested, skip setting th

[Mesa-dev] [PATCH v4 05/18] intel/isl: Add support to emit clear value address.

2018-03-08 Thread Rafael Antognolli
gen10 can emit the clear color by setting it on a buffer somewhere, and then adding only the address to the surface state. This commit add support for that on isl_surf_fill_state, and if that is requested, skip setting the clear value itself. v2: Add assert to make sure we are at least on gen10.