I hope you like these patches. They were made with sweat and blood at the 11th
hour.
This adds all the infrastructure needed to support s8z24 texture renderbuffers.
The patch series lives on my hiz branch.
On gen5 there are no Piglit regressions, with and without separate stencil
enabled. Undoub
Add the fields depth_rb and stencil_rb, and put hooks in place to
release the renderbuffers in intelFreeTextureImageData and
intelTexImage.
Signed-off-by: Chad Versace
---
src/mesa/drivers/dri/intel/intel_tex.c |9 +++
src/mesa/drivers/dri/intel/intel_tex_image.c | 13 +--
... which copy the stencil bits between intel_image->depth_rb and
intel_image->stencil_rb.
Signed-off-by: Chad Versace
---
src/mesa/drivers/dri/intel/intel_tex_image.c | 70 ++
1 files changed, 70 insertions(+), 0 deletions(-)
diff --git a/src/mesa/drivers/dri/intel/in
Signed-off-by: Chad Versace
---
src/mesa/drivers/dri/intel/intel_tex_image.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/mesa/drivers/dri/intel/intel_tex_image.c
b/src/mesa/drivers/dri/intel/intel_tex_image.c
index 6065238..4a29bc5 100644
--- a/src/mesa/dr
Redeclare as non-static because
intel_tex_image_s8z24_create_renderbuffers will use it.
Remove the 'wrapper' parameter, because there is no wrapper for
intel_texture_image.depth_rb and stencil_rb.
Signed-off-by: Chad Versace
---
src/mesa/drivers/dri/intel/intel_fbo.c | 30
... because they will be needed by intel_tex_image_s8z24_create_renderbuffers.
Redeclared functions are:
intel_alloc_renderbuffer_storage
intel_renderbuffer_set_draw_offsets
Signed-off-by: Chad Versace
---
src/mesa/drivers/dri/intel/intel_fbo.c |4 ++--
src/mesa/drivers/dri/intel/in
... when using separate stencil.
Define function intel_tex_image_x8z24_create_renderbuffers and call it
in intelTexImage after the miptree has been created and filled with data.
Signed-off-by: Chad Versace
---
src/mesa/drivers/dri/intel/intel_tex_image.c | 62 ++
1 fil
... and into new function intel_update_tex_wrapper_regions.
This prevents code duplication in the next commit.
Also add a note explaining that the hiz region is broken for mipmapped
depth textures.
Signed-off-by: Chad Versace
---
src/mesa/drivers/dri/intel/intel_fbo.c | 18 ++
Also, in order to coerce intel_update_tex_wrapper_regions() to
allocate the hiz region, alter intel_update_tex_wrapper_regions() to
examine the renderbuffer format instead of the texture image format.
Signed-off-by: Chad Versace
---
src/mesa/drivers/dri/intel/intel_fbo.c | 41 +
Since all infrastructure is now in place to support packed
depth/stencil renderbuffers when using separate stencil, there is no
need for special cases when separate stencil is enabled.
Signed-off-by: Chad Versace
---
src/mesa/drivers/dri/intel/intel_fbo.c | 13 +++--
1 files changed, 3
In intel_draw_buffer, there exists a workaround to prevent
_mesa_update_framebuffer from creating a swrast depth wrapper when
using separate stencil. This commit fixes the workaround, which was
incomplete for s8z24 texture renderbuffers.
Fixes fbo-blit-d24s8 on gen5 with separate stencil manually
https://bugs.freedesktop.org/show_bug.cgi?id=38599
Summary: THe value of WGL_PBUFFER_HEIGHT_ARB is returned as
width in wglQueryPbufferARB
Product: Mesa
Version: 7.10
Platform: x86 (IA32)
OS/Version: Windows (All)
S
2011/6/23 Chia-I Wu :
> On Wed, Jun 22, 2011 at 10:30 PM, Benjamin Franzke
> wrote:
>> Hi List,
>>
>> This series adds a graphics buffer management library which is
>> targeted to be used as native (drm) platform for egl on kms or openwfd,
>> and thus replaces the current mechanism of using a fd a
On Thu, Jun 23, 2011 at 7:46 PM, Benjamin Franzke
wrote:
> 2011/6/23 Chia-I Wu :
>> On Wed, Jun 22, 2011 at 10:30 PM, Benjamin Franzke
>> wrote:
>>> Hi List,
>>>
>>> This series adds a graphics buffer management library which is
>>> targeted to be used as native (drm) platform for egl on kms or o
2011/6/23 Chia-I Wu :
> On Thu, Jun 23, 2011 at 7:46 PM, Benjamin Franzke
> wrote:
>> 2011/6/23 Chia-I Wu :
>>> On Wed, Jun 22, 2011 at 10:30 PM, Benjamin Franzke
>>> wrote:
Hi List,
This series adds a graphics buffer management library which is
targeted to be used as native (
> Known working configurations (from git!) are:
> - mingw crosscompilation from linux (x86 only)
> - MSVC 2008 (requires cygwin flex & bison in the PATH), x86 or x64
Can anyone confirm that Mesa with LLVM enabled works on Visual Studio 2010.
I have updated scons and made some changes to llvm.py an
https://bugs.freedesktop.org/show_bug.cgi?id=38602
Summary: [bisected] Wrong display after "prefer native texture
formats when possible" commit
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
https://bugs.freedesktop.org/show_bug.cgi?id=38602
--- Comment #1 from Jure Repinc 2011-06-23 05:03:42 PDT ---
Created an attachment (id=48330)
--> (https://bugs.freedesktop.org/attachment.cgi?id=48330)
kde-ok,png
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
-
https://bugs.freedesktop.org/show_bug.cgi?id=38602
--- Comment #2 from Jure Repinc 2011-06-23 05:04:25 PDT ---
Created an attachment (id=48331)
--> (https://bugs.freedesktop.org/attachment.cgi?id=48331)
kde-bad.png
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
https://bugs.freedesktop.org/show_bug.cgi?id=38602
--- Comment #3 from Jure Repinc 2011-06-23 05:05:55 PDT ---
I forgot to mention: the graphics card used is ATI Mobility Radeon HD 5470
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mai
https://bugs.freedesktop.org/show_bug.cgi?id=38602
--- Comment #4 from Jure Repinc 2011-06-23 05:16:23 PDT ---
Created an attachment (id=48332)
--> (https://bugs.freedesktop.org/attachment.cgi?id=48332)
Xorg.0.log
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
-
https://bugs.freedesktop.org/show_bug.cgi?id=38602
--- Comment #5 from Jure Repinc 2011-06-23 05:18:03 PDT ---
Created an attachment (id=48333)
--> (https://bugs.freedesktop.org/attachment.cgi?id=48333)
dmesg
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- Yo
Fixes broken glTexImage2D with format=GL_RGBA since
1a339b6c71ebab6e1a64f05b2e133022d3bbcd15
The origin for this behaviour is that r600_is_format_supported
checks only against r600_state_inline.h tables not evergreens.
---
src/gallium/drivers/r600/eg_state_inlines.h |1 +
1 files changed, 1 i
https://bugs.freedesktop.org/show_bug.cgi?id=38599
Brian Paul changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
https://bugs.freedesktop.org/show_bug.cgi?id=38602
--- Comment #6 from Brian Paul 2011-06-23 06:38:21 PDT ---
Created an attachment (id=48334)
View: https://bugs.freedesktop.org/attachment.cgi?id=48334
Review: https://bugs.freedesktop.org/review?bug=38602&attachment=48334
try to undo the damag
On Wed, Jun 22, 2011 at 10:49 PM, Alex Deucher wrote:
> On Wed, Jun 22, 2011 at 10:12 PM, Roland Scheidegger
> wrote:
>> Am 21.06.2011 20:59, schrieb Sven Arvidsson:
>>> This change broke a whole lot of stuff on r600g, for example Unigine
>>> Heaven:
>>>
>>> shader uses too many varying co
https://bugs.freedesktop.org/show_bug.cgi?id=38602
--- Comment #7 from Brian Paul 2011-06-23 07:18:13 PDT ---
BTW, I've added a new piglit test that catches the regression from the commit
in question: texture-packed-formats
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=em
Am 23.06.2011 16:09, schrieb Jerome Glisse:
> On Wed, Jun 22, 2011 at 10:49 PM, Alex Deucher wrote:
>> On Wed, Jun 22, 2011 at 10:12 PM, Roland Scheidegger
>> wrote:
>>> Am 21.06.2011 20:59, schrieb Sven Arvidsson:
This change broke a whole lot of stuff on r600g, for example Unigine
He
On Thu, Jun 23, 2011 at 10:38 AM, Roland Scheidegger wrote:
> Am 23.06.2011 16:09, schrieb Jerome Glisse:
>> On Wed, Jun 22, 2011 at 10:49 PM, Alex Deucher wrote:
>>> On Wed, Jun 22, 2011 at 10:12 PM, Roland Scheidegger
>>> wrote:
Am 21.06.2011 20:59, schrieb Sven Arvidsson:
> This cha
On Thu, Jun 23, 2011 at 10:38 AM, Roland Scheidegger wrote:
> Am 23.06.2011 16:09, schrieb Jerome Glisse:
>> On Wed, Jun 22, 2011 at 10:49 PM, Alex Deucher wrote:
>>> On Wed, Jun 22, 2011 at 10:12 PM, Roland Scheidegger
>>> wrote:
Am 21.06.2011 20:59, schrieb Sven Arvidsson:
> This cha
https://bugs.freedesktop.org/show_bug.cgi?id=38602
--- Comment #8 from Brian Paterni 2011-06-23 08:13:44 PDT
---
(In reply to comment #6)
> Created an attachment (id=48334)
View: https://bugs.freedesktop.org/attachment.cgi?id=48334
Review: https://bugs.freedesktop.org/review?bug=38602&attachme
On 23.06.2011 04:12, Roland Scheidegger wrote:
> Am 21.06.2011 20:59, schrieb Sven Arvidsson:
>> This change broke a whole lot of stuff on r600g, for example Unigine
>> Heaven:
>>
>> shader uses too many varying components (36 > 32)
> It looks like the r600g driver claims to only support 10 va
https://bugs.freedesktop.org/show_bug.cgi?id=38610
Summary: [regression] 1a339b6c71ebab6e1a64f05b2e133022d3bbcd15
broke ETQW
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity:
https://bugs.freedesktop.org/show_bug.cgi?id=38610
--- Comment #1 from Chris Bandy 2011-06-23 10:18:24 PDT ---
bug 38602
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=38610
Sven Arvidsson changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
https://bugs.freedesktop.org/show_bug.cgi?id=38602
Sven Arvidsson changed:
What|Removed |Added
CC||s...@whiz.se
--- Comment #9 from Sven A
https://bugs.freedesktop.org/show_bug.cgi?id=38602
--- Comment #10 from Sven Arvidsson 2011-06-23 10:29:24 PDT ---
FWIW, the same commit causes the game ETQW to segfault on start, and log these
errors:
EE eg_state_inlines.h:388 r600_translate_colorswap - unsupported colorswap
format 67
[...]
Mes
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 06/15/2011 04:26 PM, Paul Berry wrote:
> For some extensions, _mesa_glsl_process_extension() only checked
> whether the extension was supported *after* enabling it. Modified the
> logic to always check first, and only enable supported extensions.
>
On Thu, 23 Jun 2011 02:23:53 -0700, Chad Versace wrote:
> On gen5 there are no Piglit regressions, with and without separate stencil
> enabled.
Correction: There are no Piglit regressions except those caused by the
stencil write mystery.
- Chad
___
mes
https://bugs.freedesktop.org/show_bug.cgi?id=38602
--- Comment #11 from Sven Arvidsson 2011-06-23 12:49:29 PDT ---
fa5478c5fe88e9c07d30203984b712925de84d2e with the patch takes care of the
problems with ETQW.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 06/07/2011 12:13 PM, Ian Romanick wrote:
> We've accumulated a lot of fixes in the 7.10 branch, so it seems like we
> should do a 7.10.3 release soon. How do Friday (6/10) or Monday (6/13)
> sound?
>
> There's also a huge number of changes sitting
On Fri, 17 Jun 2011 14:43:21 -0600, Brian Paul wrote:
> On 06/17/2011 02:36 PM, Eric Anholt wrote:
> > We would still want to consider that data as being in a VBO even if we
> > managed to produce this case, which as far as I know we can't.
> > ---
> > src/mesa/vbo/vbo_rebase.c |3 +--
> >
https://bugs.freedesktop.org/show_bug.cgi?id=38602
Brian Paul changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
https://bugs.freedesktop.org/show_bug.cgi?id=38602
Brian Paul changed:
What|Removed |Added
CC||v...@vmware.com
--- Comment #13 from Brian
https://bugs.freedesktop.org/show_bug.cgi?id=38622
Summary: [bisected] EGL assertion failure in many ES2
applications
Product: Mesa
Version: git
Platform: All
OS/Version: All
Status: NEW
Severity: major
https://bugs.freedesktop.org/show_bug.cgi?id=38622
Ian Romanick changed:
What|Removed |Added
CC||i...@freedesktop.org,
|
On Thu, Jun 23, 2011 at 8:07 PM, Benjamin Franzke
wrote:
> 2011/6/23 Chia-I Wu :
>> On Thu, Jun 23, 2011 at 7:46 PM, Benjamin Franzke
>> wrote:
>>> 2011/6/23 Chia-I Wu :
On Wed, Jun 22, 2011 at 10:30 PM, Benjamin Franzke
wrote:
> Hi List,
>
> This series adds a graphics buf
https://bugs.freedesktop.org/show_bug.cgi?id=38626
Summary: vbo: Don't discount stride breaks piglit on
softpipe/r600g
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: norma
https://bugs.freedesktop.org/show_bug.cgi?id=38626
--- Comment #1 from Brian Paul 2011-06-23 17:39:18 PDT ---
Created an attachment (id=48361)
View: https://bugs.freedesktop.org/attachment.cgi?id=48361
Review: https://bugs.freedesktop.org/review?bug=38626&attachment=48361
restore the old vbo_a
When the fill mode is PIPE_POLYGON_MODE_LINE we were basically
converting the polygon into triangles, then drawing the outline of all
the triangles. But we really only want to draw the lines around the
perimeter of the polygon, not the interior lines.
NOTE: This is a candidate for the 7.10 branch
https://bugs.freedesktop.org/show_bug.cgi?id=38626
--- Comment #2 from Rafael Monica 2011-06-23 17:57:06 PDT
---
Yeah, the patch fixes the regression.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the ass
On 06/22/2011 08:51 PM, Bryan Cain wrote:
On 06/16/2011 12:43 PM, Brian Paul wrote:
On 06/16/2011 10:34 AM, Bryan Cain wrote:
On Thu, Jun 16, 2011 at 9:08 AM, Brian Paulmailto:bri...@vmware.com>> wrote:
Looks like nice work, Bryan.
Just a few minor questions/comments for now:
I'd like to overhaul the part of Mesa related to texture memory
reading/writing.
The basic idea would be to add two new driver functions:
/**
* Map a 2D slice of a texture image into user space.
* (x,y,w,h) defines a region of interest (ROI). Reading/writing
* texels outside of the ROI is
https://bugs.freedesktop.org/show_bug.cgi?id=38629
Summary: openarena textures blacked out
Product: Mesa
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Co
On Fri, Jun 24, 2011 at 8:38 AM, Chia-I Wu wrote:
> On Thu, Jun 23, 2011 at 8:07 PM, Benjamin Franzke
> wrote:
>> 2011/6/23 Chia-I Wu :
>>> On Thu, Jun 23, 2011 at 7:46 PM, Benjamin Franzke
>>> wrote:
2011/6/23 Chia-I Wu :
> On Wed, Jun 22, 2011 at 10:30 PM, Benjamin Franzke
> wrot
---
src/mesa/main/renderbuffer.c | 23 ---
src/mesa/main/renderbuffer.h |3 ---
2 files changed, 0 insertions(+), 26 deletions(-)
diff --git a/src/mesa/main/renderbuffer.c b/src/mesa/main/renderbuffer.c
index fa884c0..c36175c 100644
--- a/src/mesa/main/renderbuffer.c
+++
NOTE: This is a candidate for the 7.10 branch.
---
src/mesa/main/texstore.c |9 ++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c
index 6da3e4e..5c925a3 100644
--- a/src/mesa/main/texstore.c
+++ b/src/mesa/main/texstore
NOTE: This is a candidate for the 7.10 branch.
---
src/mesa/main/pack.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/pack.c b/src/mesa/main/pack.c
index d6470e3..7d541dc 100644
--- a/src/mesa/main/pack.c
+++ b/src/mesa/main/pack.c
@@ -4782,6 +4782,7 @@ _me
---
src/mesa/main/pack.c | 14 +++---
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/mesa/main/pack.c b/src/mesa/main/pack.c
index 7d541dc..a232a51 100644
--- a/src/mesa/main/pack.c
+++ b/src/mesa/main/pack.c
@@ -4683,7 +4683,7 @@ _mesa_unpack_depth_span( struct gl_co
From: Dave Airlie
inline the hotpath of the reference remaining the same, this shouldn't
penalise the slow path at all but improve the hot path so we don't have
to jump to the function.
It also moves some assert checks under an #ifndef NDEBUG.
Signed-off-by: Dave Airlie
---
src/mesa/program/p
https://bugs.freedesktop.org/show_bug.cgi?id=38622
--- Comment #1 from Benjamin Franzke
2011-06-23 23:13:16 PDT ---
I can't reproduce this with the egl x11 demos from mesa/demos.
Also I dont see what could effect that in the bisected commit.
Anyway, would give more information about which confi
2011/6/24 Chia-I Wu :
> On Fri, Jun 24, 2011 at 8:38 AM, Chia-I Wu wrote:
>> On Thu, Jun 23, 2011 at 8:07 PM, Benjamin Franzke
>> wrote:
>>> 2011/6/23 Chia-I Wu :
On Thu, Jun 23, 2011 at 7:46 PM, Benjamin Franzke
wrote:
> 2011/6/23 Chia-I Wu :
>> On Wed, Jun 22, 2011 at 10:30 P
62 matches
Mail list logo