Re: [Mesa-dev] rgtc signed format and u_format: some open questions

2011-03-03 Thread Jose Fonseca
If we implement, we should follow the normal conversion rules. Imagine that user is doing a screen aligned textured quad blit from a snorm texture to a bgra_unorm8 rendertarget. And imagine inside llvmpipe/softpipe we detect blits and optimize this case by calling util_format_translate. It's far

Re: [Mesa-dev] [PATCH] st/mesa: set PIPE_BIND_RENDER_TARGET for sRGB formats if UNORM is supported

2011-03-03 Thread Marek Olšák
On Fri, Mar 4, 2011 at 7:35 AM, Brian Paul wrote: > How about: > > format = util_format_linear(format); > Yeah, that's nicer, thanks. :) I am going to push this later today if there are no objections. Marek diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_tex

Re: [Mesa-dev] [PATCH] st/mesa: set PIPE_BIND_RENDER_TARGET for sRGB formats if UNORM is supported

2011-03-03 Thread Brian Paul
On Thu, Mar 3, 2011 at 10:41 PM, Marek Olšák wrote: > Because the format can be changed to UNORM in a sampler view. > > This fixes: > state_tracker/st_atom_framebuffer.c:163:update_framebuffer_state: > Assertion `framebuffer->cbufs[i]->texture->bind & (1 << 1)' failed. > --- >  src/mesa/state_trac

[Mesa-dev] [PATCH] st/mesa: set PIPE_BIND_RENDER_TARGET for sRGB formats if UNORM is supported

2011-03-03 Thread Marek Olšák
Because the format can be changed to UNORM in a sampler view. This fixes: state_tracker/st_atom_framebuffer.c:163:update_framebuffer_state: Assertion `framebuffer->cbufs[i]->texture->bind & (1 << 1)' failed. --- src/mesa/state_tracker/st_cb_texture.c | 13 +++-- 1 files changed, 11 inse

[Mesa-dev] [Bug 33886] fix gallium sampler view first_level usage

2011-03-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33886 --- Comment #6 from Brian Paul 2011-03-03 20:52:45 PST --- I'd like to get this resolved for llvmpipe too. I just haven't had the time. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this m

[Mesa-dev] [Bug 33886] fix gallium sampler view first_level usage

2011-03-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33886 Marek Olšák changed: What|Removed |Added Attachment #42911|0 |1 is obsolete|

[Mesa-dev] auto generated glx code in X server

2011-03-03 Thread Dave Airlie
Hi guys, I know this used to work, but it seems to be well busted now. If you made glx changes in mesa you could just set XORG_BASE and run make and it would regenerate all the files in the X server which really are cryptic as all hell. Now when I do that stuff breaks all over the place, missing

[Mesa-dev] [Bug 34974] Mesa demos regression since - tgsi: defer allocation of huge inputs/outputs until we have a gs

2011-03-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34974 --- Comment #3 from Rafael Monica 2011-03-03 17:18:59 PST --- Yeah, just did some quick tests and setting GALLIUM_NOSSE=1 does indeed seem to fix it. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are re

[Mesa-dev] [Bug 34974] Mesa demos regression since - tgsi: defer allocation of huge inputs/outputs until we have a gs

2011-03-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34974 --- Comment #2 from Brian Paul 2011-03-03 16:51:32 PST --- What happens if you set GALLIUM_NOSSE=1? I bet the tgsi->sse2 translator needs to be updated. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are

[Mesa-dev] [Bug 34974] Mesa demos regression since - tgsi: defer allocation of huge inputs/outputs until we have a gs

2011-03-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34974 Rafael Monica changed: What|Removed |Added Component|Drivers/Gallium/r600|Mesa core AssignedTo|dri-devel@l

Re: [Mesa-dev] rgtc signed format and u_format: some open questions

2011-03-03 Thread Brian Paul
On 03/03/2011 02:40 PM, Dave Airlie wrote: On Fri, Mar 4, 2011 at 8:17 AM, Jose Fonseca wrote: About a), one day we should have this in a library shared by mesa/gallium, but until then anywhere is fine by me. About b) please provide unorm8 support for all formats. It's useful for debugging/d

Re: [Mesa-dev] rgtc signed format and u_format: some open questions

2011-03-03 Thread Dave Airlie
On Fri, Mar 4, 2011 at 8:17 AM, Jose Fonseca wrote: > About a), one day we should have this in a library shared by mesa/gallium, > but until then anywhere is fine by me. > > About b) please provide unorm8 support for all formats. It's useful for > debugging/displaying, e.g., writing to BMP files

Re: [Mesa-dev] rgtc signed format and u_format: some open questions

2011-03-03 Thread Jose Fonseca
About a), one day we should have this in a library shared by mesa/gallium, but until then anywhere is fine by me. About b) please provide unorm8 support for all formats. It's useful for debugging/displaying, e.g., writing to BMP files, or visualizing on a window. There is already a helper funct

[Mesa-dev] [Bug 27268] GLSL: using step function in vec4 constructor is not completely correct

2011-03-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27268 Ian Romanick changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa-dev] [PATCH mesa-demos] Fix texwrap removal

2011-03-03 Thread Marek Olšák
Pushed, thanks. Marek On Thu, Mar 3, 2011 at 9:25 PM, Jon TURNEY wrote: > Commit 92b0a9425d0f1b32e5568a9efaadc5641c56d24a removes texwrap.c > but doesn't remove texwrap from the list of programs build by Makefile.am > > Signed-off-by: Jon TURNEY > --- > src/tests/Makefile.am |1 - > 1 file

[Mesa-dev] [PATCH mesa-demos] Fix texwrap removal

2011-03-03 Thread Jon TURNEY
Commit 92b0a9425d0f1b32e5568a9efaadc5641c56d24a removes texwrap.c but doesn't remove texwrap from the list of programs build by Makefile.am Signed-off-by: Jon TURNEY --- src/tests/Makefile.am |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/tests/Makefile.am b/src/tes

Re: [Mesa-dev] build fails with current git

2011-03-03 Thread Andy Furniss
Brian Paul wrote: On Thu, Mar 3, 2011 at 3:44 AM, Andy Furniss wrote: Andy Furniss wrote: I am getting a build fail today - mklib: Making Linux static library: libglapi.a ar: creating libglapi.a make[2]: Leaving directory `/home/andy/Src/Mesa-git/mesa/src/mapi/glapi' make[2]: Entering direct

Re: [Mesa-dev] build fails with current git

2011-03-03 Thread Brian Paul
On Thu, Mar 3, 2011 at 3:44 AM, Andy Furniss wrote: > Andy Furniss wrote: >> >> I am getting a build fail today - >> >> mklib: Making Linux static library: libglapi.a >> ar: creating libglapi.a >> make[2]: Leaving directory `/home/andy/Src/Mesa-git/mesa/src/mapi/glapi' >> make[2]: Entering directo

[Mesa-dev] [Bug 14134] Crash when context is shared among 2 processes.

2011-03-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=14134 Marek Olšák changed: What|Removed |Added Product|DRI |Mesa Component|libglx

[Mesa-dev] [Bug 12365] Vegastrike not useable under Archlinux.

2011-03-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=12365 Marek Olšák changed: What|Removed |Added Product|DRI |Mesa Version|XOrg CVS

[Mesa-dev] [Bug 29029] mesa-demos scons build fails

2011-03-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29029 Marek Olšák changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 4704] Modify glxgears to not output FPS by default.

2011-03-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=4704 Marek Olšák changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 32006] KMS/R100 - [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12!

2011-03-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32006 Marek Olšák changed: What|Removed |Added Component|Other |Drivers/DRI/Radeon AssignedTo|mesa

[Mesa-dev] [Bug 8640] Driver does not support GLX_SGI_make_current_read

2011-03-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=8640 Marek Olšák changed: What|Removed |Added Summary|[810] Driver does not |Driver does not support |

[Mesa-dev] [Bug 31159] shadow problem in 0ad game

2011-03-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31159 --- Comment #1 from Marek Olšák 2011-03-03 05:22:11 PST --- I was looking into this issue and I wasn't able to find the cause. I guess there is a bug in the texenv program code, because both swrast and gallium fail, and because the only shaders w

Re: [Mesa-dev] build fails with current git

2011-03-03 Thread Andy Furniss
Andy Furniss wrote: I am getting a build fail today - mklib: Making Linux static library: libglapi.a ar: creating libglapi.a make[2]: Leaving directory `/home/andy/Src/Mesa-git/mesa/src/mapi/glapi' make[2]: Entering directory `/home/andy/Src/Mesa-git/mesa/src/glsl' flex --nounistd -oglcpp/glcpp-

[Mesa-dev] Mesa 7.8.2 DRI2 configuration mismatch

2011-03-03 Thread Srini
Dear All, Sorry for such a big mail, i just want to put in detailed. I am trying for hardware acceleration on Mesa 7.8.2 on RHEL6 which has kernel version 2.6.32. I compiled mesa with below configurations. ./configure --enable-gles2 --enable-egl --with-egl-platforms=drm --with-dri-drivers=i965

[Mesa-dev] [Bug 32666] etqw triggers an assert in st_texture.c

2011-03-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32666 Álmos changed: What|Removed |Added Status|NEW |RESOLVED Resolution|