Re: [Mesa-dev] SCons build broken

2012-11-12 Thread Eric Anholt
Brian Paul writes: > On 11/12/2012 05:43 PM, Brian Paul wrote: >> >> Broken by: >> >> commit a665cf1226b80ec52a0c1a4a38378df4389e8ebf >> Author: Eric Anholt >> Date: Tue Nov 6 23:18:38 2012 -0800 >> >> automake: Merge *_CXX_FILES variables in the glsl build. >> >> Reviewed-by: Chad Versace >> R

Re: [Mesa-dev] make install broken

2012-11-12 Thread Eric Anholt
Brian Paul writes: > I don't know if this is a recent regression. > > Anyway, I configured with: > > ./autogen.sh --with-gallium-drivers=svga --with-dri-drivers= > --enable-debug --prefix=/usr > > make install fails with: > > gmake[3]: Entering directory `/extra/projects/Mesa-head/mesa/src/glx'

[Mesa-dev] mesa : ARB_texture_gather implementation - WIP[PATCH1/1] but need advice !

2012-11-12 Thread Maxence Le Doré
Here is a patch against master branch that takes a good way to implement ARB_texture_gather over softpipe but I have the regret to announce that I can't find what i'm doing wrong at a point : At compilation time, more precisely glsl code compilation, a file "builtin_function.cpp" is generated by p

Re: [Mesa-dev] SCons build broken

2012-11-12 Thread Matt Turner
On Mon, Nov 12, 2012 at 4:55 PM, Brian Paul wrote: > On 11/12/2012 05:43 PM, Brian Paul wrote: >> >> >> Broken by: >> >> commit a665cf1226b80ec52a0c1a4a38378df4389e8ebf >> Author: Eric Anholt >> Date: Tue Nov 6 23:18:38 2012 -0800 >> >> automake: Merge *_CXX_FILES variables in the glsl build. >>

[Mesa-dev] [Bug 57044] build failure: make[4]: *** No rule to make target `../../src/mesa/program/libprogram.la', needed by `libmesagallium.la'. Stop.

2012-11-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57044 Darxus changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #2 from Darxus --- Verifi

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

2012-11-12 Thread Anuj Phogat
This patch enables support for ETC2 compressed textures on all intel hardware. At present, ETC2 texture decoding is not available on intel hardware. So, compressed ETC2 texture data is decoded in software and stored in a suitable uncompressed MESA_FORMAT at the time of glCompressedTexImage2D. Curre

[Mesa-dev] [PATCH 12/13] mesa: Add decoding functions for GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2

2012-11-12 Thread Anuj Phogat
Data in GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 format is decoded and stored in MESA_FORMAT_SARGB. Signed-off-by: Anuj Phogat --- src/mesa/main/texcompress_etc.c | 78 +++ src/mesa/main/texcompress_etc.h |8 2 files changed, 86 insertions(+),

[Mesa-dev] [PATCH 11/13] mesa: Add decoding functions for GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2

2012-11-12 Thread Anuj Phogat
Data in GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 format is decoded and stored in MESA_FORMAT_RGBA_REV. Signed-off-by: Anuj Phogat --- src/mesa/main/texcompress_etc.c | 177 ++- src/mesa/main/texcompress_etc.h |8 ++ 2 files changed, 165 insertions(

[Mesa-dev] [PATCH 10/13] mesa: Add decoding functions for GL_COMPRESSED_SIGNED_RG11_EAC

2012-11-12 Thread Anuj Phogat
Data in GL_COMPRESSED_SIGNED_RG11_EAC format is decoded and stored in MESA_FORMAT_RG1616. v2: 16 bit signed data is 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

[Mesa-dev] [PATCH 09/13] mesa: Add decoding functions for GL_COMPRESSED_SIGNED_R11_EAC

2012-11-12 Thread Anuj Phogat
Data in GL_COMPRESSED_SIGNED_R11_EAC format is decoded and stored in MESA_FORMAT_R16. v2: 16 bit signed data is 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

[Mesa-dev] [PATCH 08/13] mesa: Add decoding functions for GL_COMPRESSED_RG11_EAC

2012-11-12 Thread Anuj Phogat
Data in GL_COMPRESSED_RG11_EAC format is decoded and stored in MESA_FORMAT_RG1616. Signed-off-by: Anuj Phogat --- src/mesa/main/texcompress_etc.c | 89 +++ src/mesa/main/texcompress_etc.h |7 +++- 2 files changed, 95 insertions(+), 1 deletions(-) diff -

[Mesa-dev] [PATCH 07/13] mesa: Add decoding functions for GL_COMPRESSED_R11_EAC

2012-11-12 Thread Anuj Phogat
Data in GL_COMPRESSED_R11_EAC format is decoded and stored in MESA_FORMAT_R16. 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

[Mesa-dev] [PATCH 06/13] mesa: Add decoding functions for GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC

2012-11-12 Thread Anuj Phogat
Data in GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC format is decoded and stored in MESA_FORMAT_SARGB8. Signed-off-by: Anuj Phogat --- src/mesa/main/texcompress_etc.c | 80 +++ src/mesa/main/texcompress_etc.h |8 2 files changed, 88 insertions(+), 0 deletio

[Mesa-dev] [PATCH 05/13] mesa: Add decoding functions for GL_COMPRESSED_RGBA8_ETC2_EAC

2012-11-12 Thread Anuj Phogat
Data in GL_COMPRESSED_RGBA8_ETC2_EAC format is decoded and stored in MESA_FORMAT_RGBA_REV. Signed-off-by: Anuj Phogat --- src/mesa/main/texcompress_etc.c | 145 +- src/mesa/main/texcompress_etc.h |7 ++ 2 files changed, 148 insertions(+), 4 deletions(

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

2012-11-12 Thread Anuj Phogat
Data in GL_COMPRESSED_SRGB8_ETC2 format is decoded and stored in MESA_FORMAT_SARGB8. Signed-off-by: Anuj Phogat --- src/mesa/main/texcompress_etc.c | 84 +-- src/mesa/main/texcompress_etc.h |7 +++ 2 files changed, 87 insertions(+), 4 deletions(-) diff

[Mesa-dev] [PATCH 03/13] mesa: Add decoding functions for GL_COMPRESSED_RGB8_ETC2

2012-11-12 Thread Anuj Phogat
Data in GL_COMPRESSED_RGB8_ETC2 format is decoded and stored in MESA_FORMAT_RGBX_REV. 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,

[Mesa-dev] [PATCH 02/13] mesa: Make nonlinear_to_linear() function available outside file

2012-11-12 Thread Anuj Phogat
This patch changes nonlinear_to_linear() function to non static inline and makes it available outside format_unpack.c. Also, removes the duplicate copies in other files. Signed-off-by: Anuj Phogat --- src/mesa/main/format_unpack.c|2 +- src/mesa/main/format_unpack.h|3 +++ src/me

[Mesa-dev] [PATCH 01/13] mesa: Add new MESA_FORMATs for ETC2 compressed textures

2012-11-12 Thread Anuj Phogat
It is required by OpenGL ES 3.0 to support ETC2 textures. This patch adds new MESA_FORMATs for following etc2 texture formats: 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_COM

[Mesa-dev] [PATCH V3 00/13] intel: Add ETC2 compressed texture support

2012-11-12 Thread Anuj Phogat
This series lives on my gles3-etc2-v3 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

[Mesa-dev] [Bug 57044] build failure: make[4]: *** No rule to make target `../../src/mesa/program/libprogram.la', needed by `libmesagallium.la'. Stop.

2012-11-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57044 Eric Anholt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 57044] build failure: make[4]: *** No rule to make target `../../src/mesa/program/libprogram.la', needed by `libmesagallium.la'. Stop.

2012-11-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57044 Darxus changed: What|Removed |Added CC||dar...@chaosreigns.com -- You are receiving th

[Mesa-dev] [Bug 57044] New: build failure: make[4]: *** No rule to make target `../../src/mesa/program/libprogram.la', needed by `libmesagallium.la'. Stop.

2012-11-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57044 Priority: medium Bug ID: 57044 Assignee: mesa-dev@lists.freedesktop.org Summary: build failure: make[4]: *** No rule to make target `../../src/mesa/program/libprogram.la', needed by

Re: [Mesa-dev] [PATCH 3/3] i965/vs: Fix user clip plane setup on Gen4-5.

2012-11-12 Thread Eric Anholt
Kenneth Graunke writes: > On Gen6-7, we don't compact clip planes, and nr_userclip_plane_consts > is the last bit set, so iterating from i = 0..nr_userclip_plane_consts > covers all active clip planes and is the right thing to do. > works and is the right thing to do. > > However, that doesn't wo

Re: [Mesa-dev] [PATCH 1/3] r600g: use LINEAR_ALIGNED tiling for staging textures, reorder the code

2012-11-12 Thread Marek Olšák
We can always drop support for very old kernels if needed. I guess nobody tests them anyway. Marek On Tue, Nov 13, 2012 at 1:30 AM, Dave Airlie wrote: > - >> src/gallium/drivers/r600/r600_texture.c | 16 ++-- >> 1 file changed, 10 insertions(+), 6 deletions(-) > > I've no problems

Re: [Mesa-dev] SCons build broken

2012-11-12 Thread Brian Paul
On 11/12/2012 05:43 PM, Brian Paul wrote: Broken by: commit a665cf1226b80ec52a0c1a4a38378df4389e8ebf Author: Eric Anholt Date: Tue Nov 6 23:18:38 2012 -0800 automake: Merge *_CXX_FILES variables in the glsl build. Reviewed-by: Chad Versace Reviewed-by: Kenneth Graunke I still haven't fig

[Mesa-dev] SCons build broken

2012-11-12 Thread Brian Paul
Broken by: commit a665cf1226b80ec52a0c1a4a38378df4389e8ebf Author: Eric Anholt Date: Tue Nov 6 23:18:38 2012 -0800 automake: Merge *_CXX_FILES variables in the glsl build. Reviewed-by: Chad Versace Reviewed-by: Kenneth Graunke I still haven't figured out what's wrong... Jus

Re: [Mesa-dev] [PATCH 1/3] r600g: use LINEAR_ALIGNED tiling for staging textures, reorder the code

2012-11-12 Thread Dave Airlie
- > src/gallium/drivers/r600/r600_texture.c | 16 ++-- > 1 file changed, 10 insertions(+), 6 deletions(-) I've no problems with these patches going in, they make sense, I just have a niggling worry that on some old kernel they might start triggering bo warnings, and that we be ready

[Mesa-dev] [PATCH 3/3] r600g: untiled window-system buffers should be LINEAR_ALIGNED

2012-11-12 Thread Marek Olšák
though I guess the DDX allocates them as LINEAR_GENERAL --- src/gallium/drivers/r600/r600_texture.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index 7e48f27..42010bf 100644 --- a/src/gall

[Mesa-dev] [PATCH 2/3] r600g: use LINEAR_ALIGNED tiling for 1D textures

2012-11-12 Thread Marek Olšák
--- src/gallium/drivers/r600/r600_texture.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index b1dbf07..7e48f27 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/gallium/driv

[Mesa-dev] [PATCH 1/3] r600g: use LINEAR_ALIGNED tiling for staging textures, reorder the code

2012-11-12 Thread Marek Olšák
--- src/gallium/drivers/r600/r600_texture.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index ea017d3..b1dbf07 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/s

[Mesa-dev] [PATCH 2/2] Revert "i965/fs: Fix conversions float->bool, int->bool"

2012-11-12 Thread Eric Anholt
This reverts commit cf0bbb30f6bd9d3fa61b5207320e8f34c563a2c6. It was just papering over the bug fixed in the previous commit. --- src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs_visi

[Mesa-dev] [PATCH 1/2] i965/fs: Fix the gen6-specific if handling for 80ecb8f15b9ad7d6edc

2012-11-12 Thread Eric Anholt
Fixes oglconform shad-compiler advanced.TestLessThani. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=48629 NOTE: This is a candidate for the 9.0 branch. --- src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 35 -- 1 file changed, 11 insertions(+), 24 deletions(-)

Re: [Mesa-dev] [PATCH] radeon/llvm: support for f32, v2f32, v3f32 store/load

2012-11-12 Thread Tom Stellard
On Sun, Nov 11, 2012 at 10:22:41PM +0100, Vincent Lejeune wrote: > --- > lib/Target/AMDGPU/AMDILDevice.cpp | 4 +- > lib/Target/AMDGPU/R600ISelLowering.cpp | 69 > -- > lib/Target/AMDGPU/R600Instructions.td | 4 +- > 3 files changed, 54 insertions(+), 23 de

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

2012-11-12 Thread Anuj Phogat
On Mon, Nov 12, 2012 at 7:45 AM, Brian Paul wrote: > On 11/10/2012 12:29 AM, Anuj Phogat wrote: >> >> 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

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

2012-11-12 Thread Anuj Phogat
On Sat, Nov 10, 2012 at 12:39 PM, Eric Anholt wrote: > Anuj Phogat writes: > >> 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_

[Mesa-dev] [PATCH 6/9] i965/fs: Add instruction emit for varying-index reads of uniforms.

2012-11-12 Thread Eric Anholt
The gen7 send-from-GRF path is sufficiently different from the perspective of IR generation and optimization that I just made it a separate opcode. --- src/mesa/drivers/dri/i965/brw_defines.h |3 + src/mesa/drivers/dri/i965/brw_fs.cpp |2 + src/mesa/drivers/dri/i965/brw_fs.h

[Mesa-dev] [PATCH 9/9] i965/fs: Add support for uniform array access with a variable index.

2012-11-12 Thread Eric Anholt
Serious Sam 3 had a shader hitting this path, but it's used rarely so it didn't show a significant performance difference (n=7). It does reduce compile time massively, though -- one shader goes from 14s compile time and 11723 instructions generated to .44s and 499 instructions. Note that some sha

[Mesa-dev] [PATCH 8/9] i965/fs: Conditionalize constant-index UBO load code and add comments.

2012-11-12 Thread Eric Anholt
I wanted to separate this step for easier reviewing when I add the variable-index case next. --- Here's the excerpt with diff -b, since reviewing is irritating otherwise. Remove this if you're trying to actually apply the patch. case ir_binop_ubo_load: + /* This IR node takes a constan

[Mesa-dev] [PATCH 7/9] i965/fs: Restrict optimization that would fail for gen7's SENDs from GRFs

2012-11-12 Thread Eric Anholt
--- src/mesa/drivers/dri/i965/brw_fs.cpp | 28 src/mesa/drivers/dri/i965/brw_fs.h |3 +++ .../drivers/dri/i965/brw_fs_copy_propagation.cpp |5 ++-- 3 files changed, 28 insertions(+), 8 deletions(-) diff --git a/src/mesa/drivers/dri/i9

[Mesa-dev] [PATCH 4/9] i965: Add a header_present flag for setting up dp read messages.

2012-11-12 Thread Eric Anholt
As of gen7, we can skip the header on some messages, and this can make optimization on those messages much nicer when you've got GRFs instead of MRFs as the source. --- src/mesa/drivers/dri/i965/brw_eu.h |1 + src/mesa/drivers/dri/i965/brw_eu_emit.c |5 - src/mesa/drivers/

[Mesa-dev] [PATCH 5/9] i965/fs: Rename the existing pull constant load opcode.

2012-11-12 Thread Eric Anholt
We're going to use another send message for handling loads with a varying per-fragment array index. --- src/mesa/drivers/dri/i965/brw_defines.h |2 +- src/mesa/drivers/dri/i965/brw_fs.cpp |7 --- src/mesa/drivers/dri/i965/brw_fs.h|

[Mesa-dev] [PATCH 3/9] i965/gen7: Add some safety checks for send messages from GRFs.

2012-11-12 Thread Eric Anholt
--- src/mesa/drivers/dri/i965/brw_eu_emit.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c index eada9d9..72fb5c5 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_emit.c +++ b/src/mesa/drivers/d

[Mesa-dev] [PATCH 1/9] i965/fs: Add support for integer a + 0 -> a in opt_algebraic()

2012-11-12 Thread Eric Anholt
This starts coming up with the array indexing math I'm about to add. --- src/mesa/drivers/dri/i965/brw_fs.cpp |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 9851ad4..796a361 100644 ---

[Mesa-dev] [PATCH 2/9] i965/fs: Add support for integer a * 1 -> a in opt_algebraic().

2012-11-12 Thread Eric Anholt
This also starts showing up with the variable array index support coming up. --- src/mesa/drivers/dri/i965/brw_fs.cpp |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 796a361..f5339b8 10

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

2012-11-12 Thread Anuj Phogat
On Sat, Nov 10, 2012 at 12:47 PM, Eric Anholt wrote: > Anuj Phogat writes: > >> 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. >> +#include "macros.h" >> + >> +/** >> + * Convert an 8-

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

2012-11-12 Thread Anuj Phogat
On Sat, Nov 10, 2012 at 12:44 PM, Eric Anholt wrote: > Anuj Phogat writes: > >> 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 forma

[Mesa-dev] make install broken

2012-11-12 Thread Brian Paul
I don't know if this is a recent regression. Anyway, I configured with: ./autogen.sh --with-gallium-drivers=svga --with-dri-drivers= --enable-debug --prefix=/usr make install fails with: gmake[3]: Entering directory `/extra/projects/Mesa-head/mesa/src/glx' /bin/mkdir -p ../../lib; ln -f .li

Re: [Mesa-dev] [PATCH 1/6] mesa: add MaxNumLevels to gl_texture_image, remove MaxLog2

2012-11-12 Thread Brian Paul
On 11/11/2012 09:39 AM, Marek Olšák wrote: MaxLog2 led to bugs, because it didn't work well with 1D and 3D textures. NOTE: This is a candidate for the stable branches. --- src/mesa/drivers/dri/nouveau/nouveau_texture.c |2 +- src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c |6 ++--

Re: [Mesa-dev] how to run gallium/tests/trivial/compute.c on r600

2012-11-12 Thread Tom Stellard
On Mon, Nov 12, 2012 at 03:37:40PM +, Tom Stellard wrote: > On Sun, Nov 11, 2012 at 11:12:48AM +0800, Liu Xin wrote: > > Hi, Tom, > > > > now i want to try out the new features of gallium/clover. I notice you have > > updated your wiki page for installation. with your new instruction, i can >

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

2012-11-12 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 v4: remove unnecessary successor handling and kill handling Signed-off-by: Christian König Tested-by: Michel Dänzer Reviewed-by: Tom S

[Mesa-dev] [PATCH] clover: Fix build with clang 3.2

2012-11-12 Thread Tom Stellard
From: Tom Stellard --- src/gallium/state_trackers/clover/llvm/invocation.cpp | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp index 521f998..2b07053 100644 ---

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

2012-11-12 Thread Brian Paul
On 11/10/2012 12:29 AM, Anuj Phogat wrote: 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 pa

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

2012-11-12 Thread Brian Paul
On 11/10/2012 12:30 AM, Anuj Phogat wrote: 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.

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

2012-11-12 Thread Brian Paul
On 11/10/2012 12:29 AM, Anuj Phogat wrote: 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/ma

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

2012-11-12 Thread Brian Paul
On 11/10/2012 12:29 AM, Anuj Phogat wrote: 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(+),

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

2012-11-12 Thread Brian Paul
On 11/10/2012 12:29 AM, Anuj Phogat wrote: 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

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

2012-11-12 Thread Brian Paul
On 11/10/2012 12:29 AM, Anuj Phogat wrote: 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

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

2012-11-12 Thread Brian Paul
On 11/10/2012 12:29 AM, Anuj Phogat wrote: 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 ++

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

2012-11-12 Thread Tom Stellard
On Fri, Nov 09, 2012 at 01:56:44PM +, Tom Stellard wrote: > 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_t

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

2012-11-12 Thread Brian Paul
On 11/10/2012 12:29 AM, Anuj Phogat wrote: 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 --g

Re: [Mesa-dev] how to run gallium/tests/trivial/compute.c on r600

2012-11-12 Thread Tom Stellard
On Sun, Nov 11, 2012 at 11:12:48AM +0800, Liu Xin wrote: > Hi, Tom, > > now i want to try out the new features of gallium/clover. I notice you have > updated your wiki page for installation. with your new instruction, i can > not build clang any more :( > > xliu@xliu-desktop:~/Development/llvm-t

[Mesa-dev] [Bug 57018] New: syntax error near unexpected token `[2.4.2]'

2012-11-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57018 Priority: medium Bug ID: 57018 Assignee: mesa-dev@lists.freedesktop.org Summary: syntax error near unexpected token `[2.4.2]' Severity: normal Classification: Unclassified OS

[Mesa-dev] [Bug 57013] Enable --without-glut

2012-11-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57013 --- Comment #1 from Ross Burton --- Created attachment 69941 --> https://bugs.freedesktop.org/attachment.cgi?id=69941&action=edit Patch I hate autofoo when it doesn't involve pkgconfig, but hopefully this is right... -- You are receiving thi

[Mesa-dev] [Bug 57013] New: Enable --without-glut

2012-11-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57013 Priority: medium Bug ID: 57013 Assignee: mesa-dev@lists.freedesktop.org Summary: Enable --without-glut Severity: normal Classification: Unclassified OS: All Reporte

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

2012-11-12 Thread Marek Olšák
On Mon, Nov 12, 2012 at 12:23 PM, Christian König wrote: > On 12.11.2012 11:08, Michel Dänzer wrote: >> >> On Sam, 2012-11-10 at 16:52 +0100, Marek Olšák wrote: >>> >>> On Fri, Nov 9, 2012 at 9:44 PM, Jerome Glisse wrote: On Thu, Nov 01, 2012 at 03:13:31AM +0100, Marek Olšák wrote:

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

2012-11-12 Thread Christian König
On 12.11.2012 11:08, Michel Dänzer wrote: On Sam, 2012-11-10 at 16:52 +0100, Marek Olšák wrote: On Fri, Nov 9, 2012 at 9:44 PM, Jerome Glisse wrote: 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

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

2012-11-12 Thread Michel Dänzer
On Sam, 2012-11-10 at 16:52 +0100, Marek Olšák wrote: > On Fri, Nov 9, 2012 at 9:44 PM, Jerome Glisse wrote: > > 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: > >>

[Mesa-dev] [PATCH] radeon/llvm: support for f32, v2f32, v3f32 store/load

2012-11-12 Thread Vincent Lejeune
--- lib/Target/AMDGPU/AMDILDevice.cpp | 4 +- lib/Target/AMDGPU/R600ISelLowering.cpp | 69 -- lib/Target/AMDGPU/R600Instructions.td | 4 +- 3 files changed, 54 insertions(+), 23 deletions(-) diff --git a/lib/Target/AMDGPU/AMDILDevice.cpp b/lib/Target/AMDGP