Re: [Mesa-dev] [PATCH] Handle removal of LLVMAddTargetData in SVN revision 260919

2016-02-16 Thread Matthew Dawson
On Tuesday, February 16, 2016 4:19:49 PM EST Michel Dänzer wrote: > On 16.02.2016 15:25, Matthew Dawson wrote: > > LLVM removed LLVMAddTargetData for the 3.9 release in r260919. For the > > two > > places in mesa where this is called, only enable the lines when compiling

[Mesa-dev] [PATCH] Handle removal of LLVMAddTargetData in SVN revision 260919

2016-02-15 Thread Matthew Dawson
used is extracted from the LLVMModule, it isn't necessary to pass it back to LLVM again. The code does compile, and at least for radeonsi does run OpenGL games. Signed-off-by: Matthew Dawson <matt...@mjdsystems.ca> --- src/gallium/auxiliary/gallivm/lp_bld_init.c | 2 ++ src/gallium/drivers/

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

[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

[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

Re: [Mesa-dev] Correct behaviour of glDrawPixels and glBitmap when texturing is enabled.

2015-03-23 Thread Matthew Dawson
On March 23, 2015 10:21:32 AM Brian Paul wrote: On 03/22/2015 05:50 PM, Matthew Dawson wrote: If it isn't fully realized, is it worth it to test/implement this section, since its removed in the core profile? Would a reduced implementation to fix this test be OK (ignoring things like

[Mesa-dev] Correct behaviour of glDrawPixels and glBitmap when texturing is enabled.

2015-03-22 Thread Matthew Dawson
Hi all, I've been working fixing the piglit tests around glDrawPixels, and I'm not sure what the correct behaviour of glDrawPixels is when any texturing units are enabled (tested with the draw-pixel-with-texture piglit test). After asking on irc, imirkin suggested I bring the issue here as it

[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