Re: [Mesa-dev] [PATCH] i965: Implement ARB_texture_mirror_clamp.

2013-10-20 Thread Matt Turner
Patch title should be ARB_texture_mirror_clamp_to_edge. With that, Reviewed-by: Matt Turner Also update GL3.txt? ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] i965: Implement ARB_texture_mirror_clamp.

2013-10-20 Thread Kenneth Graunke
This passes Piglit's texwrap tests (after applying Rico's patch to make them use this extension). Cc: Rico Schüller Cc: Ian Romanick Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_wm_sampler_state.c | 2 ++ src/mesa/drivers/dri/i965/intel_extensions.c | 1 + 2 files chang

Re: [Mesa-dev] [PATCH 0/5 v2] Implement GL_ARB_texture_mirror_clamp_to_edge.

2013-10-20 Thread Kenneth Graunke
On 10/20/2013 03:39 AM, Rico Schüller wrote: > v2: fix commit message patch 2 > > Rico Schüller (5): > mesa: Add infrastructure for GL_ARB_texture_mirror_clamp_to_edge. > swrast: Enable ARB_texture_mirror_clamp_to_edge. > gallium: Enable ARB_texture_mirror_clamp_to_edge. > r200: Enable ARB

Re: [Mesa-dev] [PATCH] Updating forgotten GL feature completion for r600

2013-10-20 Thread Marek Olšák
On Mon, Oct 21, 2013 at 12:38 AM, Alexandre Demers wrote: > I don't have commit rights. I'd appreciate if someone could commit it for > me. Pushed. > > Also, I think it should be a candidat for 9.2 branch. Not really. It's mainly just for internal documentation. Marek > > Alexandre Demers > >

Re: [Mesa-dev] [PATCH] winsys/radeon: cleanup CS offloading

2013-10-20 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Sat, Oct 19, 2013 at 12:09 PM, Christian König wrote: > From: Christian König > > Using atomic function for ncs is superfluous since it is > protected by a mutex anyway. Also lock the mutex only once > while retrieving the next CS for submission. > > Signed-of

Re: [Mesa-dev] [PATCH] Updating forgotten GL feature completion for r600

2013-10-20 Thread Alexandre Demers
I don't have commit rights. I'd appreciate if someone could commit it for me. Also, I think it should be a candidat for 9.2 branch. Alexandre Demers On 10/20/2013 01:56 PM, Marek Olšák wrote: Reviewed-by: Marek Olšák Marek On Sun, Oct 20, 2013 at 7:48 PM, Alexandre Demers wrote: --- do

Re: [Mesa-dev] [PATCH] scons: Fix Haiku missing library

2013-10-20 Thread Brian Paul
On 10/20/2013 02:19 PM, Alexander von Gluck IV wrote: * The softpipe add-on needs libtranslation due to the use of BTranslatorRoster --- scons/gallium.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scons/gallium.py b/scons/gallium.py index 5b20f3f..be3c3e7 100755 ---

Re: [Mesa-dev] [PATCH] st/mesa: respect higher GLSL levels.

2013-10-20 Thread Brian Paul
On 10/20/2013 04:03 PM, Dave Airlie wrote: On Sun, Oct 20, 2013 at 11:00 PM, Brian Paul wrote: On 10/20/2013 01:07 PM, Dave Airlie wrote: From: Dave Airlie If a driver wants to expose higher glsl levels have the state tracker respect them. Signed-off-by: Dave Airlie --- src/mesa/state_

Re: [Mesa-dev] [PATCH] st/mesa: respect higher GLSL levels.

2013-10-20 Thread Dave Airlie
On Sun, Oct 20, 2013 at 11:00 PM, Brian Paul wrote: > On 10/20/2013 01:07 PM, Dave Airlie wrote: >> >> From: Dave Airlie >> >> If a driver wants to expose higher glsl levels have the state tracker >> respect them. >> >> Signed-off-by: Dave Airlie >> --- >> src/mesa/state_tracker/st_extensions.

Re: [Mesa-dev] [PATCH] st/mesa: respect higher GLSL levels.

2013-10-20 Thread Brian Paul
On 10/20/2013 01:07 PM, Dave Airlie wrote: From: Dave Airlie If a driver wants to expose higher glsl levels have the state tracker respect them. Signed-off-by: Dave Airlie --- src/mesa/state_tracker/st_extensions.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sr

[Mesa-dev] [PATCH] scons: Fix Haiku missing library

2013-10-20 Thread Alexander von Gluck IV
* The softpipe add-on needs libtranslation due to the use of BTranslatorRoster --- scons/gallium.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scons/gallium.py b/scons/gallium.py index 5b20f3f..be3c3e7 100755 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -507,7 +507,7

Re: [Mesa-dev] [PATCH] radeonsi: Do not set both inreg and byval

2013-10-20 Thread Marek Olšák
Reviewed-by: Marek Olšák BTW, the LLVM changes must land first. Marek On Fri, Oct 11, 2013 at 5:32 PM, Vincent Lejeune wrote: > --- > src/gallium/drivers/radeonsi/radeonsi_shader.c | 9 ++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > > diff --git a/src/gallium/drivers/radeonsi/r

[Mesa-dev] [PATCH] st/mesa: respect higher GLSL levels.

2013-10-20 Thread Dave Airlie
From: Dave Airlie If a driver wants to expose higher glsl levels have the state tracker respect them. Signed-off-by: Dave Airlie --- src/mesa/state_tracker/st_extensions.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mes

Re: [Mesa-dev] [PATCH] i965: Do not set bilinear_filter flag in case of multisample blits

2013-10-20 Thread Armin K.
On 10/19/2013 02:24 AM, Anuj Phogat wrote: > Setting bilinear_filter flag in case of multisample blits with > GL_LINEAR filter causes incorrect behavior in translate_dst_to_src() > function. This broke Modern Warfare (1, 2 and 3) on SNB, IVB and HSW. > > Tested on SNB and IVB, no Piglit regression

Re: [Mesa-dev] [PATCH] Updating forgotten GL feature completion for r600

2013-10-20 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Sun, Oct 20, 2013 at 7:48 PM, Alexandre Demers wrote: > --- > docs/GL3.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/docs/GL3.txt b/docs/GL3.txt > index c269f19..a56e7fe 100644 > --- a/docs/GL3.txt > +++ b/docs/GL3.txt > @@ -71,7

[Mesa-dev] [PATCH] Updating forgotten GL feature completion for r600

2013-10-20 Thread Alexandre Demers
--- docs/GL3.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/GL3.txt b/docs/GL3.txt index c269f19..a56e7fe 100644 --- a/docs/GL3.txt +++ b/docs/GL3.txt @@ -71,7 +71,7 @@ Base vertex offset(GL_ARB_draw_elements_base_vertex) DONE (i965, r300, r600, sw Frag shader coor

[Mesa-dev] [PATCH] glsl: break the gl_FragData array into separate gl_FragData[i] variables

2013-10-20 Thread Marek Olšák
From: Marek Olšák This avoids a defect in lower_output_reads. The problem is lower_output_reads treats the gl_FragData array as a single variable. It first redirects all output writes to a temporary variable (array) and then writes the whole temporary variable to the output, generating assignmen

Re: [Mesa-dev] [PATCH 0/8] Implement GL_ARB_sample_shading on Intel hardware

2013-10-20 Thread Paul Berry
On 14 October 2013 10:12, Anuj Phogat wrote: > Patches listed below implement the GL_ARB_sample_shading extension > on Intel hardware >= gen6. I verified the implementation with a > number of piglit tests, currently under review on piglit mailing > list. Observed no piglit, gles3 CTS regressions

Re: [Mesa-dev] [PATCH 6/8] i965/gen6: Enable the features required for GL_ARB_sample_shading

2013-10-20 Thread Paul Berry
On 20 October 2013 07:25, Paul Berry wrote: > On 14 October 2013 10:12, Anuj Phogat wrote: > >> - Enable GEN6_WM_MSDISPMODE_PERSAMPLE, GEN6_WM_POSOFFSET_SAMPLE, >> GEN6_WM_OMASK_TO_RENDER_TARGET as per extension's specification. >> - Don't enable GEN6_WM_16_DISPATCH_ENABLE when >> GEN6_WM_MSDI

Re: [Mesa-dev] [PATCH 7/8] i965/gen7: Enable the features required for GL_ARB_sample_shading

2013-10-20 Thread Paul Berry
On 16 October 2013 15:20, Ian Romanick wrote: > On 10/16/2013 02:57 PM, Anuj Phogat wrote: > > On Tue, Oct 15, 2013 at 3:48 PM, Kenneth Graunke > wrote: > >> On 10/14/2013 10:12 AM, Anuj Phogat wrote: > >>> - Enable GEN7_WM_MSDISPMODE_PERSAMPLE, GEN7_WM_POSOFFSET_SAMPLE, > >>> GEN7_WM_OMASK_TO

Re: [Mesa-dev] [PATCH 7/8] i965/gen7: Enable the features required for GL_ARB_sample_shading

2013-10-20 Thread Paul Berry
On 14 October 2013 10:12, Anuj Phogat wrote: > - Enable GEN7_WM_MSDISPMODE_PERSAMPLE, GEN7_WM_POSOFFSET_SAMPLE, > GEN7_WM_OMASK_TO_RENDER_TARGET as per extension's specification. > - Don't enable GEN7_WM_16_DISPATCH_ENABLE when GEN7_WM_MSDISPMODE_PERSAMPLE > is enabled. Refer IVB PRM Vol. 2,

Re: [Mesa-dev] [PATCH 6/8] i965/gen6: Enable the features required for GL_ARB_sample_shading

2013-10-20 Thread Paul Berry
On 14 October 2013 10:12, Anuj Phogat wrote: > - Enable GEN6_WM_MSDISPMODE_PERSAMPLE, GEN6_WM_POSOFFSET_SAMPLE, > GEN6_WM_OMASK_TO_RENDER_TARGET as per extension's specification. > - Don't enable GEN6_WM_16_DISPATCH_ENABLE when GEN6_WM_MSDISPMODE_PERSAMPLE > is enabled. Refer SNB PRM Vol. 2,

[Mesa-dev] [PATCH 5/5 v2] radeon: Enable ARB_texture_mirror_clamp_to_edge.

2013-10-20 Thread Rico Schüller
Reviewed-by: Marek Olšák Reviewed-by: Kenneth Graunke Reviewed-by: Ian Romanick Signed-off-by: Rico Schüller --- src/mesa/drivers/dri/radeon/radeon_context.c | 1 + 1 Datei geändert, 1 Zeile hinzugefügt(+) diff --git a/src/mesa/drivers/dri/radeon/radeon_context.c b/src/mesa/drivers/dri/radeo

[Mesa-dev] [PATCH 4/5 v2] r200: Enable ARB_texture_mirror_clamp_to_edge.

2013-10-20 Thread Rico Schüller
Reviewed-by: Marek Olšák Reviewed-by: Kenneth Graunke Reviewed-by: Ian Romanick Signed-off-by: Rico Schüller --- src/mesa/drivers/dri/r200/r200_context.c | 1 + 1 Datei geändert, 1 Zeile hinzugefügt(+) diff --git a/src/mesa/drivers/dri/r200/r200_context.c b/src/mesa/drivers/dri/r200/r200_con

[Mesa-dev] [PATCH 3/5 v2] gallium: Enable ARB_texture_mirror_clamp_to_edge.

2013-10-20 Thread Rico Schüller
Reviewed-by: Marek Olšák Reviewed-by: Kenneth Graunke Reviewed-by: Ian Romanick Signed-off-by: Rico Schüller --- src/mesa/state_tracker/st_extensions.c | 1 + 1 Datei geändert, 1 Zeile hinzugefügt(+) diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c

[Mesa-dev] [PATCH 2/5 v2] swrast: Enable ARB_texture_mirror_clamp_to_edge.

2013-10-20 Thread Rico Schüller
v2: fix commit message Reviewed-by: Marek Olšák Reviewed-by: Kenneth Graunke Reviewed-by: Ian Romanick Signed-off-by: Rico Schüller --- src/mesa/main/extensions.c | 1 + 1 Datei geändert, 1 Zeile hinzugefügt(+) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index bf8d7a

[Mesa-dev] [PATCH 1/5 v2] mesa: Add infrastructure for GL_ARB_texture_mirror_clamp_to_edge.

2013-10-20 Thread Rico Schüller
Reviewed-by: Marek Olšák Reviewed-by: Kenneth Graunke Signed-off-by: Rico Schüller --- src/mesa/main/extensions.c | 1 + src/mesa/main/mtypes.h | 1 + src/mesa/main/samplerobj.c | 2 +- src/mesa/main/texparam.c | 12 +--- 4 Dateien geändert, 12 Zeilen hinzugefügt(+), 4 Zeilen e

[Mesa-dev] [PATCH 0/5 v2] Implement GL_ARB_texture_mirror_clamp_to_edge.

2013-10-20 Thread Rico Schüller
v2: fix commit message patch 2 Rico Schüller (5): mesa: Add infrastructure for GL_ARB_texture_mirror_clamp_to_edge. swrast: Enable ARB_texture_mirror_clamp_to_edge. gallium: Enable ARB_texture_mirror_clamp_to_edge. r200: Enable ARB_texture_mirror_clamp_to_edge. radeon: Enable ARB_texture

[Mesa-dev] [PATCH 2/2] implement NV_vdpau_interop v6

2013-10-20 Thread Christian König
From: Christian König v2: Actually implement interop between the gallium state tracker and the VDPAU backend. v3: Make it also available in non legacy contexts, fix video buffer sharing. v4: deny interop if we don't have the same screen object v5: rebased on upstream changes v6: imple

[Mesa-dev] [PATCH 1/2] winsys/radeon: make radeon_drm_winsys_create public

2013-10-20 Thread Christian König
From: Christian König Otherwise OpenGL/VDPAU interop won't work as expected. Signed-off-by: Christian König --- src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium