Re: [Mesa-dev] [PATCH] i965/tex: Don't pass samples to miptree_create_for_teximage

2017-08-19 Thread Pohjolainen, Topi
On Sat, Aug 19, 2017 at 11:07:35AM -0700, Jason Ekstrand wrote: > In 76e2f390f9863a35, when Topi switched num_samples from 0 to 1 for > single-sampled, he accidentally switched the last parameter in the call > to miptree_create_for_teximage from 0 to 1 thinking it was num_samples > when it was actu

[Mesa-dev] [PATCH] i965/tex: Don't pass samples to miptree_create_for_teximage

2017-08-19 Thread Jason Ekstrand
In 76e2f390f9863a35, when Topi switched num_samples from 0 to 1 for single-sampled, he accidentally switched the last parameter in the call to miptree_create_for_teximage from 0 to 1 thinking it was num_samples when it was actually layout_flags. Switching from 0 to 1 added the MIPTREE_LAYOUT_ACCEL