[Mesa-dev] [PATCH 22/22] intel: Enable ETC2 support on intel hardware

2012-11-09 Thread Anuj Phogat
Formats supported are: GL_COMPRESSED_RGB8_ETC2 GL_COMPRESSED_SRGB8_ETC2 GL_COMPRESSED_RGBA8_ETC2_EAC GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC GL_COMPRESSED_R11_EAC GL_COMPRESSED_RG11_EAC GL_COMPRESSED_SIGNED_R11_EAC GL_COMPRESSED_SIGNED_RG11_EAC GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 GL_COMPRESSED_

[Mesa-dev] [PATCH 21/22] mesa: Move nonlinear_to_linear() function to format_unpack.h

2012-11-09 Thread Anuj Phogat
This patch moves nonlinear_to_linear() function from format_unpack.c to format_unpack.h and removes the duplicate copies of this function in other files. Signed-off-by: Anuj Phogat --- src/mesa/main/format_unpack.c| 29 - src/mesa/main/format_unpack.h| 29

[Mesa-dev] [PATCH 20/22] mesa: Add decoding functions for GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2

2012-11-09 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- src/mesa/main/texcompress_etc.c | 77 +++ src/mesa/main/texcompress_etc.h |8 2 files changed, 85 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/texcompress_etc.c b/src/mesa/main/texcompress_etc.c index c397b

[Mesa-dev] [PATCH 19/22] mesa: Add a new texture format GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2

2012-11-09 Thread Anuj Phogat
v2 : Add entry in texfetch_funcs[] array Signed-off-by: Anuj Phogat --- src/mesa/main/format_unpack.c |9 + src/mesa/main/formats.c | 13 + src/mesa/main/formats.h |1 + src/mesa/main/glformats.c |2 ++ src/mesa/main/texcompress.c |

[Mesa-dev] [PATCH 18/22] mesa: Add decoding functions for GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2

2012-11-09 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- src/mesa/main/texcompress_etc.c | 178 ++- src/mesa/main/texcompress_etc.h |8 ++ 2 files changed, 165 insertions(+), 21 deletions(-) diff --git a/src/mesa/main/texcompress_etc.c b/src/mesa/main/texcompress_etc.c index a2250

[Mesa-dev] [PATCH 17/22] mesa: Add a new texture format GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2

2012-11-09 Thread Anuj Phogat
v2 : Add entry in texfetch_funcs[] array Signed-off-by: Anuj Phogat --- src/mesa/main/format_unpack.c |9 + src/mesa/main/formats.c | 13 + src/mesa/main/formats.h |1 + src/mesa/main/glformats.c |2 ++ src/mesa/main/texcompress.c |

[Mesa-dev] [PATCH 16/22] mesa: Add decoding functions for GL_COMPRESSED_SIGNED_RG11_EAC

2012-11-09 Thread Anuj Phogat
v2: Fixed an issue with signed-rg11 decoding. 16 bit signed data is now converted to 16 bit unsigned data by adding 2 ^ 15 and stored in an unsigned texture format. Signed-off-by: Anuj Phogat --- src/mesa/main/texcompress_etc.c | 87 +++ src/mesa/main/texcom

[Mesa-dev] [PATCH 15/22] mesa: Add a new texture format GL_COMPRESSED_SIGNED_RG11_EAC

2012-11-09 Thread Anuj Phogat
v2 : Add entry in texfetch_funcs[] array Signed-off-by: Anuj Phogat --- src/mesa/main/format_unpack.c |7 +++ src/mesa/main/formats.c | 15 +-- src/mesa/main/formats.h |1 + src/mesa/main/glformats.c |2 ++ src/mesa/main/texcompress.c |9 +++

[Mesa-dev] [PATCH 14/22] mesa: Add decoding functions for GL_COMPRESSED_SIGNED_R11_EAC

2012-11-09 Thread Anuj Phogat
v2: Fixed an issue with signed-r11 decoding. 16 bit signed data is now converted to 16 bit unsigned data by adding 2 ^ 15 and stored in an unsigned texture format. Signed-off-by: Anuj Phogat --- src/mesa/main/texcompress_etc.c | 113 +++ src/mesa/main/texcomp

[Mesa-dev] [PATCH 13/22] mesa: Add a new texture format GL_COMPRESSED_SIGNED_R11_EAC

2012-11-09 Thread Anuj Phogat
v2 : Add entry in texfetch_funcs[] array Signed-off-by: Anuj Phogat --- src/mesa/main/format_unpack.c |7 +++ src/mesa/main/formats.c | 15 +++ src/mesa/main/formats.h |1 + src/mesa/main/glformats.c |2 ++ src/mesa/main/texcompress.c |9 +++

[Mesa-dev] [PATCH 12/22] mesa: Add decoding functions for GL_COMPRESSED_RG11_EAC

2012-11-09 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- src/mesa/main/texcompress_etc.c | 89 +++ src/mesa/main/texcompress_etc.h |6 +++ 2 files changed, 95 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/texcompress_etc.c b/src/mesa/main/texcompress_etc.c index 0c3bbd

[Mesa-dev] [PATCH 11/22] mesa: Add a new texture format GL_COMPRESSED_RG11_EAC

2012-11-09 Thread Anuj Phogat
v2 : Add entry in texfetch_funcs[] array Signed-off-by: Anuj Phogat --- src/mesa/main/format_unpack.c |7 +++ src/mesa/main/formats.c | 14 ++ src/mesa/main/formats.h |1 + src/mesa/main/glformats.c |2 ++ src/mesa/main/texcompress.c |9

[Mesa-dev] [PATCH 10/22] mesa: Add decoding functions for GL_COMPRESSED_R11_EAC

2012-11-09 Thread Anuj Phogat
v2: Use clamp macro Signed-off-by: Anuj Phogat --- src/mesa/main/texcompress_etc.c | 122 ++- src/mesa/main/texcompress_etc.h |6 ++ 2 files changed, 125 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/texcompress_etc.c b/src/mesa/main/texcompres

[Mesa-dev] [PATCH 09/22] mesa: Add a new texture format GL_COMPRESSED_R11_EAC

2012-11-09 Thread Anuj Phogat
v2 : Add entry in texfetch_funcs[] array Signed-off-by: Anuj Phogat --- src/mesa/main/format_unpack.c |7 +++ src/mesa/main/formats.c | 14 ++ src/mesa/main/formats.h |1 + src/mesa/main/glformats.c |2 ++ src/mesa/main/texcompress.c |9

[Mesa-dev] [PATCH 08/22] mesa: Add decoding functions for GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC

2012-11-09 Thread Anuj Phogat
v2: Use MESA_FORMAT_SARGB8 to store the decoded texture data Signed-off-by: Anuj Phogat --- src/mesa/main/texcompress_etc.c | 96 +++--- src/mesa/main/texcompress_etc.h |9 +++- 2 files changed, 96 insertions(+), 9 deletions(-) diff --git a/src/mesa/main/tex

[Mesa-dev] [PATCH 07/22] mesa: Add a new texture format GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC

2012-11-09 Thread Anuj Phogat
Signed-off-by: Anuj Phogat v2 : Add entry in texfetch_funcs[] array --- src/mesa/main/format_unpack.c |8 +++- src/mesa/main/formats.c | 13 + src/mesa/main/formats.h |1 + src/mesa/main/glformats.c |2 ++ src/mesa/main/texcompress.c |9 +++

[Mesa-dev] [PATCH 06/22] mesa: Add decoding functions for GL_COMPRESSED_RGBA8_ETC2_EAC

2012-11-09 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- src/mesa/main/texcompress_etc.c | 146 +- src/mesa/main/texcompress_etc.h |7 ++ 2 files changed, 149 insertions(+), 4 deletions(-) diff --git a/src/mesa/main/texcompress_etc.c b/src/mesa/main/texcompress_etc.c index eacfb0d

[Mesa-dev] [PATCH 05/22] mesa: Add a new texture format GL_COMPRESSED_RGBA8_ETC2_EAC

2012-11-09 Thread Anuj Phogat
v2 : Add entry in texfetch_funcs[] array Signed-off-by: Anuj Phogat --- src/mesa/main/format_unpack.c |8 src/mesa/main/formats.c | 14 ++ src/mesa/main/formats.h |1 + src/mesa/main/glformats.c |2 ++ src/mesa/main/texcompress.c |9 +++

[Mesa-dev] [PATCH 04/22] mesa: Add decoding functions for GL_COMPRESSED_SRGB8_ETC2

2012-11-09 Thread Anuj Phogat
v2: Use MESA_FORMAT_SARGB8 to store the decoded texture data Signed-off-by: Anuj Phogat --- src/mesa/main/texcompress_etc.c | 109 +-- src/mesa/main/texcompress_etc.h |7 +++ 2 files changed, 112 insertions(+), 4 deletions(-) diff --git a/src/mesa/main/te

[Mesa-dev] [PATCH 03/22] mesa: Add a new texture format GL_COMPRESSED_SRGB8_ETC2

2012-11-09 Thread Anuj Phogat
v2 : Add entry in texfetch_funcs[] array Signed-off-by: Anuj Phogat --- src/mesa/main/format_unpack.c |6 ++ src/mesa/main/formats.c | 13 + src/mesa/main/formats.h |1 + src/mesa/main/glformats.c |2 ++ src/mesa/main/texcompress.c |9 +

[Mesa-dev] [PATCH 02/22] mesa: Add decoding functions for GL_COMPRESSED_RGB8_ETC2

2012-11-09 Thread Anuj Phogat
v2: Use CLAMP macro and stdbool.h Signed-off-by: Anuj Phogat --- src/mesa/main/texcompress_etc.c | 460 ++- src/mesa/main/texcompress_etc.h | 16 ++- 2 files changed, 466 insertions(+), 10 deletions(-) diff --git a/src/mesa/main/texcompress_etc.c b/src/mesa

[Mesa-dev] [PATCH 01/22] mesa: Add a new texture format GL_COMPRESSED_RGB8_ETC2

2012-11-09 Thread Anuj Phogat
v2: Add entry in texfetch_funcs[] array Signed-off-by: Anuj Phogat --- src/mesa/main/format_unpack.c |7 +++ src/mesa/main/formats.c | 13 + src/mesa/main/formats.h |1 + src/mesa/main/glformats.c |3 +++ src/mesa/main/texcompress.c | 19

[Mesa-dev] [PATCH v2 00/22] intel: Add ETC2 compressed texture support

2012-11-09 Thread Anuj Phogat
This series lives on my gles3-etc2-v2 branch (https://github.com/aphogat/mesa). It enables ETC2 texture formats for all Intel hardware. ETC2 texture data is decoded into a suitable uncompressed mesa format at the time of glCompressedTexImage2D. These patches can be tested using piglit test case i

Re: [Mesa-dev] [PATCH 08/27] mesa: Add decoding functions for GL_COMPRESSED_SRGB8_ETC2

2012-11-09 Thread Anuj Phogat
On Tue, Nov 6, 2012 at 3:23 PM, Ian Romanick wrote: > > On 10/19/2012 04:28 PM, Anuj Phogat wrote: >> >> Signed-off-by: Anuj Phogat >> --- >> src/mesa/main/texcompress_etc.c | 96 >> +-- >> src/mesa/main/texcompress_etc.h |7 +++ >> 2 files changed,

Re: [Mesa-dev] [PATCH] st/mesa/dri: add blend func extended disable as per i965

2012-11-09 Thread Eric Anholt
Dave Airlie writes: > From: Dave Airlie > > Intel driver has this for Unigine heaven, so it looks fine to add it for > gallium drivers as well. Note that it has caused issues with at least some Unigine apps, because it starts giving us a broken set of shaders, apparently. Worst software ever.

[Mesa-dev] [Bug 56787] Build failure – not checking correct location for glsl_parser.{cc, h} (source ≠ build)

2012-11-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56787 Matt Turner changed: What|Removed |Added CC||fabio@libero.it --- Comment #2 from Ma

[Mesa-dev] [Bug 56685] [recent build error] glsl_parser.h: No such file or directory

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

[Mesa-dev] [Bug 56787] Build failure – not checking correct location for glsl_parser.{cc, h} (source ≠ build)

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

Re: [Mesa-dev] [PATCH] st/mesa/dri: add blend func extended disable as per i965

2012-11-09 Thread Dave Airlie
On Sat, Nov 10, 2012 at 9:35 AM, Dave Airlie wrote: > From: Dave Airlie > > Intel driver has this for Unigine heaven, so it looks fine to add it for > gallium drivers as well. > and you can assume when I commit it, I will bump the number of dri config options. Dave.

[Mesa-dev] [PATCH] st/mesa/dri: add blend func extended disable as per i965

2012-11-09 Thread Dave Airlie
From: Dave Airlie Intel driver has this for Unigine heaven, so it looks fine to add it for gallium drivers as well. Signed-off-by: Dave Airlie --- src/gallium/include/state_tracker/st_api.h | 1 + src/gallium/state_trackers/dri/common/dri_context.c | 2 ++ src/gallium/state_trackers/d

Re: [Mesa-dev] [PATCH] AMDGPU: s/flow control/control flow/g in SI code.

2012-11-09 Thread Michel Dänzer
On Fre, 2012-11-09 at 20:07 +, Tom Stellard wrote: > On Fri, Nov 09, 2012 at 04:13:51PM +0100, Michel Dänzer wrote: > > From: Michel Dänzer > > I've always used "Flow Control", but wikipedia and one person in > #llvm agree that "Control Flow" is correct. Thanks for pointing out > this mista

[Mesa-dev] [PATCH 1/2] i965: Validate requested GLES context version in brwCreateContext

2012-11-09 Thread Chad Versace
For GLES1 and GLES2, brwCreateContext neglected to validate the requested context version received from the DRI layer. If DRI requested an OpenGL ES2 context with version 3.9, we provided it one. Before this fix, the switch statement that validated the requested GL context flavor was an ugly #ifde

[Mesa-dev] [PATCH 2/2] egl/dri2: Set error code when dri2CreateContextAttribs fails

2012-11-09 Thread Chad Versace
When dri2CreateContextContextAttribs failed, eglCreateContext returned NULL yet set the error code to EGL_SUCCESS! The problem was that eglCreateContext ignored the error code returned by driCreateContextAttribs. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=56706 Signed-off-by: Chad Vers

Re: [Mesa-dev] RFC: Standardize names of OpenGL functions in Mesa.

2012-11-09 Thread Paul Berry
On 9 November 2012 13:48, Brian Paul wrote: > On 11/07/2012 01:05 PM, Paul Berry wrote: > >> In situations where an OpenGL function has several equivalent names, >> Mesa currently does not follow a consistent standard for which name is >> used. For example, the function glDisablei() (introduced

Re: [Mesa-dev] RFC: Standardize names of OpenGL functions in Mesa.

2012-11-09 Thread Brian Paul
On 11/07/2012 01:05 PM, Paul Berry wrote: In situations where an OpenGL function has several equivalent names, Mesa currently does not follow a consistent standard for which name is used. For example, the function glDisablei() (introduced in GL 3.0) is equivalent to glDisableIndexedEXT() (introd

Re: [Mesa-dev] [PATCH] mesa: expand the fragprog_inputs_read bitfield in ffvertex_prog.c

2012-11-09 Thread Brian Paul
On 11/09/2012 10:45 AM, Eric Anholt wrote: Brian Paul writes: On 11/07/2012 10:18 AM, Eric Anholt wrote: Brian Paul writes: The glean glsl1 test was failing an assertion because FRAG_ATTRIB_FACE (and FRAG_ATTRIB_PNTC) doesn't fit in a 12-bit field. In the failing case we're using a fragm

[Mesa-dev] [PATCH 1/2] i965/fs: Add helper functions for generating ALU ops, like in the VS.

2012-11-09 Thread Eric Anholt
This gives us checking of our arguments (no more passing 1 operand to BRW_OPCODE_MUL!), at the cost of a couple of extra parens. --- src/mesa/drivers/dri/i965/brw_fs.cpp | 41 +++- src/mesa/drivers/dri/i965/brw_fs.h | 20 ++ src/mesa/drivers/dri/i965/brw_fs_fp.cpp | 95

[Mesa-dev] [PATCH 2/2] i965/fs: Add helper functions for IF and CMP and use them.

2012-11-09 Thread Eric Anholt
--- src/mesa/drivers/dri/i965/brw_fs.cpp | 62 -- src/mesa/drivers/dri/i965/brw_fs.h |3 +- src/mesa/drivers/dri/i965/brw_fs_fp.cpp | 23 +++ src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 87 -- 4 files changed, 95 inser

Re: [Mesa-dev] GL_ARB_texture_query_lod

2012-11-09 Thread Dave Airlie
>> >> The main problem is the spec uses the shader function textureQueryLOD, >> and GLSL 4.00 uses textureQueryLod >> and I doubt apps if they use this will bother with the pre-GLSL 4.00 >> version. > > > Uh... that has to be a typo in one of the specs. What do other > implementations actually do?

Re: [Mesa-dev] RFC: Standardize names of OpenGL functions in Mesa.

2012-11-09 Thread Ian Romanick
On 11/09/2012 12:36 PM, Jordan Justen wrote: Paul, Ian, In Paul's series, he is changing: _mesa_BlendFunci => _mesa_BlendFunciARB Whereas, in my 3/3 patch from yesterday, I added BlendFunci to the XML, and then converted BlendFunciARB references to BlendFunci. But, BlendFunci is for GL 4.0...

Re: [Mesa-dev] GL_ARB_texture_query_lod

2012-11-09 Thread Ian Romanick
On 11/08/2012 10:06 PM, Dave Airlie wrote: In case anyone is interested I've implemented the GLSL and some gallium bits in a branch in my repo. I'm not really sure there is much point in pushing forward with this until we are bit closer to GLSL 4.00. The main problem is the spec uses the shader

Re: [Mesa-dev] [PATCH] r600g: fix abysmal performance in Reaction Quake

2012-11-09 Thread Jerome Glisse
On Thu, Nov 01, 2012 at 03:13:31AM +0100, Marek Olšák wrote: > On Thu, Nov 1, 2012 at 2:13 AM, Alex Deucher wrote: > > On Wed, Oct 31, 2012 at 8:05 PM, Marek Olšák wrote: > >> The problem was we set VRAM|GTT for relocations of STATIC resources. > >> Setting just VRAM increases the framerate 4 tim

[Mesa-dev] [PATCH 4/4] R600: Fold immediates into ALU instructions when possible

2012-11-09 Thread Tom Stellard
From: Tom Stellard --- lib/Target/AMDGPU/R600ISelLowering.cpp | 65 ++--- lib/Target/AMDGPU/R600InstrInfo.cpp | 40 +++ lib/Target/AMDGPU/R600InstrInfo.h | 12 + test/CodeGen/R600/fcmp-cnd.ll | 4 +- test/C

[Mesa-dev] [PATCH 2/4] AMDGPU: Print integer and floating point values for literals

2012-11-09 Thread Tom Stellard
From: Tom Stellard --- lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.cpp | 11 +++ lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.h | 1 + lib/Target/AMDGPU/R600Instructions.td | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/lib/Target/AMDGPU/I

[Mesa-dev] [PATCH 3/4] R600: Fix operand index table for OP3 instructions

2012-11-09 Thread Tom Stellard
From: Tom Stellard --- lib/Target/AMDGPU/R600InstrInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/AMDGPU/R600InstrInfo.cpp b/lib/Target/AMDGPU/R600InstrInfo.cpp index 7c5b19e..e437313 100644 --- a/lib/Target/AMDGPU/R600InstrInfo.cpp +++ b/lib/Target/AMDGP

[Mesa-dev] [PATCH 1/4] R600: Add helper function for setting instruction modifiers

2012-11-09 Thread Tom Stellard
From: Tom Stellard --- lib/Target/AMDGPU/R600ExpandSpecialInstrs.cpp | 11 +++ lib/Target/AMDGPU/R600InstrInfo.cpp | 11 ++- lib/Target/AMDGPU/R600InstrInfo.h | 3 +++ 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/lib/Target/AMDGPU/R600Exp

Re: [Mesa-dev] RFC: Standardize names of OpenGL functions in Mesa.

2012-11-09 Thread Jordan Justen
Paul, Ian, In Paul's series, he is changing: _mesa_BlendFunci => _mesa_BlendFunciARB Whereas, in my 3/3 patch from yesterday, I added BlendFunci to the XML, and then converted BlendFunciARB references to BlendFunci. But, BlendFunci is for GL 4.0... So, would we want to change BlendFunci to Blend

Re: [Mesa-dev] [PATCH] AMDGPU: s/flow control/control flow/g in SI code.

2012-11-09 Thread Tom Stellard
On Fri, Nov 09, 2012 at 04:13:51PM +0100, Michel Dänzer wrote: > From: Michel Dänzer > > I've always used "Flow Control", but wikipedia and one person in #llvm agree that "Control Flow" is correct. Thanks for pointing out this mistake. Now, I can sound smart when I talk to other compiler write

Re: [Mesa-dev] RFC: Standardize names of OpenGL functions in Mesa.

2012-11-09 Thread Chad Versace
+1 I hope no one voices complaints. I wish to see this change occur. On 11/07/2012 12:05 PM, Paul Berry wrote: > In situations where an OpenGL function has several equivalent names, Mesa > currently does not follow a consistent standard for which name is used. > For example, the function glDisabl

Re: [Mesa-dev] [PATCH 2/7] glcpp: don't push #line directives into next line

2012-11-09 Thread Carl Worth
Kenneth Graunke writes: > Wow, this patch so looks like superfluous code motion. Right. We totally missed that when looking at the patch in bugzilla. > Would you mind adding something t othat effect to the commit message? Good idea. > Either way, this series is: > Reviewed-by: Kenneth Graunke

Re: [Mesa-dev] [PATCH 2/3] glx: add interface for flushing a drawable and throttling at the same time

2012-11-09 Thread Marek Olšák
On Fri, Nov 9, 2012 at 6:36 PM, Eric Anholt wrote: > Marek Olšák writes: > >> The motivation is to prevent a double flush in Gallium. >> >> Gallium flushes in __DRI2flushExtensionRec::flush and dri2Throttle. >> This will help consolidate the flushing. > > It looks like you've changed a bunch of d

Re: [Mesa-dev] [PATCH] mesa: expand the fragprog_inputs_read bitfield in ffvertex_prog.c

2012-11-09 Thread Eric Anholt
Brian Paul writes: > On 11/07/2012 10:18 AM, Eric Anholt wrote: >> Brian Paul writes: >> >>> The glean glsl1 test was failing an assertion because FRAG_ATTRIB_FACE >>> (and FRAG_ATTRIB_PNTC) doesn't fit in a 12-bit field. >>> >>> In the failing case we're using a fragment shader with fixed-funct

Re: [Mesa-dev] [PATCH 2/3] glx: add interface for flushing a drawable and throttling at the same time

2012-11-09 Thread Eric Anholt
Marek Olšák writes: > The motivation is to prevent a double flush in Gallium. > > Gallium flushes in __DRI2flushExtensionRec::flush and dri2Throttle. > This will help consolidate the flushing. It looks like you've changed a bunch of drivers to expose __DRI2_FLUSH_VERSION (4) instead of 3, withou

Re: [Mesa-dev] [PATCH 1/3] glapi: add GL4x.xml

2012-11-09 Thread Jordan Justen
On Thu, Nov 8, 2012 at 4:30 PM, Ian Romanick wrote: > As far as I can tell, there's no purpose in this until we add support for GL > 4.x... and that's quite some time away. That is true. There is no need for this at this time. I just thought I'd get some of these tedious changes made, and conver

[Mesa-dev] [Bug 55080] [build error with -flto] relocation R_386_GOTOFF against undefined symbol `x86_entry_end.2334.4268' can not be used when making a shared object

2012-11-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55080 Fabio Pedretti changed: What|Removed |Added CC||jrch2...@gmail.com --- Comment #1 from

[Mesa-dev] [Bug 55599] LTO build breakage

2012-11-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55599 Fabio Pedretti changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [Mesa-dev] [PATCH] AMDGPU: s/flow control/control flow/g in SI code.

2012-11-09 Thread Christian König
On 09.11.2012 16:13, Michel Dänzer wrote: From: Michel Dänzer Signed-off-by: Michel Dänzer Reviewed-by: Christian König --- This patch applies on top of Christian's SGPR liveness patch. lib/Target/AMDGPU/AMDGPU.h|2 +- lib/Target/AMDGPU/AMDGPUTargetMachine.cpp |

[Mesa-dev] [PATCH] SI: fix SGPR liveness v3

2012-11-09 Thread Christian König
SGPRs are not affected by control flow. v2: don't use liveness analyse any more, handle partial dominated end notes. v3: fix old pass name in CMakeLists.txt Signed-off-by: Christian König Tested-by: Michel Dänzer Reviewed-by: Tom Stellard --- lib/Target/AMDGPU/AMDGPU.h|

[Mesa-dev] [PATCH] AMDGPU: s/flow control/control flow/g in SI code.

2012-11-09 Thread Michel Dänzer
From: Michel Dänzer Signed-off-by: Michel Dänzer --- This patch applies on top of Christian's SGPR liveness patch. lib/Target/AMDGPU/AMDGPU.h|2 +- lib/Target/AMDGPU/AMDGPUTargetMachine.cpp |2 +- lib/Target/AMDGPU/CMakeLists.txt |2 +- lib/Target/AMDGPU/

Re: [Mesa-dev] [PATCH] SI: fix SGPR liveness v2

2012-11-09 Thread Tom Stellard
On Fri, Nov 09, 2012 at 03:25:33PM +0100, Christian König wrote: > SGPRs are not affected by flow control. > > v2: don't use liveness analyse any more, handle partial > dominated end notes. > Reviewed-by: Tom Stellard > Signed-off-by: Christian König > --- > lib/Target/AMDGPU/AMDGPU.h

Re: [Mesa-dev] [PATCH] SI: fix SGPR liveness v2

2012-11-09 Thread Michel Dänzer
On Fre, 2012-11-09 at 15:25 +0100, Christian König wrote: > SGPRs are not affected by flow control. Control flow. :) > v2: don't use liveness analyse any more, handle partial > dominated end notes. > > Signed-off-by: Christian König Tested-by: Michel Dänzer -- Earthling Michel Dänzer

[Mesa-dev] [Bug 56922] New: glXUseXFont throws a BadDrawable

2012-11-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56922 Priority: medium Bug ID: 56922 Assignee: mesa-dev@lists.freedesktop.org Summary: glXUseXFont throws a BadDrawable Severity: major Classification: Unclassified OS: Linux (All)

[Mesa-dev] [PATCH] SI: fix SGPR liveness v2

2012-11-09 Thread Christian König
SGPRs are not affected by flow control. v2: don't use liveness analyse any more, handle partial dominated end notes. Signed-off-by: Christian König --- lib/Target/AMDGPU/AMDGPU.h|1 + lib/Target/AMDGPU/AMDGPUTargetMachine.cpp |3 + lib/Target/AMDGPU/CMakeLists.txt

Re: [Mesa-dev] [PATCH] gallium/auxiliary: Fix build with newer LLVM.

2012-11-09 Thread Tom Stellard
On Sun, Oct 28, 2012 at 03:58:14AM -0700, Jose Fonseca wrote: > We use LLVM in a few other directories. Shouldn't we be putting this a bit > higher up? For example in LLVM_CXXFLAGS? > > I just noticed that src/gallium/state_trackers/clover uses exceptions. So > this won't fly everywhere... > I

Re: [Mesa-dev] [PATCH] r600g: add initial cube map array support (v2)

2012-11-09 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Fri, Nov 9, 2012 at 5:12 AM, Dave Airlie wrote: > This contains the evergreen support. > > Support is possible on rv670 upwards and the code in here > should work, but it doesn't and I haven't debugged it to > figure out why. > > Beyond just adding support for

[Mesa-dev] [Bug 56906] src/gallium/auxiliary/gallivm/lp_bld_tgsi_info.c:135:analyse_tex: Assertion `0' failed.

2012-11-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56906 Dave Airlie changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [PATCH] mesa: add initial .cherry-ignore file for the 9.0 branch

2012-11-09 Thread Andreas Boll
--- Note: For the 9.0 branch only bin/.cherry-ignore | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) create mode 100644 bin/.cherry-ignore diff --git a/bin/.cherry-ignore b/bin/.cherry-ignore new file mode 100644 index 000..35f6e1d --- /dev/null +++ b/bin/.cherry-ignor

[Mesa-dev] [PATCH 3/3] mesa: use .cherry-ignore in the get-pick-list.sh script

2012-11-09 Thread Andreas Boll
NOTE: This is a candidate for the stable branches. --- bin/get-pick-list.sh |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/get-pick-list.sh b/bin/get-pick-list.sh index 7288090..a141afe 100755 --- a/bin/get-pick-list.sh +++ b/bin/get-pick-list.sh @@ -12,8 +12,8 @@

[Mesa-dev] [PATCH 2/3] mesa: update .cherry-ignore file

2012-11-09 Thread Andreas Boll
--- Note: For the 8.0 branch only bin/.cherry-ignore | 23 +++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/bin/.cherry-ignore b/bin/.cherry-ignore index cab2d46..b79f059 100644 --- a/bin/.cherry-ignore +++ b/bin/.cherry-ignore @@ -4,6 +4,9 @@ efd73f72d8f

[Mesa-dev] [PATCH 1/3] mesa: add initial .cherry-ignore file for the 8.0 branch

2012-11-09 Thread Andreas Boll
From: Ian Romanick --- Note: For the 8.0 branch only bin/.cherry-ignore | 68 1 files changed, 68 insertions(+), 0 deletions(-) create mode 100644 bin/.cherry-ignore diff --git a/bin/.cherry-ignore b/bin/.cherry-ignore new file mode 1006

Re: [Mesa-dev] Mesa 9.0.1 release

2012-11-09 Thread Andreas Boll
2012/11/8 Ian Romanick : > I'd like to release the current tip of the 9.0 branch as Mesa 9.0.1 > tomorrow. The set of patches currently on the branch since the 9.0 release > is listed below. > > I am also going to create a 9.0-staging branch that will live in my personal > git repo on fd.o. get-p