Re: [Mesa-dev] [PATCH 8/9] mesa: add RGBX formats for existing GL RGB texture formats

2013-01-27 Thread Carl Worth
Marek Olšák writes: ... Hi Marek, This code looks really interesting. Thanks for contributing it. I'd like to make a closer review of some of these patches, but I can't get this one (8/9) to compile. It looks like the patch fails to augment the texfetch_funcs array in swrast/s_texfetch.c. The

[Mesa-dev] [PATCH] intel: use bytes instead of pixels intel_create_image_from_name

2013-01-27 Thread Tapani Pälli
Signed-off-by: Tapani Pälli --- src/mesa/drivers/dri/intel/intel_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c index b39bc46..b9137bb 100644 --- a/src/mesa/drivers/dri/intel/intel

Re: [Mesa-dev] [PATCH] android: fix stride to be bytes instead of pixels

2013-01-27 Thread Tapani Pälli
On 01/25/2013 07:49 PM, Eric Anholt wrote: Tapani Pälli writes: commit 60894edeef973e86a73067276f658b72f84271b6 changed the way dri2 buffer pitch is interpreted in intel driver createImageFromName implementation, caller must set pitch in bytes, not pixels. Oops, I didn't mean to change behavi

Re: [Mesa-dev] [PATCH V6 0/8] intel: add support for EGL_KHR_gl_image

2013-01-27 Thread Eric Anholt
Abdiel Janulgue writes: > - Rename draw_x/y to tile_x/y in dri image struct. These are now used as > adjustment pixels from our stored aligned offset to the exported image > instead of the entire x/y offset from the base address. > - Take into consideration the offset from our bo so that sub

Re: [Mesa-dev] [PATCH] r600g: don't emit WAIT_UNTIL on cayman/TN

2013-01-27 Thread Marek Olšák
We should emit PS_PARTIAL_FLUSH instead, because that is what was replaced by WAIT_UNTIL. r600g currently doesn't use PS_PARTIAL_FLUSH at all, which might cause some issues if WAIT_UNTIL is not used either. Marek On Mon, Jan 28, 2013 at 4:16 AM, wrote: > From: Alex Deucher > > It shouldn't be

[Mesa-dev] [PATCH] r600g: don't emit WAIT_UNTIL on cayman/TN

2013-01-27 Thread alexdeucher
From: Alex Deucher It shouldn't be needed and older kernels don't support it. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=59945 Signed-off-by: Alex Deucher --- src/gallium/drivers/r600/r600_hw_context.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/

[Mesa-dev] [Bug 59291] Mathematica crashes when scrolling

2013-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59291 Till Matthiesen changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 59291] Mathematica crashes when scrolling

2013-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59291 --- Comment #12 from Till Matthiesen --- The issue is gone. Looks like the update to xorg-server-1.13.2 fixed it. -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-dev

[Mesa-dev] [Bug 59877] Build fail since r600g: Don't build llvm_wrapper.cpp when we aren't using LLVM

2013-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59877 LoneVVolf changed: What|Removed |Added CC||lonew...@xs4all.nl -- You are receiving thi

[Mesa-dev] [PATCH 9/9] st/mesa: use new RGBX formats

2013-01-27 Thread Marek Olšák
--- src/mesa/state_tracker/st_format.c | 128 +++- 1 file changed, 111 insertions(+), 17 deletions(-) diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c index 4abfb3c..27a29f0 100644 --- a/src/mesa/state_tracker/st_format.c +++ b

[Mesa-dev] [PATCH 8/9] mesa: add RGBX formats for existing GL RGB texture formats

2013-01-27 Thread Marek Olšák
--- src/mesa/main/format_pack.c | 186 ++ src/mesa/main/format_unpack.c | 297 + src/mesa/main/formats.c | 207 src/mesa/main/formats.h | 16 +++ src/mesa/main/texstore.c | 210 +++

[Mesa-dev] [PATCH 7/9] gallium: add RGBX formats for existing GL RGB texture formats

2013-01-27 Thread Marek Olšák
--- src/gallium/auxiliary/util/u_format.csv | 14 ++ src/gallium/auxiliary/util/u_format.h |8 src/gallium/include/pipe/p_format.h | 14 ++ 3 files changed, 36 insertions(+) diff --git a/src/gallium/auxiliary/util/u_format.csv b/src/gallium/auxiliar

[Mesa-dev] [PATCH 6/9] gallium/util: remove duplicated function util_format_is_rgb_no_alpha

2013-01-27 Thread Marek Olšák
It only checks if alpha is present, so it's the same as util_format_has_alpha. --- src/gallium/auxiliary/util/u_format.c| 11 --- src/gallium/auxiliary/util/u_format.h| 26 +- src/gallium/drivers/softpipe/sp_quad_blend.c |2 +- 3 files change

[Mesa-dev] [PATCH 5/9] st/mesa: get rid of GET_CURRENT_CONTEXT in st_choose_format

2013-01-27 Thread Marek Olšák
--- src/mesa/state_tracker/st_cb_drawpixels.c |4 ++-- src/mesa/state_tracker/st_cb_fbo.c|8 src/mesa/state_tracker/st_cb_texture.c|2 +- src/mesa/state_tracker/st_format.c| 20 ++-- src/mesa/state_tracker/st_format.h|4 ++-- s

[Mesa-dev] [PATCH 4/9] st/mesa: adjust texture format selection to try the closest base format first

2013-01-27 Thread Marek Olšák
--- src/mesa/state_tracker/st_format.c | 31 +-- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c index a744ed4..41142bf 100644 --- a/src/mesa/state_tracker/st_format.c +++ b/src/m

[Mesa-dev] [PATCH 3/9] st/mesa: put RGBX8 and RGBA8 in the default format lists

2013-01-27 Thread Marek Olšák
--- src/mesa/state_tracker/st_format.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c index 6c75a23..a744ed4 100644 --- a/src/mesa/state_tracker/st_format.c +++ b/src/mesa/state_tracker/st_format.c @@ -698,6 +698,7

[Mesa-dev] [PATCH 2/9] st/mesa: add the rest of RGB8 format/type combos to exact_format_mapping tables

2013-01-27 Thread Marek Olšák
These formats were added a few months after these tables were committed. No idea why we have the table though. AFAIK, texstore always takes the slow path for GL_RGBn. --- src/mesa/state_tracker/st_format.c |2 -- 1 file changed, 2 deletions(-) diff --git a/src/mesa/state_tracker/st_format.c

[Mesa-dev] [PATCH 1/9] mesa: fixup inconsistent naming of RG16 formats

2013-01-27 Thread Marek Olšák
--- src/mesa/drivers/dri/i965/brw_wm_surface_state.c |4 ++-- src/mesa/drivers/dri/intel/intel_mipmap_tree.c |2 +- src/mesa/main/format_pack.c | 16 src/mesa/main/format_unpack.c|6 +++--- src/mesa/main/formats.c

[Mesa-dev] [PATCH 0/9] RGBX formats and cleanups

2013-01-27 Thread Marek Olšák
Besides some small cleanups, this series adds all RGBX formats needed to correctly implement OpenGL RGB texture formats on radeon. The main motivation behind it is that drivers can finally force alpha to 1 and implement the correct behavior for texturing and rendering if RGBX is the only availab

Re: [Mesa-dev] [PATCH] mesa: implement GL_ARB_texture_buffer_range v5

2013-01-27 Thread Eric Anholt
Christoph Bumiller writes: > On 27.01.2013 00:58, Eric Anholt wrote: >> Christoph Bumiller writes: >>> diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c >>> index 31a559e..e71f6e1 100644 >>> --- a/src/mesa/main/teximage.c >>> +++ b/src/mesa/main/teximage.c >>> +/** GL_ARB_texture_

[Mesa-dev] [Bug 59941] glxinfo segfault with GL_ARB_uniform_buffer_object

2013-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59941 --- Comment #1 from Iaroslav --- MESA_EXTENSION_OVERRIDE=-GL_S3_s3tc or other extension also works -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-dev mailing list m

Re: [Mesa-dev] [PATCH] mesa: implement GL_ARB_texture_buffer_range v5

2013-01-27 Thread Christoph Bumiller
On 27.01.2013 00:58, Eric Anholt wrote: > Christoph Bumiller writes: >> diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c >> index 31a559e..e71f6e1 100644 >> --- a/src/mesa/main/teximage.c >> +++ b/src/mesa/main/teximage.c >> +/** GL_ARB_texture_buffer_object */ >> +void GLAPIENTRY

Re: [Mesa-dev] [PATCH] mesa: implement GL_ARB_texture_buffer_range v5

2013-01-27 Thread Eric Anholt
Christoph Bumiller writes: > diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c > index 31a559e..e71f6e1 100644 > --- a/src/mesa/main/teximage.c > +++ b/src/mesa/main/teximage.c > +/** GL_ARB_texture_buffer_object */ > +void GLAPIENTRY > +_mesa_TexBuffer(GLenum target, GLenum intern

Re: [Mesa-dev] [PATCH] intel: Un-hardcode lengths from blitter commands.

2013-01-27 Thread Eric Anholt
Kenneth Graunke writes: > The packet length may change at some point in the future. Specifying it > explicitly (rather than hardcoding it in the command #define) allows us > to change it much more easily in the future. Reviewed-by: Eric Anholt pgpcuE0hqajYU.pgp Description: PGP signature ___