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_
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
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
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 |
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
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 |
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
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 +++
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
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 +++
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
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
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
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
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
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 +++
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
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 +++
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
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 +
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
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
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
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,
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.
https://bugs.freedesktop.org/show_bug.cgi?id=56787
Matt Turner changed:
What|Removed |Added
CC||fabio@libero.it
--- Comment #2 from Ma
https://bugs.freedesktop.org/show_bug.cgi?id=56685
Matt Turner changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://bugs.freedesktop.org/show_bug.cgi?id=56787
Matt Turner changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
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.
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
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
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
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
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
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
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
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
---
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
>>
>> 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?
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...
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
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
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
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
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
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
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
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
+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
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
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
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
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
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
https://bugs.freedesktop.org/show_bug.cgi?id=55080
Fabio Pedretti changed:
What|Removed |Added
CC||jrch2...@gmail.com
--- Comment #1 from
https://bugs.freedesktop.org/show_bug.cgi?id=55599
Fabio Pedretti changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
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 |
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|
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/
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
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
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)
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
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
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
https://bugs.freedesktop.org/show_bug.cgi?id=56906
Dave Airlie changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
---
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
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 @@
---
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
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
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
71 matches
Mail list logo