[Mesa-dev] [Bug 71543] [mesa] Source-based games segfault

2014-01-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71543 Alexandre Demers changed: What|Removed |Added CC||alexandre.f.dem...@gmail.co

[Mesa-dev] [Bug 73999] mesa 32bit build fails with llvm enabled (cross compilation)

2014-01-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=73999 Luzipher changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [PATCH] glx: Update glxext.h to revision 24777.

2014-01-25 Thread Matt Turner
It readds the GLXContextID typedef, but under #ifndef GLX_VERSION_1_3. Bugzilla: https://cvs.khronos.org/bugzilla/show_bug.cgi?id=11454 --- include/GL/glxext.h | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/include/GL/glxext.h b/include/GL/glxext.h index 713238

[Mesa-dev] [Bug 73999] mesa 32bit build fails with llvm enabled (cross compilation)

2014-01-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=73999 --- Comment #5 from Luzipher --- First, thanks for looking at this ! I'm unable to build without the LLVM_CONFIG set. If I remove it, the build doesn't find LLVM during the configure phase (message ist something along the line "LLVM > 3.3 needed

Re: [Mesa-dev] [PATCH 12/15] i965: Pull out layer_multiplier in intel_update_renderbuffer_wrapper

2014-01-25 Thread Chris Forbes
Since we're not restricted to C89 in the driver, I put it as close to the point of use as possible -- but yes, I can move it to the top of the function if you think that's clearer. On Thu, Jan 23, 2014 at 6:58 AM, Courtney Goeltzenleuchter < court...@lunarg.com> wrote: > > > > On Tue, Jan 21, 20

[Mesa-dev] [PATCH 2/2] i965/fs: Assume FBO rendering in precompile if MRT.

2014-01-25 Thread Chris Forbes
If multiple color outputs are written, this shader is unlikely to be useful with a winsys framebuffer. Signed-off-by: Chris Forbes --- src/mesa/drivers/dri/i965/brw_fs.cpp | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mes

[Mesa-dev] [PATCH 1/2] i965/fs: Guess nr_color_regions better in precompile

2014-01-25 Thread Chris Forbes
Signed-off-by: Chris Forbes --- src/mesa/drivers/dri/i965/brw_fs.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 1e6c3e0..d6ebe50 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/s

Re: [Mesa-dev] [PATCH 2/2] main/get: support ARB_gpu_shader5

2014-01-25 Thread Matt Turner
On Sat, Jan 25, 2014 at 10:55 AM, Jordan Justen wrote: > If a driver enables ARB_gpu_shader5 and sets > Const.MaxVertexSteams >= 4, then piglit's > arb_gpu_shader5-minmax test should now pass. > > Signed-off-by: Jordan Justen > --- > src/mesa/main/config.h | 9 + > src/mesa/mai

Re: [Mesa-dev] [PATCH] glcpp: Check version_resolved in the proper place.

2014-01-25 Thread Carl Worth
Matt Turner writes: > The check was in the wrong place, ... I don't doubt that the change here is good and correct, but I think there's likely some additional renaming that can be applied: > + if (parser->version_resolved) > + return; > + > parser->version_resolved = true;

[Mesa-dev] [PATCH] glcpp: Check version_resolved in the proper place.

2014-01-25 Thread Matt Turner
The check was in the wrong place, such that if a shader incorrectly put a preprocessor token before the #version declaration, the version would be resolved twice, leading to a segmentation fault when attempting to redefine the __VERSION__ macro. #define GL_ARB_sample_shading #version 130 void m

[Mesa-dev] [PATCH 1/2] glapi: add definitions for ARB_gpu_shader5

2014-01-25 Thread Jordan Justen
Signed-off-by: Jordan Justen --- src/mapi/glapi/gen/ARB_gpu_shader5.xml | 15 +++ src/mapi/glapi/gen/gl_API.xml | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 src/mapi/glapi/gen/ARB_gpu_shader5.xml diff --git a/src/mapi/glapi/gen/ARB_gpu_shader5.xml b/src/ma

[Mesa-dev] [PATCH 2/2] main/get: support ARB_gpu_shader5

2014-01-25 Thread Jordan Justen
If a driver enables ARB_gpu_shader5 and sets Const.MaxVertexSteams >= 4, then piglit's arb_gpu_shader5-minmax test should now pass. Signed-off-by: Jordan Justen --- src/mesa/main/config.h | 9 + src/mesa/main/context.c | 4 src/mesa/main/get.c | 2 ++

[Mesa-dev] [PATCH] dri/nouveau: Pass the API into _mesa_initialize_context

2014-01-25 Thread Emil Velikov
Currently we create a OPENGL_COMPAT context regardless of what was requested by the program. Correct that by retaining the program's request and passing it into _mesa_initialize_context. Based on a similar commit for radeon/r200 by Ian Romanick. Cc: "9.1 9.2 10.0" Signed-off-by: Emil Velikov

Re: [Mesa-dev] Mesa (master): c11: Do not use pthread_mutex_timedlock on NetBSD.

2014-01-25 Thread Jose Fonseca
- Original Message - > > > - Original Message - > > Module: Mesa > > Branch: master > > Commit: a487b4d0e3dfdf21d9604d4e36c65c5113c4ce7a > > URL: > > https://urldefense.proofpoint.com/v1/url?u=http://cgit.freedesktop.org/mesa/mesa/commit/?id%3Da487b4d0e3dfdf21d9604d4e36c65c5113c

Re: [Mesa-dev] Mesa (master): c11: Do not use pthread_mutex_timedlock on NetBSD.

2014-01-25 Thread Jose Fonseca
- Original Message - > Module: Mesa > Branch: master > Commit: a487b4d0e3dfdf21d9604d4e36c65c5113c4ce7a > URL: > https://urldefense.proofpoint.com/v1/url?u=http://cgit.freedesktop.org/mesa/mesa/commit/?id%3Da487b4d0e3dfdf21d9604d4e36c65c5113c4ce7a&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=NMr

Re: [Mesa-dev] [PATCH 00/12] ARB_fragment_layer_viewport for i965

2014-01-25 Thread Kenneth Graunke
On 01/24/2014 10:51 PM, Chris Forbes wrote: > This series adds support for ARB_fragment_layer_viewport on i965 Gen7, in > core contexts [the same conditions as for ARB_viewport_array being exposed]. > > This is another tiny piece of GL4.3, allowing the GS- [or with > AMD_vertex_shader_*, VS- ] wri