Hi,
following a patch series to make gl_array_object use a VERT_ATTRIB_*
indexed array of gl_client_array structs.
Since we have already 33 client arrays in an array object the VERT_BIT_* and
for vertex shader inputs bitmaps are extended to 64 bits. Drivers
and shader code is updated to use the 6
Introduce a set of defines for VERT_ATTRIB_* and VERT_BIT_*
that will be used in the followup patches.
Signed-off-by: Mathias Froehlich
---
src/mesa/main/mtypes.h | 63 ++-
1 files changed, 45 insertions(+), 18 deletions(-)
diff --git a/src/mesa/mai
Consolidate the two distinct set of flags to use VERT_BIT_*.
Signed-off-by: Mathias Froehlich
Reviewed-by: Brian Paul
---
src/mesa/main/arrayobj.c |2 +-
src/mesa/main/enable.c | 20 ++--
src/mesa/main/mtypes.h | 37 ++---
src/mesa/mai
Signed-off-by: Mathias Froehlich
Reviewed-by: Brian Paul
---
src/mesa/vbo/vbo_context.c| 26 +++---
src/mesa/vbo/vbo_exec.h |4 ++--
src/mesa/vbo/vbo_exec_api.c | 24
src/mesa/vbo/vbo_exec_array.c | 41
+-
Signed-off-by: Mathias Froehlich
Reviewed-by: Brian Paul
---
src/mesa/main/enable.c |2 +-
src/mesa/main/mtypes.h | 54
src/mesa/main/varray.c |2 +-
3 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/src/mesa/main/enable.
Make gl_program::InputsRead a 64 bits bitfield.
Adapt the intel and radeon driver to handle a 64 bits
InputsRead value.
Signed-off-by: Mathias Froehlich
---
src/mesa/drivers/dri/i915/i915_fragprog.c |4 +-
src/mesa/drivers/dri/i965/brw_context.h|2 +-
src/mesa/drivers/dri/i9
From: Dave Airlie
These codepaths were missing the cases for BGR_INTEGER/BGRA_INTEGER.
Signed-off-by: Dave Airlie
---
src/mesa/main/image.c |2 ++
src/mesa/main/pack.c |2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c
i
From: Dave Airlie
This test tries to upload the texture in RGBA/BGRA and 10_10_10_2/2_10_10_10_REV
type/format combinations.
v2: improve test to be less cut-n-paste from older tests and make it a lot
easier to read.
v2 passes on nvidia binary (joi on #nouveau tested it for me), and fails
miser
>
> This test tries to upload the texture in RGBA/BGRA and
> 10_10_10_2/2_10_10_10_REV
> type/format combinations.
Oops wrong mail sending script, re-sent to piglit list.
Sorry for the noise.
Dave.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.
From: Dave Airlie
This format is used in the ARB_texture_rgb10_a2ui spec.
Signed-off-by: Dave Airlie
---
src/mesa/main/formats.c | 17 +
src/mesa/main/formats.h |2 ++
2 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/formats.c b/src/mesa/main/
The first 2 add the core rgb10_a2ui format, and the 3rd is the gallium
state tracker support. I've got a one liner fix for r600g and I'll push
a docs update along with these.
I've tested them with the test that I posted earlier on softpipe + r600g.
They also require the image fix I sent for BGRA.
From: Dave Airlie
Add support to the state tracker format and extension enablement code.
Signed-off-by: Dave Airlie
---
src/mesa/state_tracker/st_extensions.c |6 ++
src/mesa/state_tracker/st_format.c | 11 +--
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git
From: Dave Airlie
This just adds the texstorage and format handling for ARB_texture_rgb10_a2ui
Signed-off-by: Dave Airlie
---
src/mesa/main/image.c |2 +
src/mesa/main/texformat.c |9 +++
src/mesa/main/teximage.c |1 +
src/mesa/main/texstore.c | 58 +
On Sun, Nov 27, 2011 at 7:27 PM, Dave Airlie wrote:
> The first 2 add the core rgb10_a2ui format, and the 3rd is the gallium
> state tracker support. I've got a one liner fix for r600g and I'll push
> a docs update along with these.
>
> I've tested them with the test that I posted earlier on softp
On Sat, 26 Nov 2011 16:56:44 +, Dave Airlie wrote:
> From: Dave Airlie
>
> After reading ARB_texture_rgb10_a2ui it appears the packed formats
> for integer types are only specified via this extension, and not via
> the original ones. So condition the checks on this.
>
> Hopefully some can t
From: Dave Airlie
This adds the unpacking necessary for an fbo using readpixels.
Signed-off-by: Dave Airlie
---
src/mesa/main/format_unpack.c | 17 +
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/format_unpack.c b/src/mesa/main/format_unpack.c
>
> Just realised its on the required framebuffer format as well, so I'll
> have to write an FBO test for it and make sure it works.
>
That was easier than I expected, test + patch for mesa sent.
Dave.
___
mesa-dev mailing list
mesa-dev@lists.freedeskto
From: Dave Airlie
fixing these makes piglit fbo-integer pass on softpipe.
Signed-off-by: Dave Airlie
---
src/mesa/main/format_unpack.c | 135 +
1 files changed, 135 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/format_unpack.c b/src/mesa/mai
On Sun, 27 Nov 2011 18:18:57 +0100, Mathias Fröhlich
wrote:
> Make gl_program::InputsRead a 64 bits bitfield.
> Adapt the intel and radeon driver to handle a 64 bits
> InputsRead value.
>
> Signed-off-by: Mathias Froehlich
> @@ -373,10 +373,10 @@ static void brw_prepare_vertices(struct brw_con
On Sun, 27 Nov 2011 18:19:00 +0100, Mathias Fröhlich
wrote:
> Replace the distinct struct gl_client_array members in gl_array_object by
> an array of gl_client_arrays indexed by VERT_ATTRIB_*.
> Renumber the vertex attributes slightly to keep the old semantics of the
> distinct array members. Mak
Series is
Reviewed-by: Eric Anholt
pgpGWM98IAvNa.pgp
Description: PGP signature
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
On Sun, 27 Nov 2011 17:37:09 +, Dave Airlie wrote:
> From: Dave Airlie
>
> These codepaths were missing the cases for BGR_INTEGER/BGRA_INTEGER.
>
> Signed-off-by: Dave Airlie
Reviewed-by: Eric Anholt
pgpI1qI97kMbt.pgp
Description: PGP signature
_
Mesa 7.11.2 has been released. Mesa 7.11.2 is a bug fix release which
fixes bugs found since the 7.11.1 release. This release was made
primarily to fix build problems with 7.11.1 on Mandriva and to fix
problems related to glCopyTexImage to luminance-alpha textures. That
later was believed to
On Sun, 27 Nov 2011 20:36:26 +, Dave Airlie wrote:
> From: Dave Airlie
>
> This adds the unpacking necessary for an fbo using readpixels.
>
> Signed-off-by: Dave Airlie
Reviewed-by: Eric Anholt
pgpWveDqQMwAC.pgp
Description: PGP signature
___
On Sun, 27 Nov 2011 20:54:34 +, Dave Airlie wrote:
> From: Dave Airlie
>
> fixing these makes piglit fbo-integer pass on softpipe.
I didn't do these because I wasn't sure how clamping and sign extension
were supposed to work in the pack path. The specs have text on it, but
I couldn't make
On Tue, 22 Nov 2011 13:47:27 -0800, "Ian Romanick" wrote:
> From: Ian Romanick
>
> Page 77 (page 91 of the PDF) says about glGetActiveAttrib:
>
> "The returned attribute name can be the name of a generic
> attribute or a conventional attribute (which begin with the prefix
> "gl_", s
On Sun, 27 Nov 2011 19:27:16 +, Dave Airlie wrote:
> From: Dave Airlie
>
> This just adds the texstorage and format handling for ARB_texture_rgb10_a2ui
Looking at places that GL_RGBA32UI is mentioned, it seems like we also
need a case for this extension in fbobject.c:_mesa_base_fbo_format()
On Sun, 27 Nov 2011 19:27:15 +, Dave Airlie wrote:
> From: Dave Airlie
>
> This format is used in the ARB_texture_rgb10_a2ui spec.
>
> Signed-off-by: Dave Airlie
> ---
> src/mesa/main/formats.c | 17 +
> src/mesa/main/formats.h |2 ++
> 2 files changed, 19 insertions
On Wed, 23 Nov 2011 13:52:07 -0700, Brian Paul wrote:
> On 11/23/2011 01:37 PM, Eric Anholt wrote:
> > Asking for the datatype of MESA_FORMAT_Z32_FLOAT_X24S8 is a bit funny
> > -- there's a float depth channel, and a stencil channel that doesn't
> > have a particular GLenum associated with its typ
On Wed, 23 Nov 2011 13:53:33 -0700, Brian Paul wrote:
> On 11/23/2011 01:37 PM, Eric Anholt wrote:
> > There was only one consumer of this API, meta.c, which was intending
> > to ask "is this format just stencil index (and nothing else)?".
> > Instead, if one tried to glDrawPixels of GL_DEPTH_STEN
On 11/25/2011 01:13 AM, Dave Airlie wrote:
I'm honestly shocked to read this, Marek. We "deliberately want [your]
driver to be less capable" and "couldn't care about less about anything
except [our] driver"? This is sounding remarkably like a conspiracy
theory, and I really didn't expect that f
On 26.11.2011 22:23, Maarten Lankhorst wrote:
Hey Andy,
On 11/26/2011 01:44 PM, Andy Furniss wrote:
Maarten Lankhorst wrote:
Testing interlaced videos that decode correctly with nvidia vdpau would help
a lot to figure out what the proper way to handle interlacing would be, so if
someone has
When the extension was folded in, glDrawPixels of integer formats was
disallowed. Disable the GL_EXT_texture_integer if 3.0 is exposed, and
replace it with a simple "make sure it throws the error" API test.
I think actually the intent was that this is a correction to
EXT_texture_integer, because
While looking into MapRenderbuffer for glDrawPixels, I ended up
looking at integer again. It looks like GL 3.0 has added sanity to
drawpixels for integer, which is to say that they've disallowed it.
I don't think there was any way to usefully use drawpixels of integer.
Assuming you want to output
When folding GL_EXT_texture_integer into the core, a new (and very
sensible) restriction was added.
---
src/mesa/main/drawpix.c | 13 +
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/drawpix.c b/src/mesa/main/drawpix.c
index 412cc15..5d1bd5a 100644
---
All,
I'm starting to work on GLX_ARB_create_context. This extension and the
layered GLX_ARB_create_context_profile extension add some GLX protocol.
Is there any reason to keep supporting non-XCB protocol? Are there
any platforms that can't / don't use XCB for X protocol?
I'm not planning
On Thu, Nov 24, 2011 at 11:25:23AM -0800, Eric Anholt wrote:
> On Wed, 23 Nov 2011 12:24:37 -0700, Brian Paul wrote:
> > On 11/23/2011 12:12 PM, Eric Anholt wrote:
> > > On Wed, 23 Nov 2011 17:34:30 +0800, Yuanhan
> > > Liu wrote:
> > >> From 9a1da8748f0faa23f34398213ff7ee45fda6bf36 Mon Sep 17
On Mon, Nov 28, 2011 at 12:08 AM, Ian Romanick wrote:
> In Mesa, we have four drivers that advertise 4096 uniform components on some
> combinations of hardware: i915, i915g, nouveau, and r300g. By putting
> resource counting in the driver we have the potential for shaders to compile
> and link on
38 matches
Mail list logo