Re: [Mesa-dev] [PATCH 1/4] mesa: implement GL_ARB_draw_indirect

2013-02-02 Thread Christoph Bumiller
On 02.02.2013 08:32, Adrian M Negreanu wrote: On Fri, Feb 1, 2013 at 11:50 PM, Christoph Bumiller e0425...@student.tuwien.ac.at wrote: I have 1 piglit test to check drawing with several combinations of parameters (using transform feedback to write the commands), but will make some more tests

[Mesa-dev] [PATCH] i965: Fix Vertex URB Read Length calculation in 3DSTATE_SF on Gen6.

2013-02-02 Thread Kenneth Graunke
The old calculation was off by one in certain cases. The documentation contains a precise formula for how to calculate it, so just use that. Fixes random corruption in Steam's Big Picture Mode, random corruption in PlaneShift (since the varying reordering code landed), and Piglit test .

Re: [Mesa-dev] [PATCH] i965: Fix Vertex URB Read Length calculation in 3DSTATE_SF on Gen6.

2013-02-02 Thread Martin Steigerwald
Am Samstag, 2. Februar 2013 schrieb Kenneth Graunke: The old calculation was off by one in certain cases. The documentation contains a precise formula for how to calculate it, so just use that. Fixes random corruption in Steam's Big Picture Mode, random corruption in PlaneShift (since the

[Mesa-dev] [PATCH] gallium: add PIPE_BIND_COMMAND_BUFFER

2013-02-02 Thread Christoph Bumiller
Intend to merge this into the previous ARB_draw_indirect patches. Just in case there's any complaints ... Needed to add this so the DRAW_INDIRECT_BUFFER doesn't get placed into a non-GPU accessible domain. Besides, this seems reasonable, and D3D11 has it, too (albeit a specialized version, called

[Mesa-dev] [Bug 59737] [bisected] 0d108116bd80b757fb01a84a9f1946ef870b57b8 breaks osmesa when cross compiling

2013-02-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59737 --- Comment #11 from Alexandre Demers alexandre.f.dem...@gmail.com --- (In reply to comment #10) (In reply to comment #9) (In reply to comment #8) (In reply to comment #7) (In reply to comment #6) (In reply to comment #5)

Re: [Mesa-dev] [PATCH 4/4] glsl: Support transform feedback of varying structs.

2013-02-02 Thread Jordan Justen
On Thu, Jan 31, 2013 at 4:34 PM, Paul Berry stereotype...@gmail.com wrote: Since transform feedback needs to be able to access individual fields of varying structs, we can no longer match up the arguments to glTransformFeedbackVaryings() with variables in the vertex shader. Instead, we build

[Mesa-dev] [Bug 60197] New: Mesa Gallium VPATH build is broken

2013-02-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60197 Priority: medium Bug ID: 60197 Assignee: mesa-dev@lists.freedesktop.org Summary: Mesa Gallium VPATH build is broken Severity: normal Classification: Unclassified OS: All

[Mesa-dev] [Bug 60197] Mesa Gallium VPATH build is broken

2013-02-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60197 --- Comment #1 from Quentin Glidic sardemff7+freedesk...@sardemff7.net --- Created attachment 74098 -- https://bugs.freedesktop.org/attachment.cgi?id=74098action=edit First patch to fix gallium/auxiliary -- You are receiving this mail

[Mesa-dev] [Bug 60197] Mesa Gallium VPATH build is broken

2013-02-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60197 --- Comment #2 from Quentin Glidic sardemff7+freedesk...@sardemff7.net --- Created attachment 74099 -- https://bugs.freedesktop.org/attachment.cgi?id=74099action=edit Second patch for gallium/egl with Wayland -- You are receiving this mail

Re: [Mesa-dev] [PATCH] i965: Fix Vertex URB Read Length calculation in 3DSTATE_SF on Gen6.

2013-02-02 Thread Paul Berry
On 2 February 2013 03:44, Kenneth Graunke kenn...@whitecape.org wrote: The old calculation was off by one in certain cases. The documentation contains a precise formula for how to calculate it, so just use that. Wow, thank you for putting in the time and effort to track this down, Ken. I

Re: [Mesa-dev] [PATCH] i965: Fix Vertex URB Read Length calculation in 3DSTATE_SF on Gen6.

2013-02-02 Thread Jordan Justen
On Sat, Feb 2, 2013 at 3:44 AM, Kenneth Graunke kenn...@whitecape.org wrote: The old calculation was off by one in certain cases. The documentation contains a precise formula for how to calculate it, so just use that. Fixes random corruption in Steam's Big Picture Mode, random corruption in

Re: [Mesa-dev] [PATCH] i965: Fix Vertex URB Read Length calculation in 3DSTATE_SF on Gen6.

2013-02-02 Thread Kenneth Graunke
On 02/02/2013 04:50 AM, Martin Steigerwald wrote: Am Samstag, 2. Februar 2013 schrieb Kenneth Graunke: The old calculation was off by one in certain cases. The documentation contains a precise formula for how to calculate it, so just use that. Fixes random corruption in Steam's Big Picture

Re: [Mesa-dev] [PATCH] i965: Fix Vertex URB Read Length calculation in 3DSTATE_SF on Gen6.

2013-02-02 Thread Martin Steigerwald
Am Samstag, 2. Februar 2013 schrieb Kenneth Graunke: On 02/02/2013 04:50 AM, Martin Steigerwald wrote: Am Samstag, 2. Februar 2013 schrieb Kenneth Graunke: The old calculation was off by one in certain cases. The documentation contains a precise formula for how to calculate it, so just

Re: [Mesa-dev] [PATCH] i965: Fix Vertex URB Read Length calculation in 3DSTATE_SF on Gen6.

2013-02-02 Thread Kenneth Graunke
On 02/02/2013 10:28 AM, Paul Berry wrote: On 2 February 2013 03:44, Kenneth Graunke kenn...@whitecape.org mailto:kenn...@whitecape.org wrote: The old calculation was off by one in certain cases. The documentation contains a precise formula for how to calculate it, so just use that.

[Mesa-dev] [PATCH 2/4] i965: Compute the maximum SF source attribute.

2013-02-02 Thread Kenneth Graunke
The maximum SF source attribute is necessary to compute the Vertex URB read length properly, which will be done in the next commit. NOTE: This is a candidate for all stable branches. Signed-off-by: Kenneth Graunke kenn...@whitecape.org --- src/mesa/drivers/dri/i965/brw_state.h | 2 +-

[Mesa-dev] [PATCH 1/4] i965: Refactor Gen6+ SF attribute override code.

2013-02-02 Thread Kenneth Graunke
The next patch will benefit from easy access to the source attribute number and whether or not we're swizzling. It doesn't want the final attr_override DWord form, however. NOTE: This is a candidate for all stable branches. Signed-off-by: Kenneth Graunke kenn...@whitecape.org ---

[Mesa-dev] [PATCH 3/4] i965: Fix the SF Vertex URB Read Length calculation for Sandybridge.

2013-02-02 Thread Kenneth Graunke
(This commit message was primarily written by Paul Berry, who explained what's going on far better than I would have.) Previous to this patch, we thought that the only restrictions on 3DSTATE_SF's URB read length were (a) it needs to be large enough to read all the VUE data that the SF needs,

[Mesa-dev] [PATCH 4/4] i965: Fix the SF Vertex URB Read Length calculation for Gen7 platforms.

2013-02-02 Thread Kenneth Graunke
Ivybridge doesn't appear to have the same errata as Sandybridge; no corruption was observed by setting it to more than the minimal correct value. It's possible that we were simply lucky, since the URB entries are 1024-bit on Ivybridge vs. 512-bit Sandybridge. Or perhaps the underlying hardware