Re: [Mesa3d-dev] Mesa (master): mesa: add support for ATI_envmap_bumpmap

2009-03-16 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roland Scheidegger wrote: > The plan is to implement a rgba signed 8-bit format (to keep the > extension simple) and reuse the Nvidia enums (certainly the full set of > rgb/rgba/luminance/etc. could be exposed, but there are no plans for > that, it co

Re: [Mesa3d-dev] Mesa (master): mesa: add support for ATI_envmap_bumpmap

2009-03-16 Thread Roland Scheidegger
On 16.03.2009 20:44, Ian Romanick wrote: > Keith Whitwell wrote: >>> The only hardware that can support this extension that doesn't already >>> have support for ARB_fragment_shader is G400 and R100. Convince me that >>> we really want to clutter Mesa with shit extensions to add functionality >>> t

Re: [Mesa3d-dev] Use of GLEW in piglit?

2009-03-16 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ian Romanick wrote: > I'm posting to mesa3d-dev because there doesn't appear to be a piglit > mailing list. > > I have a couple tests that I'd like to add to piglit, but I've written > them to use GLEW. Is that okay? I prefer GLEW over just defining

[Mesa3d-dev] Use of GLEW in piglit?

2009-03-16 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm posting to mesa3d-dev because there doesn't appear to be a piglit mailing list. I have a couple tests that I'd like to add to piglit, but I've written them to use GLEW. Is that okay? I prefer GLEW over just defining GL_GLEXT_PROTOTYPES or trying

Re: [Mesa3d-dev] Mesa (master): gallium: Implement atomic interface for windows user mode subsystem.

2009-03-16 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas Hellström wrote: > Ian Romanick wrote: > MichaÅ Król wrote: > Module: Mesa Branch: master Commit: a7d42e11b4e97f19eaeb3b5ee811f04adb05b13d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7d42e11b4e97f19eae

[Mesa3d-dev] dri / glx, xcb and thread-safety.

2009-03-16 Thread Thomas Hellström
Hi! I'm currently looking into the thread-safety of the dri drivers. In particular the calls to libX11. It appears that many of the applications I've tried have issues with deadlocks in the XCB code. It looks like this might be an issue with the locking order of XLockDisplay() and driver mutex

Re: [Mesa3d-dev] Mesa (master): gallium: Implement atomic interface for windows user mode subsystem.

2009-03-16 Thread Thomas Hellström
Ian Romanick wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > MichaŠKról wrote: > >> Module: Mesa >> Branch: master >> Commit: a7d42e11b4e97f19eaeb3b5ee811f04adb05b13d >> URL: >> http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7d42e11b4e97f19eaeb3b5ee811f04adb05b13d >> >> Aut

Re: [Mesa3d-dev] Mesa (master): gallium: Implement atomic interface for windows user mode subsystem.

2009-03-16 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 MichaŠKról wrote: > Module: Mesa > Branch: master > Commit: a7d42e11b4e97f19eaeb3b5ee811f04adb05b13d > URL: > http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7d42e11b4e97f19eaeb3b5ee811f04adb05b13d > > Author: Michal Krol > Date: Mon Mar 16

Re: [Mesa3d-dev] Mesa (master): mesa: add support for ATI_envmap_bumpmap

2009-03-16 Thread Chris Rankin
--- On Mon, 16/3/09, Ian Romanick wrote: > I'd bet a shiny nickel that WoW only uses when > ARB_fragment_program and ARB_fragment_shader are not available. :) Possible, although: a) $ strings /opt/wine/World\ of\ Warcraft/WoW.exe | grep ARB_fragment GL_ARB_fragment_program (No ARB_fragment_sha

Re: [Mesa3d-dev] Mesa (master): mesa: add support for ATI_envmap_bumpmap

2009-03-16 Thread Keith Whitwell
On Mon, 2009-03-16 at 12:44 -0700, Ian Romanick wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Keith Whitwell wrote: > > > >> The only hardware that can support this extension that doesn't already > >> have support for ARB_fragment_shader is G400 and R100. Convince me that > >> we

Re: [Mesa3d-dev] [RFC] patches to merge to mesa_7_4_branch

2009-03-16 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Paul wrote: > Ian Romanick wrote: >> What spurred this is that we (Intel) are doing our quarterly driver >> release at the end of the month. Our preferred method is to take the >> current Mesa stable branch or stable release to use as the basis

Re: [Mesa3d-dev] Mesa (master): mesa: add support for ATI_envmap_bumpmap

2009-03-16 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Keith Whitwell wrote: > >> The only hardware that can support this extension that doesn't already >> have support for ARB_fragment_shader is G400 and R100. Convince me that >> we really want to clutter Mesa with shit extensions to add functionality >

Re: [Mesa3d-dev] Mesa (master): mesa: add support for ATI_envmap_bumpmap

2009-03-16 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Rankin wrote: > --- On Mon, 16/3/09, Roland Scheidegger wrote: >> I think though outside of trying to run d3d apps in one way or another >> there's very few apps out there which would use this extension (I don't >> know of any but maybe they exi

Re: [Mesa3d-dev] Mesa (master): gallium: Implement atomic for MSVC on x86.

2009-03-16 Thread Michał Król
José Fonseca pisze: > On Mon, 2009-03-16 at 06:09 -0700, Michał Król wrote: > >> On Mon, Mar 16, 2009 at 1:59 PM, José Fonseca wrote: >> >>> Shouldn't we use InterlockedIncrement >>> ( http://msdn.microsoft.com/en-us/library/ms683614(VS.85).aspx ) and >>> friends in Windows instead of asse

Re: [Mesa3d-dev] Mesa (master): mesa: add support for ATI_envmap_bumpmap

2009-03-16 Thread Chris Rankin
--- On Mon, 16/3/09, Roland Scheidegger wrote: > I think though outside of trying to run d3d apps in one way or another > there's very few apps out there which would use this extension (I don't > know of any but maybe they exist - I wasn't able to find some sample code > using this outside of ati

Re: [Mesa3d-dev] Mesa (master): mesa: add support for ATI_envmap_bumpmap

2009-03-16 Thread Roland Scheidegger
On 16.03.2009 16:37, Chris Rankin wrote: > --- On Mon, 16/3/09, Roland Scheidegger wrote: >> you forgot to mention the R200 - not that it makes much difference, >> and I wouldn't know exactly how to implement this on these chips, >> though it probably wouldn't be too difficult. > > What about R30

Re: [Mesa3d-dev] Mesa (master): mesa: add support for ATI_envmap_bumpmap

2009-03-16 Thread Chris Rankin
--- On Mon, 16/3/09, Roland Scheidegger wrote: > you forgot to mention the R200 - not that it makes much > difference, and I wouldn't know exactly how to implement this on these > chips, though it probably wouldn't be too difficult. What about R300+ too? Yes, this hardware might theoretically of

Re: [Mesa3d-dev] Mesa (master): mesa: add support for ATI_envmap_bumpmap

2009-03-16 Thread Roland Scheidegger
On 16.03.2009 14:03, Keith Whitwell wrote: > >> The only hardware that can support this extension that doesn't already >> have support for ARB_fragment_shader is G400 and R100. Convince me that >> we really want to clutter Mesa with shit extensions to add functionality >> to support 10 year old h

[Mesa3d-dev] [Bug 19296] Zero Ballistics: failed to compile shader

2009-03-16 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=19296 Sven Arvidsson changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa3d-dev] Mesa (master): gallium: Implement atomic for MSVC on x86.

2009-03-16 Thread José Fonseca
On Mon, 2009-03-16 at 06:09 -0700, Michał Król wrote: > On Mon, Mar 16, 2009 at 1:59 PM, José Fonseca wrote: > > Shouldn't we use InterlockedIncrement > > ( http://msdn.microsoft.com/en-us/library/ms683614(VS.85).aspx ) and > > friends in Windows instead of assembly? It is implemented as a compile

Re: [Mesa3d-dev] Mesa (master): gallium: Implement atomic for MSVC on x86.

2009-03-16 Thread Michał Król
On Mon, Mar 16, 2009 at 1:59 PM, José Fonseca wrote: > Shouldn't we use InterlockedIncrement > ( http://msdn.microsoft.com/en-us/library/ms683614(VS.85).aspx ) and > friends in Windows instead of assembly? It is implemented as a compiler > intrinsic, so it probably results in more efficient genera

Re: [Mesa3d-dev] Mesa (master): mesa: add support for ATI_envmap_bumpmap

2009-03-16 Thread Keith Whitwell
> The only hardware that can support this extension that doesn't already > have support for ARB_fragment_shader is G400 and R100. Convince me that > we really want to clutter Mesa with shit extensions to add functionality > to support 10 year old hardware. Roland can probably give a much better

Re: [Mesa3d-dev] Mesa (master): gallium: Implement atomic for MSVC on x86.

2009-03-16 Thread José Fonseca
Shouldn't we use InterlockedIncrement ( http://msdn.microsoft.com/en-us/library/ms683614(VS.85).aspx ) and friends in Windows instead of assembly? It is implemented as a compiler intrinsic, so it probably results in more efficient generated code. Jose On Mon, 2009-03-16 at 05:42 -0700, Micha?? Kr

Re: [Mesa3d-dev] [PATCH] gallium: Add simple atomic class api.

2009-03-16 Thread Thomas Hellstrom
Michał Król wrote: > On Mon, Mar 16, 2009 at 10:41 AM, Thomas Hellstrom > wrote: > >> tom fogal wrote: >> >>> thellst...@vmware.com writes: >>> [snip] >>> >>> +#if (defined(PIPE_CC_GCC) && defined(__i386__)) >>> ^ >>> >>> This is basi

Re: [Mesa3d-dev] Mesa (master): nouveau: bypass_vs_clip_and_viewport

2009-03-16 Thread Younes Manton
On Mon, Mar 16, 2009 at 6:26 AM, Keith Whitwell wrote: > On Sat, 2009-03-14 at 17:21 -0700, Younes Manton wrote: > Ugh, sorry about this.  I'm not sure how I didn't pick these up - I must > have had these drivers disabled in my build without realizing it.  Sorry > for the screwup. > > Keith No bi

Re: [Mesa3d-dev] [PATCH] gallium: Add simple atomic class api.

2009-03-16 Thread Michał Król
On Mon, Mar 16, 2009 at 10:41 AM, Thomas Hellstrom wrote: > tom fogal wrote: >> thellst...@vmware.com writes: >> [snip] >> >>> +#if (defined(PIPE_CC_GCC) && defined(__i386__)) >>> >> >>          ^ >> >> This is basically an #ifdef (__GNUC__), I'm guessing? >> >> > Yes, however it s

Re: [Mesa3d-dev] Mesa (master): nouveau: bypass_vs_clip_and_viewport

2009-03-16 Thread Keith Whitwell
On Sat, 2009-03-14 at 17:21 -0700, Younes Manton wrote: > Module: Mesa > Branch: master > Commit: 8b45de9aa1f92630b3c92847e20fc68d7b202edd > URL: > http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b45de9aa1f92630b3c92847e20fc68d7b202edd > > Author: Younes Manton > Date: Sat Mar 14 20:19:47

Re: [Mesa3d-dev] [PATCH] gallium: Add simple atomic class api.

2009-03-16 Thread Thomas Hellstrom
tom fogal wrote: > thellst...@vmware.com writes: > [snip] > >> +#if (defined(PIPE_CC_GCC) && defined(__i386__)) >> > > ^ > > This is basically an #ifdef (__GNUC__), I'm guessing? > > Yes, however it seems like the rest of the gallium code is using private define

Re: [Mesa3d-dev] Opengl es 2.0

2009-03-16 Thread Stephane Marchesin
On Mon, Mar 16, 2009 at 05:43, Daniel Connery wrote: > So I have been scouring the archives for two days now and havent > found anything related to this. So I am just going to post this > question and hope I dont get flamed. If a discussion about this exists > could you please just point me