Re: [Mesa-dev] [PATCH] mesa/state_tracker: Fix draw-pixel-with-texture piglit test.

2015-10-05 Thread Marek Olšák
On Mon, Oct 5, 2015 at 11:27 PM, Matthew Dawson wrote: > On October 5, 2015 03:11:16 AM Marek Olšák wrote: >> Thank you for the patch, but it's not applicable on my (private) >> branch where I'm reworking st/mesa's shader compilation, including >> DrawPixels shaders. Your patch helped to fix it in

Re: [Mesa-dev] [PATCH] mesa/state_tracker: Fix draw-pixel-with-texture piglit test.

2015-10-05 Thread Matthew Dawson
On October 5, 2015 03:11:16 AM Marek Olšák wrote: > Thank you for the patch, but it's not applicable on my (private) > branch where I'm reworking st/mesa's shader compilation, including > DrawPixels shaders. Your patch helped to fix it in the new > implementation at least. > > Sorry for ignoring i

Re: [Mesa-dev] [PATCH] mesa/state_tracker: Fix draw-pixel-with-texture piglit test.

2015-10-04 Thread Marek Olšák
Thank you for the patch, but it's not applicable on my (private) branch where I'm reworking st/mesa's shader compilation, including DrawPixels shaders. Your patch helped to fix it in the new implementation at least. Sorry for ignoring it in the first place. Marek On Sat, Mar 28, 2015 at 6:07 PM,

[Mesa-dev] [PATCH] mesa/state_tracker: Fix draw-pixel-with-texture piglit test.

2015-03-28 Thread Matthew Dawson
When glDrawPixels was used with an external texture, the pixels passed in were sampled instead of the texture. Change gallium to instead move the user texture to a new sampler below the glDrawPixels samplers and use the texture coordinates from the raster position. This uses a uniform for the tex

Re: [Mesa-dev] [PATCH] mesa/state_tracker: Fix draw-pixel-with-texture piglit test.

2015-03-25 Thread Brian Paul
Minor nit-picks below. On 03/23/2015 11:38 PM, Matthew Dawson wrote: When glDrawPixels was used with an external texture, the pixels passed in were sampled instead of the texture. Change gallium to instead move the user texture to a new sampler below the glDrawPixels samplers and use the textu

[Mesa-dev] [PATCH] mesa/state_tracker: Fix draw-pixel-with-texture piglit test.

2015-03-23 Thread Matthew Dawson
When glDrawPixels was used with an external texture, the pixels passed in were sampled instead of the texture. Change gallium to instead move the user texture to a new sampler below the glDrawPixels samplers and use the texture coordinates from the raster position. This uses a uniform for the tex

[Mesa-dev] [PATCH] mesa/state_tracker: Fix draw-pixel-with-texture piglit test.

2015-03-21 Thread Matthew Dawson
When glDrawPixels was used with an external texture, the pixels passed in were sampled instead of the texture. Change gallium to instead move the user texture to a new sampler below the glDrawPixels samplers. While the piglit test now works, the texture coordinates that are used to sample the tex