[Mesa-dev] [PATCH] i965: Go back to using the kernel SOL reset feature.

2013-05-23 Thread Kenneth Graunke
It turns out the MI_LOAD_REGISTER_IMM approach doesn't work on Haswell, and regressed essentially all the transform feedback Piglit tests. This morally reverts eaa6fbe6d54dc99efac4ab8e800edef65ce8220d. However, the code is still simpler than it was. On BeginTransformFeedback, we simply flush the

[Mesa-dev] [Bug 64791] swrast crashes with compiz

2013-05-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64791 Peter Åstrand changed: What|Removed |Added CC||astr...@lysator.liu.se -- You are recei

Re: [Mesa-dev] [PATCH] ilo: Initialize need_flush in draw_vbo.

2013-05-23 Thread Chia-I Wu
On Thu, May 23, 2013 at 2:24 PM, Vinson Lee wrote: > need_flush was uninitialized if hw3d->new_batch was true. > > Fixes "Uninitialized scalar variable" defect reported by Coverity. > > Signed-off-by: Vinson Lee Applied, thanks. Now I wonder why gcc did not give me any warning... > --- > src/ga

Re: [Mesa-dev] Error compiling mesa 9.1.1

2013-05-23 Thread Divick Kishore
Bump .. could someone please help me with this? Possibly I am missing something small but can't seem to figure out. Any help is appreciated. Divick On Thu, May 16, 2013 at 12:58 PM, Divick Kishore wrote: > Hi, > I am trying to compile mesa 9.1.1 on my debian wheezy machine but > I get compil

Re: [Mesa-dev] [PATCH] tgsi: add buffer texture to tgsi_util_get_texture_coord_dim()

2013-05-23 Thread Brian Paul
On 05/23/2013 12:41 AM, Chia-I Wu wrote: TGSI_TEXTURE_BUFFER is one-dimensional. Assert that exec_tex() is never called with TGSI_TEXTURE_BUFFER. Signed-off-by: Chia-I Wu --- src/gallium/auxiliary/tgsi/tgsi_exec.c |1 + src/gallium/auxiliary/tgsi/tgsi_util.c |2 ++ 2 files changed,

[Mesa-dev] sharing of context data for egl x11 backend

2013-05-23 Thread Divick Kishore
Hi, I have written a simple program which shares data like texture and shaders across two different GLContexts but it doesn't seem to work. Is sharing of texture and shaders supported in Mesa EGL backend? I first bind the first context and do the drawing and then I bind the second context to c

Re: [Mesa-dev] Error compiling mesa 9.1.1

2013-05-23 Thread Matt Turner
On Thu, May 23, 2013 at 3:39 AM, Divick Kishore wrote: > Bump .. could someone please help me with this? Possibly I am missing > something small but can't seem to figure out. > > Any help is appreciated. > Divick > > On Thu, May 16, 2013 at 12:58 PM, Divick Kishore > wrote: >> Hi, >> I am try

[Mesa-dev] [PATCH:mesa 1/2] integer overflow in XF86DRIOpenConnection() [CVE-2013-1993 1/2]

2013-05-23 Thread Alan Coopersmith
busIdStringLength is a CARD32 and needs to be bounds checked before adding one to it to come up with the total size to allocate, to avoid integer overflow leading to underallocation and writing data from the network past the end of the allocated buffer. Reported-by: Ilja Van Sprundel Signed-off-b

[Mesa-dev] [PATCH:mesa 0/2] integer overflows in GLX DRI code [CVE-2013-1993]

2013-05-23 Thread Alan Coopersmith
The X.Org security team has been notified by a security researcher of bugs in the protocol handling code across libX11 & many of its extension libraries. These could be exploited in X clients that are setuid or otherwise running with raised privileges, if a user could run them with their display se

[Mesa-dev] [PATCH:mesa 2/2] integer overflow in XF86DRIGetClientDriverName() [CVE-2013-1993 2/2]

2013-05-23 Thread Alan Coopersmith
clientDriverNameLength is a CARD32 and needs to be bounds checked before adding one to it to come up with the total size to allocate, to avoid integer overflow leading to underallocation and writing data from the network past the end of the allocated buffer. Reported-by: Ilja Van Sprundel Signed-

Re: [Mesa-dev] [PATCH 01/12] intel: Conditionally compile mcs-related code for i965 only.

2013-05-23 Thread Paul Berry
On 22 May 2013 12:18, Ian Romanick wrote: > On 05/21/2013 04:52 PM, Paul Berry wrote: > >> This patch ifdefs out intel_mipmap_tree::mcs_mt when building the i915 >> (pre-Gen4) driver (MCS buffers aren't supported until Gen7, so there >> is no need for this field in the i915 driver). This should

[Mesa-dev] [Bug 64877] R600: OpenCL Regression since llvm commit b6379de427c009

2013-05-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64877 --- Comment #6 from Tom Stellard --- Created attachment 79716 --> https://bugs.freedesktop.org/attachment.cgi?id=79716&action=edit Possible fix This patch should fix the bug. -- You are receiving this mail because: You are the assignee for t

Re: [Mesa-dev] [PATCH:mesa 0/2] integer overflows in GLX DRI code [CVE-2013-1993]

2013-05-23 Thread Brian Paul
On 05/23/2013 09:44 AM, Alan Coopersmith wrote: The X.Org security team has been notified by a security researcher of bugs in the protocol handling code across libX11 & many of its extension libraries. These could be exploited in X clients that are setuid or otherwise running with raised privileg

Re: [Mesa-dev] [PATCH 02/12] intel: Create intel_miptree_get_region() to prepare for fast color clear.

2013-05-23 Thread Eric Anholt
Paul Berry writes: > With the advent of fast color clears, it will no longer be safe for > the driver to access the data stored in a miptree with impunity. For > example, sometimes a resolve will need to be performed first (to > ensure that deferred writes due to a fast clear are performed befor

[Mesa-dev] [Bug 64877] R600: OpenCL Regression since llvm commit b6379de427c009

2013-05-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64877 Aaron Watry changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [PATCH libclc] Add bitselect builtin

2013-05-23 Thread Tom Stellard
From: Tom Stellard --- generic/include/clc/clc.h | 1 + generic/include/clc/relational/bitselect.h | 1 + 2 files changed, 2 insertions(+) create mode 100644 generic/include/clc/relational/bitselect.h diff --git a/generic/include/clc/clc.h b/generic/include/clc/clc.h index d28

Re: [Mesa-dev] [PATCH:mesa 1/2] integer overflow in XF86DRIOpenConnection() [CVE-2013-1993 1/2]

2013-05-23 Thread Ian Romanick
On 05/23/2013 08:44 AM, Alan Coopersmith wrote: busIdStringLength is a CARD32 and needs to be bounds checked before adding one to it to come up with the total size to allocate, to avoid integer overflow leading to underallocation and writing data from the network past the end of the allocated buf

Re: [Mesa-dev] [PATCH 02/12] intel: Create intel_miptree_get_region() to prepare for fast color clear.

2013-05-23 Thread Paul Berry
On 23 May 2013 09:57, Eric Anholt wrote: > Paul Berry writes: > > > With the advent of fast color clears, it will no longer be safe for > > the driver to access the data stored in a miptree with impunity. For > > example, sometimes a resolve will need to be performed first (to > > ensure that d

Re: [Mesa-dev] [PATCH 02/12] intel: Create intel_miptree_get_region() to prepare for fast color clear.

2013-05-23 Thread Paul Berry
On 22 May 2013 12:21, Ian Romanick wrote: > On 05/21/2013 04:52 PM, Paul Berry wrote: > >> diff --git a/src/mesa/drivers/dri/i915/i830_vtbl.c >> b/src/mesa/drivers/dri/i915/i830_vtbl.c >> index b30f45e..a35f58b 100644 >> --- a/src/mesa/drivers/dri/i915/**i830_vtbl.c >> +++ b/src/mesa/drivers/dri/

[Mesa-dev] [RFC 0/2] freedreno: adding adreno a3xx support

2013-05-23 Thread Rob Clark
From: Rob Clark Currently, es2gears, ioquake, xonotic, compiz, etc. work. The shader compiler is quite sub-optimal, but despite that most things seem to be ~2-3x faster compared (and at higher resolution) with the a320 on my nexus4 compared to a220 on my HP touchpad. Since the patches will prob

Re: [Mesa-dev] [PATCH 06/12] i965/gen7+: Implement fast color clear operation in BLORP.

2013-05-23 Thread Paul Berry
On 22 May 2013 12:30, Ian Romanick wrote: > On 05/21/2013 04:52 PM, Paul Berry wrote: > >> Since we defer allocation of the MCS miptree until the time of the >> fast clear operation, this patch also implements creation of the MCS >> miptree. >> >> In addition, this patch adds the field >> intel_m

Re: [Mesa-dev] [PATCH 06/12] i965/gen7+: Implement fast color clear operation in BLORP.

2013-05-23 Thread Paul Berry
On 22 May 2013 16:32, Eric Anholt wrote: > Paul Berry writes: > > diff --git a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c > b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c > > index 9d1b91a..657532f 100644 > > --- a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c > > +++ b/src/mesa/drivers/d

Re: [Mesa-dev] [PATCH 01/12] intel: Conditionally compile mcs-related code for i965 only.

2013-05-23 Thread Chad Versace
On 05/23/2013 09:33 AM, Paul Berry wrote: On 22 May 2013 12:18, Ian Romanick wrote: On 05/21/2013 04:52 PM, Paul Berry wrote: This patch ifdefs out intel_mipmap_tree::mcs_mt when building the i915 (pre-Gen4) driver (MCS buffers aren't supported until Gen7, so there is no need for this field

Re: [Mesa-dev] [PATCH:mesa 1/2] integer overflow in XF86DRIOpenConnection() [CVE-2013-1993 1/2]

2013-05-23 Thread Alan Coopersmith
On 05/23/13 11:07 AM, Ian Romanick wrote: On 05/23/2013 08:44 AM, Alan Coopersmith wrote: if (rep.length) { - if (!(*busIdString = calloc(rep.busIdStringLength + 1, 1))) { + if (rep.busIdStringLength < INT_MAX) + *busIdString = calloc(rep.busIdStringLength + 1, 1); But c

Re: [Mesa-dev] [RFC 0/2] freedreno: adding adreno a3xx support

2013-05-23 Thread Matt Turner
On Thu, May 23, 2013 at 11:48 AM, Rob Clark wrote: > From: Rob Clark > > Currently, es2gears, ioquake, xonotic, compiz, etc. work. The > shader compiler is quite sub-optimal, but despite that most things > seem to be ~2-3x faster compared (and at higher resolution) with > the a320 on my nexus4 c

Re: [Mesa-dev] [RFC 0/2] freedreno: adding adreno a3xx support

2013-05-23 Thread Matt Turner
On Thu, May 23, 2013 at 11:48 AM, Rob Clark wrote: > From: Rob Clark > > Currently, es2gears, ioquake, xonotic, compiz, etc. work. The > shader compiler is quite sub-optimal, but despite that most things > seem to be ~2-3x faster compared (and at higher resolution) with > the a320 on my nexus4 c

Re: [Mesa-dev] [RFC 0/2] freedreno: adding adreno a3xx support

2013-05-23 Thread Rob Clark
On Thu, May 23, 2013 at 4:21 PM, Matt Turner wrote: > On Thu, May 23, 2013 at 11:48 AM, Rob Clark wrote: >> From: Rob Clark >> >> Currently, es2gears, ioquake, xonotic, compiz, etc. work. The >> shader compiler is quite sub-optimal, but despite that most things >> seem to be ~2-3x faster compar

[Mesa-dev] [PATCH 0/4] Multiple viewports in Gallium

2013-05-23 Thread Zack Rusin
This series adds support for multiple viewports/scissors to gallium and implements it in llvmpipe. All the other drivers still support just a single viewport/scissor combo and their behavior should be exactly the same as it was. Zack Rusin (4): gallium: Add support for multiple viewports draw:

[Mesa-dev] [PATCH 2/4] draw: implement support for multiple viewports

2013-05-23 Thread Zack Rusin
This adds support for multiple viewports to the draw module. Multiple viewports depend on the presence of geometry shaders which can write the viewport index. Signed-off-by: Zack Rusin --- src/gallium/auxiliary/draw/draw_cliptest_tmp.h | 10 - src/gallium/auxiliary/draw/draw_context.c

[Mesa-dev] [PATCH 3/4] util/blitter: make sure the blitter can restore all viewports

2013-05-23 Thread Zack Rusin
in case a driver supports multiple viewports the blitter needs to be able to restore all of them and not just the first one. Signed-off-by: Zack Rusin --- src/gallium/auxiliary/util/u_blitter.c |6 +++-- src/gallium/auxiliary/util/u_blitter.h | 24 +-

[Mesa-dev] [PATCH 4/4] llvmpipe: implement support for multiple viewports

2013-05-23 Thread Zack Rusin
Largely related to making sure the rasterizer can correctly pick out the correct scissor box for the current viewport. Signed-off-by: Zack Rusin --- src/gallium/drivers/llvmpipe/lp_context.h |9 -- src/gallium/drivers/llvmpipe/lp_screen.c|2 +- src/gallium/drivers/llvmp

Re: [Mesa-dev] [PATCH 1/4] gallium: Add support for multiple viewports

2013-05-23 Thread Roland Scheidegger
Am 23.05.2013 22:33, schrieb Zack Rusin: > Gallium supported only a single viewport/scissor combination. This > commit changes the interface to allow us to add support for multiple > viewports/scissors. > > Signed-off-by: Zack Rusin > --- > diff --git a/src/gallium/include/pipe/p_context.h > b/s

Re: [Mesa-dev] [PATCH 1/4] gallium: Add support for multiple viewports

2013-05-23 Thread Marek Olšák
1) I prefer this interface instead: void (*set_scissor_states)( struct pipe_context *, unsigned start_slot, unsigned count, const struct pipe_scissor_state * ); void (*set_viewport_states)( struct pipe_context *,

Re: [Mesa-dev] [PATCH 4/4] llvmpipe: implement support for multiple viewports

2013-05-23 Thread Roland Scheidegger
Am 23.05.2013 22:33, schrieb Zack Rusin: > Largely related to making sure the rasterizer can correctly > pick out the correct scissor box for the current viewport. > > Signed-off-by: Zack Rusin > --- > src/gallium/drivers/llvmpipe/lp_context.h |9 -- > src/gallium/drivers/llvmpipe/

Re: [Mesa-dev] [PATCH 3/4] util/blitter: make sure the blitter can restore all viewports

2013-05-23 Thread Marek Olšák
Same as the the first patch: u_blitter doesn't really need to change more than one scissor and viewport. With the start_slot parameter in set_viewport_states and set_scissor_states, you can just save, set, and restore the first slot. Note that the same approach is also used for the vertex buffer (o

Re: [Mesa-dev] [PATCH 1/4] gallium: Add support for multiple viewports

2013-05-23 Thread Zack Rusin
> 1) I prefer this interface instead: > > void (*set_scissor_states)( struct pipe_context *, >unsigned start_slot, unsigned count, >const struct pipe_scissor_state * ); > > void (*set_viewport_states)( struct pipe_context *, >

Re: [Mesa-dev] [PATCH 3/4] util/blitter: make sure the blitter can restore all viewports

2013-05-23 Thread Zack Rusin
> Same as the the first patch: u_blitter doesn't really need to change > more than one scissor and viewport. With the start_slot parameter in > set_viewport_states and set_scissor_states, you can just save, set, > and restore the first slot. Note that the same approach is also used > for the vertex

Re: [Mesa-dev] [PATCH libclc] Add bitselect builtin

2013-05-23 Thread Aaron Watry
Reviewed-by: Aaron Watry Please also send the attached test patch (or an expanded version of it) to the piglit list. On Thu, May 23, 2013 at 12:48 PM, Tom Stellard wrote: > From: Tom Stellard > > --- > generic/include/clc/clc.h | 1 + > generic/include/clc/relational/bitselec

Re: [Mesa-dev] [PATCH 1/4] gallium: Add support for multiple viewports

2013-05-23 Thread Marek Olšák
On Thu, May 23, 2013 at 11:59 PM, Zack Rusin wrote: >> 1) I prefer this interface instead: >> >> void (*set_scissor_states)( struct pipe_context *, >>unsigned start_slot, unsigned count, >>const struct pipe_scissor_state * ); >> >> vo

[Mesa-dev] [PATCH] i965: Mask the cut index based on the index buffer type in 3DSTATE_VF.

2013-05-23 Thread Kenneth Graunke
According to the documentation: "The Cut Index is compared to the fetched (and possibly-sign-extended) vertex index, and if these values are equal, the current primitive topology is terminated. Note that, for index buffers <32bpp, it is possible to set the Cut Index to a (large) value that will ne

Re: [Mesa-dev] [PATCH] i965: Mask the cut index based on the index buffer type in 3DSTATE_VF.

2013-05-23 Thread Jordan Justen
On Thu, May 23, 2013 at 3:46 PM, Kenneth Graunke wrote: > According to the documentation: "The Cut Index is compared to the > fetched (and possibly-sign-extended) vertex index, and if these values > are equal, the current primitive topology is terminated. Note that, > for index buffers <32bpp, it

Re: [Mesa-dev] [PATCH] i965: Mask the cut index based on the index buffer type in 3DSTATE_VF.

2013-05-23 Thread Paul Berry
On 23 May 2013 15:46, Kenneth Graunke wrote: > According to the documentation: "The Cut Index is compared to the > fetched (and possibly-sign-extended) vertex index, and if these values > are equal, the current primitive topology is terminated. Note that, > for index buffers <32bpp, it is possib

Re: [Mesa-dev] [PATCH 3/4] util/blitter: make sure the blitter can restore all viewports

2013-05-23 Thread Marek Olšák
That wouldn't be an issue if there were the start_slot parameter in the first place. The hardware viewport count is always 16, I don't think that can be changed. (my radeon hardware docs seem to suggest it really can't). OpenGL doesn't provide a way to specify the viewport count either. (even the l

Re: [Mesa-dev] [PATCH 06/12] i965/gen7+: Implement fast color clear operation in BLORP.

2013-05-23 Thread Eric Anholt
Paul Berry writes: > On 22 May 2013 12:30, Ian Romanick wrote: > >> On 05/21/2013 04:52 PM, Paul Berry wrote: >> >>> Since we defer allocation of the MCS miptree until the time of the >>> fast clear operation, this patch also implements creation of the MCS >>> miptree. >>> >>> In addition, this

[Mesa-dev] libclc: vload/vstore initial implementation

2013-05-23 Thread Aaron Watry
I've implemented the OpenCL vload/vstore builtin functions in two parts. 1) Pure CL C implementation. No Assembly 2) Add assembly optimizations for 32-bit int/uint loads/stores of 4+ component vectors Note: The vstore implementation assumes that the hardware back end supports byte-addressable s

[Mesa-dev] [PATCH 1/4] libclc: Initial vload implementation

2013-05-23 Thread Aaron Watry
Should work for all targets and data types. Completely unoptimized. --- generic/include/clc/clc.h | 1 + generic/include/clc/shared/vload.h | 37 ++ generic/lib/SOURCES| 1 + generic/lib/shared/vload.cl| 47 +++

[Mesa-dev] [PATCH 2/4] libclc: Initial vstore implementation

2013-05-23 Thread Aaron Watry
Assumes that the target supports byte-addressable stores. Completely unoptimized. --- generic/include/clc/clc.h | 1 + generic/include/clc/shared/vstore.h | 36 generic/lib/SOURCES | 1 + generic/lib/shared/vstore.cl| 56 +++

[Mesa-dev] [PATCH 3/4] libclc: Add assembly versions of vload for global int4/8/16

2013-05-23 Thread Aaron Watry
The assembly should be generic, but at least currently R600 only supports 32-bit loads of int1/4, and I believe that only global is well-supported. R600 lowers the 8/16 component vectors to multiple 4-bit loads. The unoptimized C versions of the other stuff is left in place. --- generic/lib/SOUR

[Mesa-dev] [PATCH 4/4] libclc: Add assembly versions of vstore for global [u]int4/8/16

2013-05-23 Thread Aaron Watry
The assembly should be generic, but at least currently R600 only supports 32-bit stores of [u]int1/4, and I believe that only global is well-supported. R600 lowers the 8/16 component stores to multiple 4-component stores. The unoptimized C versions of the other stuff is left in place. --- generi

[Mesa-dev] [Bug 64934] New: [llvmpipe] SIGSEGV src/gallium/state_trackers/glx/xlib/glx_api.c:1363

2013-05-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64934 Priority: medium Bug ID: 64934 Keywords: have-backtrace Assignee: mesa-dev@lists.freedesktop.org Summary: [llvmpipe] SIGSEGV src/gallium/state_trackers/glx/xlib/glx_api.c:136

[Mesa-dev] [Bug 64935] New: [swrast] s_texfetch.c:1335: set_fetch_functions: Assertion `texImage->FetchTexel' failed.

2013-05-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64935 Priority: medium Bug ID: 64935 Keywords: have-backtrace, regression CC: e...@anholt.net Assignee: mesa-dev@lists.freedesktop.org Summary: [swrast] s_texfetch.c:1335: set_fetch_fu

Re: [Mesa-dev] Error compiling mesa 9.1.1

2013-05-23 Thread Divick Kishore
Hi Matt, On Thu, May 23, 2013 at 8:38 PM, Matt Turner wrote: > On Thu, May 23, 2013 at 3:39 AM, Divick Kishore >>> >>> Could someone please help me build mesa 9.1.1? > > I think this is a build system bug caused by not building any classic > hardware DRI drivers. Try --with-dri-drivers=i965,swras

Re: [Mesa-dev] [v4 10/10] egl: dri2: support for creating images out of dma buffers

2013-05-23 Thread Chad Versace
When touching the src/egl/drivers/dri2 directory, use a commit subject that looks like "egl/dri2: STUFF", not "egl: dri2: STUFF". On 05/02/2013 12:08 AM, Topi Pohjolainen wrote: v2: - upon success close the given file descriptors v3: - use specific entry for dma buffers instead of the b

Re: [Mesa-dev] [v4 09/10] egl: definitions for EXT_image_dma_buf_import

2013-05-23 Thread Chad Versace
On 05/02/2013 12:08 AM, Topi Pohjolainen wrote: As specified in: http://www.khronos.org/registry/egl/extensions/EXT/EGL_EXT_image_dma_buf_import.txt Checking for the valid fourcc values is left for drivers avoiding dependency to drm header files here. v2: - enforce EGL_NO_CONTEXT v3:

Re: [Mesa-dev] [v4 06/10] intel: prepare for dri images having more than one plane

2013-05-23 Thread Chad Versace
On 05/02/2013 12:08 AM, Topi Pohjolainen wrote: v2 (as advised by Eric): - use ARRAY_SIZE - re-use 'image_destroy' for cleaning up after failure - check directly the region pointer instead of the buffer object when determining if a region exists Signed-off-by: Topi Pohjolainen

Re: [Mesa-dev] [v4 03/10] intel: replace single region with a vector of regions

2013-05-23 Thread Chad Versace
On 05/21/2013 11:17 PM, Pohjolainen, Topi wrote: On Tue, May 21, 2013 at 10:11:17PM -0700, Chad Versace wrote: On 05/02/2013 12:08 AM, Topi Pohjolainen wrote: No functional change in preparation for supporting multiple planes per image each having its own region. Signed-off-by: Topi Pohjolaine

Re: [Mesa-dev] Error compiling mesa 9.1.1

2013-05-23 Thread Matt Turner
On Thu, May 23, 2013 at 8:04 PM, Divick Kishore wrote: > Hi Matt, > > On Thu, May 23, 2013 at 8:38 PM, Matt Turner wrote: >> On Thu, May 23, 2013 at 3:39 AM, Divick Kishore Could someone please help me build mesa 9.1.1? >> >> I think this is a build system bug caused by not building any

Re: [Mesa-dev] [v4 10/10] egl: dri2: support for creating images out of dma buffers

2013-05-23 Thread Pohjolainen, Topi
On Thu, May 23, 2013 at 09:39:30PM -0700, Chad Versace wrote: > When touching the src/egl/drivers/dri2 directory, use a commit subject > that looks like "egl/dri2: STUFF", not "egl: dri2: STUFF". > > On 05/02/2013 12:08 AM, Topi Pohjolainen wrote: > >v2: > >- upon success close the given file

Re: [Mesa-dev] [v4 09/10] egl: definitions for EXT_image_dma_buf_import

2013-05-23 Thread Pohjolainen, Topi
On Thu, May 23, 2013 at 09:40:09PM -0700, Chad Versace wrote: > On 05/02/2013 12:08 AM, Topi Pohjolainen wrote: > >As specified in: > > > >http://www.khronos.org/registry/egl/extensions/EXT/EGL_EXT_image_dma_buf_import.txt > > > >Checking for the valid fourcc values is left for drivers avoiding > >

[Mesa-dev] [PATCH] glsl linker: Initialize member variable interface_namespace.

2013-05-23 Thread Vinson Lee
Fixes "Uninitialized pointer field" defect reported by Coverity. Signed-off-by: Vinson Lee --- src/glsl/lower_named_interface_blocks.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/glsl/lower_named_interface_blocks.cpp b/src/glsl/lower_named_interface_blocks.cpp in

Re: [Mesa-dev] Error compiling mesa 9.1.1

2013-05-23 Thread Divick Kishore
Hi Matt, > From the "build" in your path, it looks like you might be trying to do > an out-of-tree build. I don't remember if that completely worked with > 9.1. > > I just untarred 9.1.3 and did > > libtoolize --force > ./autogen.sh --with-dri-drivers=i965,swrast > --with-gallium-drivers=swrast --