Re: [Mesa-dev] [RFC] i965: Fix border color on Sandybridge and Ivybridge.

2012-01-21 Thread Kenneth Graunke
On 01/20/2012 12:19 PM, Eric Anholt wrote: On Fri, 20 Jan 2012 04:16:00 -0800, Kenneth Graunke wrote: While reading through the simulator, I found some interesting code that looks like it checks the sampler default color pointer against the bound set in STATE_BASE_ADDRESS. On failure, it appe

[Mesa-dev] [Bug 45057] MKDIR_P not defined and compiling fails

2012-01-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45057 Matt Turner changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [PATCH] Don't set defaults for gallium and dri drivers

2012-01-21 Thread Matt Turner
If you're building mesa, you know what drivers you want. --- I mentioned this on IRC and a couple of people agreed, we'd rather not have to specify an empty list of drivers to not build either gallium or dri drivers. configure.ac | 77 +++---

[Mesa-dev] [Bug 45057] MKDIR_P not defined and compiling fails

2012-01-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45057 --- Comment #2 from gsr.bugs 2012-01-21 19:17:52 PST --- That works too. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.

[Mesa-dev] [Bug 45057] MKDIR_P not defined and compiling fails

2012-01-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45057 Matt Turner changed: What|Removed |Added CC||matts...@gmail.com --- Comment #1 from Mat

[Mesa-dev] [Bug 45057] New: MKDIR_P not defined and compiling fails

2012-01-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45057 Bug #: 45057 Summary: MKDIR_P not defined and compiling fails Classification: Unclassified Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW

Re: [Mesa-dev] [PATCH 2/2] glcpp: Fix so that trailing punctuation does not prevent macro expansion

2012-01-21 Thread Carl Worth
On Sat, 21 Jan 2012 10:53:20 -0800, Ian Romanick wrote: > The fix seems correct, but reading that regex made my head hurt. Thanks. And, yes, it was pretty bad before, and the copying made it much worse. > Is there a way to refactor the character classes to be more readable? > OTHER is basically

[Mesa-dev] [PATCH] r600g: take into account kcache banks for bank swizzle check

2012-01-21 Thread Vadim Girlin
Due to the changes for multiple kcache banks support, now we are assigning final SRCx_SEL values for kcache access at the later stage, when building the bytecode. So we need to take into account kcache banks to distinguish the constants with the same address but different bank index. Signed-off-by

[Mesa-dev] [PATCH 3/3] r600g: set round_mode to truncate and get rid of tgsi_f2i on evergreen

2012-01-21 Thread Vadim Girlin
Signed-off-by: Vadim Girlin --- src/gallium/drivers/r600/evergreen_state.c |6 ++- src/gallium/drivers/r600/evergreend.h | 46 ++- src/gallium/drivers/r600/r600_shader.c | 54 +-- 3 files changed, 50 insertions(+), 56 deletions(-) dif

[Mesa-dev] [PATCH 2/3] r600g: replace trans/vector-only instruction lists with ranges

2012-01-21 Thread Vadim Girlin
Signed-off-by: Vadim Girlin --- src/gallium/drivers/r600/r600_asm.c | 84 +-- 1 files changed, 11 insertions(+), 73 deletions(-) diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c index 6fd3a91..00ba8e0 100644 --- a/src/galli

[Mesa-dev] [PATCH 1/3] r600g: fix some interpolation tests for evergreen

2012-01-21 Thread Vadim Girlin
Same fix as previously done by Dave Airlie for r600/r700 Signed-off-by: Vadim Girlin --- src/gallium/drivers/r600/evergreen_state.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_sta

Re: [Mesa-dev] [PATCH 2/2] glcpp: Fix so that trailing punctuation does not prevent macro expansion

2012-01-21 Thread Ian Romanick
On Sat, Jan 21, 2012 at 09:34:26AM -0800, Carl Worth wrote: > The trick here is that flex always chooses the rule that matches the most > text. So with a input text of "two:" which we want to be lexed as an > IDENTIFIER token "two" followed by an OTHER token ":" the previous OTHER > rule would matc

Re: [Mesa-dev] [PATCH 1/2] glcpp: Add new test showing bug where a trailing ':' prevents macro expansion

2012-01-21 Thread Ian Romanick
On Sat, Jan 21, 2012 at 09:34:25AM -0800, Carl Worth wrote: > This demonstrates a bug that was recently triggered in piglit. > > Here is the original bug report (containing a test case almost identical > to this one): > > https://bugs.freedesktop.org/show_bug.cgi?id=44764 We should also wi

Re: [Mesa-dev] [PATCH 1/2] mesa: Track the API used to create a VAO

2012-01-21 Thread Ian Romanick
On Sat, Jan 21, 2012 at 08:14:18AM -0700, Brian Paul wrote: > On 01/20/2012 07:59 PM, Ian Romanick wrote: > >From: Ian Romanick > > > >There are more differences between Apple and ARB than just the Gen > >requirement. > > > >NOTE: This is a candidate for release branches. > > > >Signed-off-by: Ian

Re: [Mesa-dev] renderbuffer-cleanups-v2 branch

2012-01-21 Thread Matt Turner
On Sat, Jan 21, 2012 at 9:56 AM, Brian Paul wrote: > I'm going to hold off on merging until Matt fixes the build problem I > mentioned in my other message.   It'll make bisecting easier for me in case > a regression is found. It looks to me like --enable-xlib-glx was (always?) broken with shared-

[Mesa-dev] Fix for punctuation preventing macro expansion

2012-01-21 Thread Carl Worth
Here's a real-quick patch series to fix the bug mentioned here: GLSL preprocessor doesn't replace defines ending with ":" https://bugs.freedesktop.org/show_bug.cgi?id=44764 I believe the patch is correct, but I haven't run any testing more than the set of ~100 glcpp tests. [My pig

[Mesa-dev] [PATCH 1/2] glcpp: Add new test showing bug where a trailing ':' prevents macro expansion

2012-01-21 Thread Carl Worth
This demonstrates a bug that was recently triggered in piglit. Here is the original bug report (containing a test case almost identical to this one): https://bugs.freedesktop.org/show_bug.cgi?id=44764 --- src/glsl/glcpp/tests/100-macro-with-colon.c|7 +++ .../glcpp/tests/

[Mesa-dev] [PATCH 2/2] glcpp: Fix so that trailing punctuation does not prevent macro expansion

2012-01-21 Thread Carl Worth
The trick here is that flex always chooses the rule that matches the most text. So with a input text of "two:" which we want to be lexed as an IDENTIFIER token "two" followed by an OTHER token ":" the previous OTHER rule would match longer as a single token of "two:" which we don't want. We preven

[Mesa-dev] [PATCH] glsl: fix structure splitting for ir_texture

2012-01-21 Thread Morgan Armand
This patch fix an assertion in in-parameter-struct and normal-parameter-struct. However, both tests still fail because _mesa_get_sampler_uniform_value handles global uniform samplers only. Looking at the specification, it's not really clear that sampler*D are valid as a structure member. >From

Re: [Mesa-dev] [PATCH 1/2] mesa: Track the API used to create a VAO

2012-01-21 Thread Brian Paul
On 01/20/2012 07:59 PM, Ian Romanick wrote: From: Ian Romanick There are more differences between Apple and ARB than just the Gen requirement. NOTE: This is a candidate for release branches. Signed-off-by: Ian Romanick --- src/mesa/main/arrayobj.c |1 + src/mesa/main/mtypes.h |5 +

Re: [Mesa-dev] renderbuffer-cleanups-v2 branch

2012-01-21 Thread Brian Paul
On 01/20/2012 12:45 PM, Brian Paul wrote: On 01/20/2012 11:56 AM, Ian Romanick wrote: On 01/17/2012 02:58 PM, Brian Paul wrote: On 01/16/2012 08:30 PM, Brian Paul wrote: On Mon, Jan 16, 2012 at 4:31 PM, Ian Romanick wrote: On 01/16/2012 01:30 PM, Brian Paul wrote: The renderbuffer-cleanups