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
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'
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
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.
>>
https://bugs.freedesktop.org/show_bug.cgi?id=57044
Darxus changed:
What|Removed |Added
Status|RESOLVED|VERIFIED
--- Comment #2 from Darxus ---
Verifi
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
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(+),
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(
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
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
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 -
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
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
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(
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
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,
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
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
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
https://bugs.freedesktop.org/show_bug.cgi?id=57044
Eric Anholt changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://bugs.freedesktop.org/show_bug.cgi?id=57044
Darxus changed:
What|Removed |Added
CC||dar...@chaosreigns.com
--
You are receiving th
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
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
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
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
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
-
> 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
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
---
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
---
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
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
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(-)
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
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
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_
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
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
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
---
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
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/
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|
---
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
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
---
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
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-
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
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
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 ++--
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
>
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
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
---
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
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.
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
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(+),
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
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
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 ++
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
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
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
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
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
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
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:
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
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:
> >>
---
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
68 matches
Mail list logo