[Mesa-dev] [Bug 75212] Mesa selects wrong DRI driver

2014-05-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75212 --- Comment #5 from Bernd Kuhls --- Hi, I am using the dri2 driver on a non-udev system, this commit http://cgit.freedesktop.org/mesa/mesa/commit/configure.ac?id=b959fd9674938e127a34d42d34b903e3a9ae7ad9 breaks compilation for me. This patch fix

[Mesa-dev] [Bug 75212] Mesa selects wrong DRI driver

2014-05-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75212 Bernd Kuhls changed: What|Removed |Added CC||berndku...@hotmail.com -- You are receivi

[Mesa-dev] [Bug 75212] Mesa selects wrong DRI driver

2014-05-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75212 --- Comment #6 from Emil Velikov --- (In reply to comment #5) > Hi, > > I am using the dri2 driver on a non-udev system, this commit > http://cgit.freedesktop.org/mesa/mesa/commit/configure. > ac?id=b959fd9674938e127a34d42d34b903e3a9ae7ad9 > bre

Re: [Mesa-dev] [PATCH] automake: Honor GL_LIB for gallium libgl-xlib

2014-05-10 Thread Emil Velikov
On 06/05/14 16:06, Brad King wrote: > Use "@GL_LIB@" in src/gallium/targets/libgl-xlib/Makefile.am to produce > the library name specified by the configure --with-gl-lib-name option. Hi Brad, I was planning on doing the same thing for ages but kind of forgot :) Reviewed-by: Emil Velikov FWIW unle

[Mesa-dev] [Bug 75212] Mesa selects wrong DRI driver

2014-05-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75212 --- Comment #7 from Bernd Kuhls --- The kernel I have to use is compiled without CONFIG_DEVTMPFS and without CONFIG_FHANDLE. http://cgit.freedesktop.org/systemd/systemd/tree/README states that at least these options are required, the later one e

[Mesa-dev] [PATCH 2/3] mesa/st: leave current query enabled during glBlitFramebuffer

2014-05-10 Thread Ilia Mirkin
Also make sure that pipe_blit_info gets zero'd out so that query isn't accidentally left enabled. Signed-off-by: Ilia Mirkin Cc: "10.2" --- src/mesa/state_tracker/st_cb_blit.c | 1 + src/mesa/state_tracker/st_cb_readpixels.c | 1 + src/mesa/state_tracker/st_cb_texture.c| 2 ++ 3 files

[Mesa-dev] [PATCH 3/3] nv50, nvc0: leave queries on during blit, turn them on for 2d engine

2014-05-10 Thread Ilia Mirkin
Fixes the new logic of the conditional rendering piglit test. Signed-off-by: Ilia Mirkin Cc: "10.2 10.1" --- src/gallium/drivers/nouveau/nv50/nv50_query.c | 6 +- src/gallium/drivers/nouveau/nv50/nv50_screen.c | 2 ++ src/gallium/drivers/nouveau/nv50/nv50_surface.c | 15 +--

[Mesa-dev] [PATCH 1/3] gallium: add bit to pipe_blit_info to leave current query enabled

2014-05-10 Thread Ilia Mirkin
Previously the implication was that queries should be disabled during blits. However glBlitFramebuffer() is supposed to obey the current query, and this new bit will indicate that to the driver. Signed-off-by: Ilia Mirkin Cc: "10.2" --- src/gallium/include/pipe/p_state.h | 2 ++ 1 file changed,

Re: [Mesa-dev] [PATCH 1/3] gallium: add bit to pipe_blit_info to leave current query enabled

2014-05-10 Thread Ilia Mirkin
On Sat, May 10, 2014 at 1:25 PM, Ilia Mirkin wrote: > Previously the implication was that queries should be disabled during > blits. However glBlitFramebuffer() is supposed to obey the current > query, and this new bit will indicate that to the driver. > > Signed-off-by: Ilia Mirkin > Cc: "10.2"

[Mesa-dev] [Bug 75212] Mesa selects wrong DRI driver

2014-05-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75212 --- Comment #8 from Kenneth Graunke --- (In reply to comment #7) > The kernel I have to use is compiled without CONFIG_DEVTMPFS and without > CONFIG_FHANDLE. > > http://cgit.freedesktop.org/systemd/systemd/tree/README states that at least > thes

Re: [Mesa-dev] Contribution

2014-05-10 Thread Alan Coopersmith
On 05/10/14 11:52 AM, Anish Kanchan wrote: Hello, I am Anish Kanchan (IRC nick:opensourcer), a student from Mumbai University, India. I wish to contribute to X.ORG . I have gone through the ideas page and saw the list of projects. I have programmed mainly in C++, Java, PHP, MySQL,

[Mesa-dev] [PATCH] nv50/ir: make sure to reverse cond codes on all the OP_SET variants

2014-05-10 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin Cc: "10.2 10.1" --- Found this while tracking a regression on nvc0 for my patch which fixes ir_unop_any to emit or's instead of dp3's. (That patch is fine, this code was always broken.) src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp | 3 ++- 1 file changed,

[Mesa-dev] [Bug 77288] [swrast] piglit glean glsl1 regression

2014-05-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77288 --- Comment #1 from Vinson Lee --- mesa: d9e102b220701c15730329290daa0176751af09a (master 10.3.0-devel) This regression is still present. -- You are receiving this mail because: You are the assignee for the bug. ___

[Mesa-dev] [PATCH] nv50, nvc0: fix blit 3d path for 1d array textures

2014-05-10 Thread Ilia Mirkin
Need to adjust coordinates since the shader receives the array index as depth in z, but the TEX instruction expects it to be the second coordinate for a 1D array texture. This fixes fbo-generatemipmap-array. Signed-off-by: Ilia Mirkin Cc: "10.2" --- src/gallium/drivers/nouveau/nv50/nv50_surface

[Mesa-dev] [Bug 78546] New: [swrast] piglit copyteximage-border regression

2014-05-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78546 Priority: medium Bug ID: 78546 Keywords: regression CC: e...@anholt.net, i...@freedesktop.org, kenn...@whitecape.org Assignee: mesa-dev@lists.freedesktop.org

Re: [Mesa-dev] [PATCH 1/3] gallium: add bit to pipe_blit_info to leave current query enabled

2014-05-10 Thread Marek Olšák
Hi Ilia, I'd call it: boolean conditional_rendering; or boolean render_condition_enable; or boolean use_render_condition; Marek On Sat, May 10, 2014 at 7:25 PM, Ilia Mirkin wrote: > Previously the implication was that queries should be disabled during > blits. However glBlitFramebuffer()

Re: [Mesa-dev] [PATCH 1/3] gallium: add bit to pipe_blit_info to leave current query enabled

2014-05-10 Thread Ilia Mirkin
It's all the same to me... let me know which you prefer, and I can send out a v2. On Sat, May 10, 2014 at 7:30 PM, Marek Olšák wrote: > Hi Ilia, > > I'd call it: > > boolean conditional_rendering; > or > boolean render_condition_enable; > or > boolean use_render_condition; > > Marek > > On

Re: [Mesa-dev] [PATCH 1/3] gallium: add bit to pipe_blit_info to leave current query enabled

2014-05-10 Thread Marek Olšák
Alright: boolean render_condition_enable; :) Marek On Sun, May 11, 2014 at 1:32 AM, Ilia Mirkin wrote: > It's all the same to me... let me know which you prefer, and I can > send out a v2. > > On Sat, May 10, 2014 at 7:30 PM, Marek Olšák wrote: >> Hi Ilia, >> >> I'd call it: >> >> boolean con

[Mesa-dev] [PATCH v2 3/3] nv50, nvc0: leave queries on during blit, turn them on for 2d engine

2014-05-10 Thread Ilia Mirkin
Fixes the new logic of the conditional rendering piglit test. Signed-off-by: Ilia Mirkin Cc: "10.2" --- src/gallium/drivers/nouveau/nv50/nv50_query.c | 6 +- src/gallium/drivers/nouveau/nv50/nv50_screen.c | 2 ++ src/gallium/drivers/nouveau/nv50/nv50_surface.c | 15 +-- src

[Mesa-dev] [PATCH v2 2/3] mesa/st: leave current query enabled during glBlitFramebuffer

2014-05-10 Thread Ilia Mirkin
Also make sure that pipe_blit_info gets zero'd out so that query isn't accidentally left enabled. Signed-off-by: Ilia Mirkin Cc: "10.2" --- src/mesa/state_tracker/st_cb_blit.c | 1 + src/mesa/state_tracker/st_cb_readpixels.c | 1 + src/mesa/state_tracker/st_cb_texture.c| 2 ++ 3 files

[Mesa-dev] [PATCH v2 1/3] gallium: add bit to pipe_blit_info to leave current query enabled

2014-05-10 Thread Ilia Mirkin
Previously the implication was that queries should be disabled during blits. However glBlitFramebuffer() is supposed to obey the current query, and this new bit will indicate that to the driver. Signed-off-by: Ilia Mirkin Cc: "10.2" --- v1 -> v2: Rename flag to "render_condition_enable" per M

Re: [Mesa-dev] [PATCH v2 1/3] gallium: add bit to pipe_blit_info to leave current query enabled

2014-05-10 Thread Marek Olšák
Patches 1 & 2: Reviewed-by: Marek Olšák Marek On Sun, May 11, 2014 at 2:34 AM, Ilia Mirkin wrote: > Previously the implication was that queries should be disabled during > blits. However glBlitFramebuffer() is supposed to obey the current > query, and this new bit will indicate that to the dri

[Mesa-dev] [PATCH 4/4] i965/gen8 depth: Set depth size based on LOD0 for 3D textures

2014-05-10 Thread Jordan Justen
Signed-off-by: Jordan Justen Cc: Chris Forbes --- src/mesa/drivers/dri/i965/gen8_depth_state.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/gen8_depth_state.c b/src/mesa/drivers/dri/i965/gen8_depth_state.c index 31d6d56..0bed3b4 100644 --- a/

[Mesa-dev] [PATCH 1/4] i965/gen7 renderbuffer: Set depth size based on LOD0 for 3D textures

2014-05-10 Thread Jordan Justen
If blorp is disabled for color clears, then piglit's 'gl-3.2-layered-rendering-clear-color-all-types 3d mipmapped' will fail. Currently, gen8 fails similarly on this test because gen8 does not use blorp. Signed-off-by: Jordan Justen Cc: Chris Forbes --- src/mesa/drivers/dri/i965/gen7_wm_surfac

[Mesa-dev] [PATCH 0/4] Set render depth size based on LOD0 for 3D textures

2014-05-10 Thread Jordan Justen
These patches were prompted by fixing piglit's gl-3.2-layered-rendering-clear-color-all-types 3d mipmapped on gen8. ("i965/gen8 renderbuffer" patch) For Haswell I was able to force a similar failure on Haswell by disabling blorp color clears, and "i965/gen7 renderbuffer" also fixes that. For the

[Mesa-dev] [PATCH 3/4] i965/gen7 depth: Set depth size based on LOD0 for 3D textures

2014-05-10 Thread Jordan Justen
Signed-off-by: Jordan Justen Cc: Chris Forbes --- src/mesa/drivers/dri/i965/gen7_misc_state.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/gen7_misc_state.c b/src/mesa/drivers/dri/i965/gen7_misc_state.c index d8efa76..22911bf 100644 --- a/src

[Mesa-dev] [PATCH 2/4] i965/gen8 renderbuffer: Set depth size based on LOD0 for 3D textures

2014-05-10 Thread Jordan Justen
Fixes piglit's 'gl-3.2-layered-rendering-clear-color-all-types 3d mipmapped' Signed-off-by: Jordan Justen Cc: Chris Forbes --- src/mesa/drivers/dri/i965/gen8_surface_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/gen8_surface_state.c b/src