[Mesa-dev] X.Org Google Summer of Code

2013-03-07 Thread Alex Deucher
It's that time of year again. The X.Org foundation is looking for volunteers to organize the Google Summer of Code application for the X.Org foundation. Historically the X.Org GSoC application has encompassed not just X, but the entire open source graphics ecosystem (mesa, X, kernel, wayland, etc.

[Mesa-dev] [PATCH 2/2] draw/gs: Correctly iterate the emitted primitives

2013-03-07 Thread Zack Rusin
We were assuming that each emitted primitive had the same number of vertices. That is incorrect. Emitted primitives can have arbirtrary number of vertices. Simply increment index on iteration to fix it. Signed-off-by: Zack Rusin --- src/gallium/auxiliary/draw/draw_gs.c |8 1 file ch

[Mesa-dev] [PATCH 1/2] tgsi/exec: Correctly reset NumOutputs before parsing the shader

2013-03-07 Thread Zack Rusin
Whenever we're binding the shaders we're incrementing NumOutputs, assuming the parser spots an output decleration, but we were never reseting the variable. That means that each subsequent bind of a geometry shader would add its number of output to the number of output bound by all previously ran sh

[Mesa-dev] [Bug 61992] LLVM Build fail

2013-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61992 --- Comment #3 from Andy Furniss --- I see the configure message is still saying - configure: WARNING: Please ensure you use the latest llvm tree from git://people.freedesktop.org/~tstellar/llvm master before submitting a bug -- You are receiv

[Mesa-dev] [Bug 61992] LLVM Build fail

2013-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61992 Andy Furniss changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 61992] LLVM Build fail

2013-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61992 --- Comment #1 from Tom Stellard --- The Mesa master branch requires the latest version of LLVM from the upstream repository. Can you try with that? -- You are receiving this mail because: You are the assignee for the bug.

Re: [Mesa-dev] glxgears is faster but 3D render is so slow

2013-03-07 Thread jupiter
Hi Brian, I finally built Mesa with configuration "--enable-xlib-glx --disable-dri --enable-gallium-llvm --with-llvm-shared-libs", with dependencies of llvm and drm. It does not work either, please see following glxinfo. Please let me know if my configuration is not correct, or if there are any ot

[Mesa-dev] [Bug 61821] src/mesa/drivers/dri/common/xmlpool.h:96:29: fatal error: xmlpool/options.h

2013-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61821 Vinson Lee changed: What|Removed |Added CC||lists@andyfurniss.entadsl.c

[Mesa-dev] [Bug 61984] build fail since Fix build of swrast only without libdrm

2013-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61984 Vinson Lee changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 61992] New: LLVM Build fail

2013-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61992 Priority: medium Bug ID: 61992 Assignee: mesa-dev@lists.freedesktop.org Summary: LLVM Build fail Severity: normal Classification: Unclassified OS: Linux (All) Repor

[Mesa-dev] [Bug 47607] [advocacy] Make Anomaly Warzone Earth work with Mesa

2013-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47607 Jordan Justen changed: What|Removed |Added CC||jljus...@gmail.com -- You are receiving

Re: [Mesa-dev] glxgears is faster but 3D render is so slow

2013-03-07 Thread jupiter
Hi Brian, Thanks for your response, please see following glxinfo. I am currently building the LLVM, seems need hours to complete it. Is it correct to reconfigure/rebuild Mesa with "--enable-xlib-glx --disable-dri --enable-gallium-llvm --with-llvm-shared-libs"? $ glxinfo name of display: :0.0 dis

[Mesa-dev] [PATCH] mesa: Fix FB blitting in case of zero size src or dst rect

2013-03-07 Thread Anuj Phogat
Framebuffer blitting operation should be skipped if any of the dimensions (width/height) of src/dst rect are zero. Fixes: fbblit(negative.nullblit.zeroSize) in Intel oglconform https://bugs.freedesktop.org/show_bug.cgi?id=59495 Note: Candidate for all the stable branches. Signed-off-by: Anuj Pho

[Mesa-dev] [PATCH 7/7] radeon/llvm: Add missing license headers

2013-03-07 Thread Tom Stellard
From: Tom Stellard Signed-off-by: Tom Stellard --- src/gallium/drivers/radeon/radeon_llvm_util.c | 26 + src/gallium/drivers/radeon/radeon_llvm_util.h | 26 + 2 files changed, 52 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/

[Mesa-dev] [PATCH 6/7] radeon/llvm: Make radeon_llvm_util.cpp a C file

2013-03-07 Thread Tom Stellard
From: Tom Stellard All the functions in this file are now implemented in C. --- src/gallium/drivers/radeon/Makefile.sources |6 +- src/gallium/drivers/radeon/radeon_llvm_util.c | 49 ++ src/gallium/drivers/radeon/radeon_llvm_util.cpp | 62 --- sr

[Mesa-dev] [PATCH 2/7] radeon/llvm: Implement radeon_llvm_parse_bitcode() using C API

2013-03-07 Thread Tom Stellard
From: Tom Stellard Also make the function static since it is not used anywhere else. --- src/gallium/drivers/radeon/radeon_llvm_util.cpp | 18 +++--- src/gallium/drivers/radeon/radeon_llvm_util.h |1 - 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/galliu

[Mesa-dev] [PATCH 5/7] radeon/llvm: Optimize radeon_llvm_strip_unused_kernels()

2013-03-07 Thread Tom Stellard
From: Tom Stellard Just delete unused kernels rather than marking them as internal and running the GlobalDCE pass. Also implement this function in C and inline it into radeon_llvm_get_kernel_module() --- src/gallium/drivers/radeon/radeon_llvm_util.cpp | 26 -- src/gallium/

[Mesa-dev] [PATCH 4/7] radeon/llvm: Implement radeon_llvm_get_kernel_module() using the C API

2013-03-07 Thread Tom Stellard
From: Tom Stellard --- src/gallium/drivers/radeon/Makefile.am |1 + src/gallium/drivers/radeon/radeon_llvm_util.cpp | 21 ++--- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/gallium/drivers/radeon/Makefile.am b/src/gallium/drivers/radeon/Make

[Mesa-dev] [PATCH 3/7] radeon/llvm: Implement radeon_llvm_get_num_kernels() using the C API

2013-03-07 Thread Tom Stellard
From: Tom Stellard --- src/gallium/drivers/radeon/radeon_llvm_util.cpp |7 +-- 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/src/gallium/drivers/radeon/radeon_llvm_util.cpp b/src/gallium/drivers/radeon/radeon_llvm_util.cpp index 5f63ed7..fcfb6d8 100644 --- a/src/gallium

[Mesa-dev] [PATCH 1/7] r600g/llvm: Move llvm wrapper functions into the radeon directory

2013-03-07 Thread Tom Stellard
From: Tom Stellard --- src/gallium/drivers/r600/Makefile.am|6 +-- src/gallium/drivers/r600/Makefile.sources |1 - src/gallium/drivers/r600/evergreen_compute.c|6 +- src/gallium/drivers/r600/llvm_wrapper.cpp | 61 -- src/gallium/drive

Re: [Mesa-dev] [PATCH] R600/SI: Use source scheduler

2013-03-07 Thread Tom Stellard
On Thu, Mar 07, 2013 at 05:05:47PM +0100, Michel Dänzer wrote: > From: Michel Dänzer > > This is certainly not the last word on scheduling for this target, but > right now this allows a few apps to run / finish with radeonsi, most > notably UT2004 / Lightsmark. They fail to compile some shaders w

[Mesa-dev] [Bug 58718] Crash in src_register() during glClear() call

2013-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58718 --- Comment #3 from Keith Kriewall --- Neither, I'm building both with Visual Studio 2010. LLVM has a project/solution as generated by CMake, and Mesa builds via scons in a Command Prompt environment configured as follows: F:\proj\Mesa-9.0.

[Mesa-dev] [Bug 61984] New: build fail since Fix build of swrast only without libdrm

2013-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61984 Priority: medium Bug ID: 61984 Assignee: mesa-dev@lists.freedesktop.org Summary: build fail since Fix build of swrast only without libdrm Severity: normal Classification:

[Mesa-dev] [Bug 58718] Crash in src_register() during glClear() call

2013-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58718 --- Comment #2 from Brian Paul --- Using gcc or clang? Which version? -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.or

[Mesa-dev] [Bug 58718] Crash in src_register() during glClear() call

2013-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58718 Keith Kriewall changed: What|Removed |Added CC||keith.kriewall@attachmate.c

[Mesa-dev] [Bug 58718] Crash in src_register() during glClear() call

2013-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58718 --- Comment #1 from Keith Kriewall --- I've run into this with Mesa 9.0.2 and LLVM 3.2. It appears that the bitfields in the prog_src_register struct (/src/mesa/program/prog_instruction.h) do not translate correctly to the src_register() paramet

Re: [Mesa-dev] [PATCH 1/5] i965/fs: Fix register allocation for uniform pull constants in 16-wide.

2013-03-07 Thread Kenneth Graunke
On 03/06/2013 06:57 PM, Eric Anholt wrote: We were allowing a compressed instruction to write a register that contained the last use of a uniform pull constant (either UBO load or push constant spillover), so it would get half its values smashed. Since we need to see the actual instruction to de

Re: [Mesa-dev] [PATCH] R600/SI: Use source scheduler

2013-03-07 Thread Christian König
Am 07.03.2013 17:05, schrieb Michel Dänzer: From: Michel Dänzer This is certainly not the last word on scheduling for this target, but right now this allows a few apps to run / finish with radeonsi, most notably UT2004 / Lightsmark. They fail to compile some shaders with the default scheduler b

[Mesa-dev] [PATCH] R600/SI: Use source scheduler

2013-03-07 Thread Michel Dänzer
From: Michel Dänzer This is certainly not the last word on scheduling for this target, but right now this allows a few apps to run / finish with radeonsi, most notably UT2004 / Lightsmark. They fail to compile some shaders with the default scheduler because it ends up trying to spill registers, w

Re: [Mesa-dev] glxgears is faster but 3D render is so slow

2013-03-07 Thread Brian Paul
What does 'glxinfo' say with this configuration? I'm guessing you're using the softpipe driver which is meant for correctness, not speed. For speed, you want the llvmpipe driver. Install LLVM on your system first then reconfigure/rebuild Mesa. -Brian On 03/07/2013 04:58 AM, jupiter wrote:

Re: [Mesa-dev] glxgears is faster but 3D render is so slow

2013-03-07 Thread jupiter
Hi, It seems using xlib-glx stopped 3D rotating. If I built mesa 9.1 using DRI in my local machine, it can rotate 3D picture. Is there anyway workaround to use xlib-glx for 3D applications? Thank you. Kind regards. J > Hi, > > I built mesa 9.1 with following configuration: > > --enable-xlib-gl

Re: [Mesa-dev] [PATCH] Fix glGetInteger*(GL_SAMPLER_BINDING).

2013-03-07 Thread Alan Hourihane
On 03/07/13 00:12, Brian Paul wrote: On 03/06/2013 11:46 AM, Alan Hourihane wrote: On 03/06/13 18:36, Brian Paul wrote: On 03/06/2013 11:23 AM, Alan Hourihane wrote: If the sampler object has been deleted on another context, an alternative context may reference the old sampler. So ensure the s

Re: [Mesa-dev] [PATCH] llvmpipe: remove the power of two sizeof(struct cmd_block) assertion

2013-03-07 Thread Jose Fonseca
- Original Message - > It fails on 32-bit systems (I only tested on 64-bit). Power of two > size isn't required, so just remove the assertion. > --- > src/gallium/drivers/llvmpipe/lp_scene.c |7 --- > 1 files changed, 0 insertions(+), 7 deletions(-) > > diff --git a/src/gallium

Re: [Mesa-dev] [PATCH] intel: Remove some unused debug flags.

2013-03-07 Thread Kenneth Graunke
On 03/06/2013 06:53 PM, Eric Anholt wrote: I was looking at the list to see what might be interesting to document for application developers, and it turns out some are completely dead. --- src/mesa/drivers/dri/intel/intel_context.c |4 src/mesa/drivers/dri/intel/intel_context.h |4