Re: [Mesa-dev] [PATCH 1/2] mesa: Make the program texel offsets limits available with GLSL 1.30.

2011-10-15 Thread Kenneth Graunke
On 10/15/2011 01:57 PM, Eric Anholt wrote: > It was previously under gpu_shader4, but I'm pretty sure everyone's > going to be doing GLSL 1.30 first (since gpu_shader4 is basically 1.30 > plus a bunch of extra stuff). > --- > src/mesa/main/get.c | 17 - > 1 files changed, 12 inse

Re: [Mesa-dev] [PATCH 2/2] i965: Fix piglit glsl-1.30/texel-offset-limits.

2011-10-15 Thread Kenneth Graunke
On 10/15/2011 01:57 PM, Eric Anholt wrote: > --- > src/mesa/drivers/dri/i965/brw_context.c |3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/src/mesa/drivers/dri/i965/brw_context.c > b/src/mesa/drivers/dri/i965/brw_context.c > index dc91852..ec9dc35 100644 > --- a/s

[Mesa-dev] [PATCH] mesa: fix inverted pbo test error at _mesa_GetnCompressedTexImageARB

2011-10-15 Thread Liu Aleaxander
>From d91661686e8d7def96561700092adda57215f0ab Mon Sep 17 00:00:00 2001 From: Yuanhan Liu Date: Sun, 16 Oct 2011 09:35:33 +0800 Subject: [PATCH] mesa: fix inverted pbo test error at _mesa_GetnCompressedTexImageARB It seems like a typo. Signed-off-by: Yuanhan Liu --- src/mesa/main/texgetimage.c

[Mesa-dev] mesa: handle PBO access error in display list mode

2011-10-15 Thread Liu Aleaxander
>From 98d4600d74829d16045dd577855b7c9f25e762c2 Mon Sep 17 00:00:00 2001 From: Yuanhan Liu Date: Sun, 16 Oct 2011 09:13:10 +0800 Subject: [PATCH] mesa: handle PBO access error in display list mode While dealing with pbo data in display list mode, it does check the pbo access error at unpack_image.

[Mesa-dev] [PATCH 1/2] mesa: Make the program texel offsets limits available with GLSL 1.30.

2011-10-15 Thread Eric Anholt
It was previously under gpu_shader4, but I'm pretty sure everyone's going to be doing GLSL 1.30 first (since gpu_shader4 is basically 1.30 plus a bunch of extra stuff). --- src/mesa/main/get.c | 17 - 1 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/mesa/main/g

[Mesa-dev] [PATCH 2/2] i965: Fix piglit glsl-1.30/texel-offset-limits.

2011-10-15 Thread Eric Anholt
--- src/mesa/drivers/dri/i965/brw_context.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index dc91852..ec9dc35 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drive

[Mesa-dev] mesa: handle the pbo case for save_Bitmap

2011-10-15 Thread Liu Aleaxander
>From af5e640575db5f7e2db94a98aa75a84a01ee0cf0 Mon Sep 17 00:00:00 2001 From: Yuanhan Liu Date: Sat, 15 Oct 2011 22:44:18 +0800 Subject: [PATCH] mesa: handle the pbo case for save_Bitmap Wrap _mesa_unpack_bitmap to handle the case that data is stored in pixel buffer object. This would make calli

[Mesa-dev] [PATCH 2/3] softpipe: implement/fix TIMESTAMP queries

2011-10-15 Thread Christoph Bumiller
--- src/gallium/drivers/softpipe/sp_query.c | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/softpipe/sp_query.c b/src/gallium/drivers/softpipe/sp_query.c index 88f4257..c2c48e8 100644 --- a/src/gallium/drivers/softpipe/sp_query.c +++ b/src/ga

[Mesa-dev] [PATCH 1/3] gallium: add new query types and missing documentation

2011-10-15 Thread Christoph Bumiller
--- src/gallium/docs/source/context.rst | 63 ++--- src/gallium/include/pipe/p_defines.h | 19 ++ 2 files changed, 68 insertions(+), 14 deletions(-) diff --git a/src/gallium/docs/source/context.rst b/src/gallium/docs/source/context.rst index 3faf801..d803

[Mesa-dev] [PATCH 3/3] d3d1x: make use of new query types

2011-10-15 Thread Christoph Bumiller
--- .../state_trackers/d3d1x/gd3d11/d3d11_screen.h |9 --- .../state_trackers/d3d1x/gd3d1x/d3d_enums.cpp | 26 ++-- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/src/gallium/state_trackers/d3d1x/gd3d11/d3d11_screen.h b/src/gallium/state_tracke

Re: [Mesa-dev] [PATCH] mesa: generate error if pbo offset is not aligned with the size of specified type

2011-10-15 Thread Liu Aleaxander
On Fri, Oct 14, 2011 at 11:14 PM, Liu Aleaxander wrote: > > On Oct 14, 2011 10:38 PM, "Brian Paul" wrote: >> >> On 10/13/2011 09:47 PM, Yuanhan Liu wrote: >>> >>> v2: quote the spec; explicitly exclude the GL_BITMAP case to make code >>> more readable. (comments from Ian) >>> >>> Signed-off-by: Y