Re: [Mesa-dev] [PATCH v2] glsl: avoid compiler's segfault when processing operators with void arguments

2015-07-15 Thread Samuel Iglesias Gonsálvez
On 13/07/15 13:06, Samuel Iglesias Gonsálvez wrote: > On 11/07/15 19:38, Renaud Gaubert wrote: >> This is done by returning an rvalue of type void in the >> ast_function_expression::hir function instead of a void expression. >> >> This produces (in the case of the ternary) an hir with a call >> t

Re: [Mesa-dev] Register spilling issues in the NIR->vec4 backend

2015-07-15 Thread Iago Toral
On Wed, 2015-07-15 at 11:02 -0700, Connor Abbott wrote: > On Wed, Jul 15, 2015 at 7:49 AM, Iago Toral wrote: > > Hi, > > > > when we sent the patches for the new nir->vec4 backend we mentioned that > > we had a few dEQP tests that would fail to link because of register > > spilling. Now that we ha

[Mesa-dev] [PATCH] c99_math: Implement exp2f for MSVC.

2015-07-15 Thread Matt Turner
--- This will go in before my double promotion series which uses exp2f. include/c99_math.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/c99_math.h b/include/c99_math.h index 7ed7cc2..0ca5a73 100644 --- a/include/c99_math.h +++ b/include/c99_math.h @@ -140,6 +140,12 @@ llrintf

[Mesa-dev] [PATCH] glsl: Remove MSVC implementations of copysign and isnormal.

2015-07-15 Thread Matt Turner
Non-Gallium parts of Mesa require MSVC 2013 which provides these. --- src/glsl/ir_constant_expression.cpp | 14 +- src/glsl/nir/nir_constant_expressions.py | 14 +- 2 files changed, 2 insertions(+), 26 deletions(-) diff --git a/src/glsl/ir_constant_expression.cpp b/s

Re: [Mesa-dev] [PATCH 11/14] mesa: add API dispatch for GL_ARB_get_texture_sub_image

2015-07-15 Thread Roland Scheidegger
Am 16.07.2015 um 02:18 schrieb Ilia Mirkin: > On Wed, Jul 15, 2015 at 7:40 PM, Brian Paul wrote: >> This adds the new glGetTextureSubImage() and >> glGetCompressedTextureSubImage() functions. Also update the >> dispatch sanity test program. >> >> v2: remove stray brace, move xi:include line in gl

Re: [Mesa-dev] [PATCH 3/4] radeon: fix some potential big endian issues

2015-07-15 Thread Roland Scheidegger
Am 13.07.2015 um 17:58 schrieb Emil Velikov: > On 11 July 2015 at 19:39, wrote: > >> @@ -186,17 +172,24 @@ static inline void emit_cb_setup(struct r100_context >> *r100, >> >> /* XXX others? BE/LE? */ > Drop the BE/LE part of the comment ? > >> switch (mesa_format) { >> +/* le *

Re: [Mesa-dev] [PATCH 08/14] mesa: overhaul the glGetTexImage code

2015-07-15 Thread Ilia Mirkin
The reason why you chose to call select_tex_image() several times through a get_tex_image flow eludes me. Why not just get it once at the beginning and pass it around? The old APIs also used a gl_texture_image and not a gl_texture_object. (Obviously the object is implicitly gettable from the image

Re: [Mesa-dev] [PATCH 11/14] mesa: add API dispatch for GL_ARB_get_texture_sub_image

2015-07-15 Thread Ilia Mirkin
On Wed, Jul 15, 2015 at 7:40 PM, Brian Paul wrote: > This adds the new glGetTextureSubImage() and > glGetCompressedTextureSubImage() functions. Also update the > dispatch sanity test program. > > v2: remove stray brace, move xi:include line in gl_API.xml, fix extension > number typo, s/program/te

[Mesa-dev] [PATCH 04/14] mesa: plumb offset/size parameters through GetTexSubImage code

2015-07-15 Thread Brian Paul
Needed for GL_ARB_get_texture_sub_image. But at this point, the offsets are always zero and the sizes match the whole texture image. v2: Fixes, suggestions from Laura Ekstrand: * Fix calls to ctx->Driver.UnmapTextureImage() to pass the correct slice value. * Added comments and assertions to che

[Mesa-dev] [PATCH 02/14] meta: add offset, width, height parameters to decompress_texture_image()

2015-07-15 Thread Brian Paul
In preparation for decompressing texture sub images. Reviewed-by: Ilia Mirkin --- src/mesa/drivers/common/meta.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index 54c3d5a..34a8e4b 100644 --- a/src/

[Mesa-dev] [PATCH 09/14] mesa: overhaul the glGetCompressedTexImage code

2015-07-15 Thread Brian Paul
Same idea as the previous patch. --- src/mesa/main/texgetimage.c | 345 ++-- 1 file changed, 203 insertions(+), 142 deletions(-) diff --git a/src/mesa/main/texgetimage.c b/src/mesa/main/texgetimage.c index 49239e7..6ac1779 100644 --- a/src/mesa/main/texgeti

[Mesa-dev] [PATCH 07/14] mesa: 80-column wrapping in texgetimage.c

2015-07-15 Thread Brian Paul
Reviewed-by: Ilia Mirkin --- src/mesa/main/texgetimage.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/mesa/main/texgetimage.c b/src/mesa/main/texgetimage.c index fb3c2c8..e180a4c 100644 --- a/src/mesa/main/texgetimage.c +++ b/src/mesa/main/texgetimage.c @@

[Mesa-dev] [PATCH 13/14] docs: document that GL_ARB_get_texture_sub_image is completed

2015-07-15 Thread Brian Paul
--- docs/GL3.txt | 2 +- docs/relnotes/10.7.0.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/GL3.txt b/docs/GL3.txt index 33a282e..2144257 100644 --- a/docs/GL3.txt +++ b/docs/GL3.txt @@ -202,7 +202,7 @@ GL 4.5, GLSL 4.50: - Sampler object

[Mesa-dev] [PATCH 12/14] mesa: enable GL_ARB_get_texture_sub_image for all drivers

2015-07-15 Thread Brian Paul
--- src/mesa/main/extensions.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index d753e5f..7deb823 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -121,6 +121,7 @@ static const struct extension extension_tab

[Mesa-dev] [PATCH 01/14] meta: handle subimages in _mesa_meta_setup_texture_coords()

2015-07-15 Thread Brian Paul
v2: fix depth, total_depth mix-up in meta.h, per Laura Ekstrand. --- src/mesa/drivers/common/meta.c | 88 +- src/mesa/drivers/common/meta.h | 6 +- src/mesa/drivers/common/meta_generate_mipmap.c | 4 +- 3 files changed, 65 insertions(+), 33

[Mesa-dev] [PATCH 10/14] mesa: add new _mesa_Get[Compressed]TextureSubImage() functions

2015-07-15 Thread Brian Paul
Simple implementations in terms of get_[compressed_]texture_image(). --- src/mesa/main/texgetimage.c | 62 - src/mesa/main/texgetimage.h | 15 +++ 2 files changed, 76 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/texgetimage.c b/src/me

[Mesa-dev] [PATCH 14/14] mesa: s/GLint/GLsizei/ for consistency

2015-07-15 Thread Brian Paul
--- src/mesa/main/dd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index ae01770..87eb63e 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -328,7 +328,7 @@ struct dd_function_table { void (*CompressedTexSubImage)(struct

[Mesa-dev] [PATCH 03/14] mesa: replace Driver.GetTexImage with GetTexSubImage()

2015-07-15 Thread Brian Paul
The new driver hook has x/y/zoffset and width/height/depth parameters for the new glGetTextureSubImage() function. The meta code and gallium state tracker are updated to handle the new parameters. Callers to Driver.GetTexSubImage() pass in offsets=0 and sizes equal to the whole texture size. v2:

[Mesa-dev] [PATCH 08/14] mesa: overhaul the glGetTexImage code

2015-07-15 Thread Brian Paul
1. Reorganize the error checking code. 2. Lay groundwork for getting sub images by passing image offset and dimensions to the error checking code. 3. Implement _mesa_GetnTexImageARB(), _mesa_GetTexImage() and _mesa_GetTextureImage() all in terms of get_texture_image(). v2: pass offset/width/

[Mesa-dev] [PATCH 05/14] mesa: make _mesa_get_[compressed_]texture_image() static

2015-07-15 Thread Brian Paul
These functions are only called from teximage.c Reviewed-by: Ilia Mirkin --- src/mesa/main/texgetimage.c | 24 src/mesa/main/texgetimage.h | 7 --- 2 files changed, 12 insertions(+), 19 deletions(-) diff --git a/src/mesa/main/texgetimage.c b/src/mesa/main/texgetima

[Mesa-dev] [PATCH 11/14] mesa: add API dispatch for GL_ARB_get_texture_sub_image

2015-07-15 Thread Brian Paul
This adds the new glGetTextureSubImage() and glGetCompressedTextureSubImage() functions. Also update the dispatch sanity test program. v2: remove stray brace, move xi:include line in gl_API.xml, fix extension number typo, s/program/texture/ in xml file. --- src/mapi/glapi/gen/ARB_get_texture_sub

[Mesa-dev] [PATCH 06/14] mesa: replace Driver.GetCompressedTexImage() w/ GetCompressedTexSubImage()

2015-07-15 Thread Brian Paul
For now, pass offsets of zero and width/height/depth equal to the whole image. Reviewed-by: Ilia Mirkin --- src/mesa/drivers/common/driverfuncs.c | 2 +- src/mesa/main/dd.h | 9 ++--- src/mesa/main/texgetimage.c| 28 src/mesa/ma

Re: [Mesa-dev] [PATCH 08/13] mesa: overhaul the glGetTexImage code

2015-07-15 Thread Brian Paul
On 07/14/2015 03:54 PM, Ilia Mirkin wrote: On Mon, Jul 13, 2015 at 9:21 PM, Brian Paul wrote: 1. Reorganize the error checking code. 2. Lay groundwork for getting sub images. 3. Implement _mesa_GetnTexImageARB(), _mesa_GetTexImage() and _mesa_GetTextureImage() all in terms of get_texture_im

Re: [Mesa-dev] [PATCH 2/5] i965/miptree: Cleanup some of the miptree map logic

2015-07-15 Thread Anuj Phogat
On Tue, Jul 14, 2015 at 9:56 AM, Ben Widawsky wrote: > At the crux of this change is moving whether or not we can even use the > hardware > blitter into the can_blit_slice check. Fundamentally this makes sense as > blitting a slice is a subset in functionality of being able to use the blitter > a

Re: [Mesa-dev] [PATCH 1/5] i965: Push miptree tiling request into flags

2015-07-15 Thread Anuj Phogat
On Tue, Jul 14, 2015 at 9:56 AM, Ben Widawsky wrote: > With the last few patches a way was provided to influence lower layer miptree > layout and allocation decisions via flags (replacing bools). For simplicity, I > chose not to touch the tiling requests because the change was slightly less > mech

Re: [Mesa-dev] [PATCH 03/13] gallium/auxiliary: Use exp2(x) instead of pow(2.0, x).

2015-07-15 Thread Roland Scheidegger
Am 15.07.2015 um 21:58 schrieb Matt Turner: > On Wed, Jul 15, 2015 at 12:44 PM, Matt Turner wrote: >> On Mon, Jul 13, 2015 at 5:13 PM, Roland Scheidegger >> wrote: >>> Did you replace 2 of them by exp2f but one by exp2f on purpose? >>> >>> I don't think we can use exp2/exp2f in gallium. This req

Re: [Mesa-dev] Register spilling issues in the NIR->vec4 backend

2015-07-15 Thread Ben Widawsky
On Wed, Jul 15, 2015 at 11:02:03AM -0700, Connor Abbott wrote: > On Wed, Jul 15, 2015 at 7:49 AM, Iago Toral wrote: > > Hi, > > > > when we sent the patches for the new nir->vec4 backend we mentioned that > > we had a few dEQP tests that would fail to link because of register > > spilling. Now tha

Re: [Mesa-dev] [PATCH 03/13] gallium/auxiliary: Use exp2(x) instead of pow(2.0, x).

2015-07-15 Thread Roland Scheidegger
Am 15.07.2015 um 21:44 schrieb Matt Turner: > On Mon, Jul 13, 2015 at 5:13 PM, Roland Scheidegger > wrote: >> Did you replace 2 of them by exp2f but one by exp2f on purpose? >> >> I don't think we can use exp2/exp2f in gallium. This requires msvc 2013 >> (all of exp2, exp2f, powf are c99, powf is

Re: [Mesa-dev] [PATCH] i965: Fix comment about DRM_IOCTL_I915_GEM_WAIT.

2015-07-15 Thread Kristian Høgsberg
On Wed, Jul 15, 2015 at 12:41 PM, Chris Wilson wrote: > On Wed, Jul 15, 2015 at 12:20:15PM -0700, Kristian Høgsberg wrote: >> On Wed, Jul 15, 2015 at 10:22 AM, Kenneth Graunke >> wrote: >> > From: Chris Wilson >> > >> > The kernel actually waits forever when supplied a timeout value < 0, >> > r

Re: [Mesa-dev] [PATCH 03/13] gallium/auxiliary: Use exp2(x) instead of pow(2.0, x).

2015-07-15 Thread Matt Turner
On Wed, Jul 15, 2015 at 12:44 PM, Matt Turner wrote: > On Mon, Jul 13, 2015 at 5:13 PM, Roland Scheidegger > wrote: >> Did you replace 2 of them by exp2f but one by exp2f on purpose? >> >> I don't think we can use exp2/exp2f in gallium. This requires msvc 2013 >> (all of exp2, exp2f, powf are c9

Re: [Mesa-dev] [PATCH 13/13] mesa: Avoid double promotion.

2015-07-15 Thread Matt Turner
On Tue, Jul 14, 2015 at 4:45 AM, Iago Toral wrote: > On Mon, 2015-07-13 at 16:22 -0700, Matt Turner wrote: >> case GL_READ_BUFFER: >> diff --git a/src/mesa/main/light.c b/src/mesa/main/light.c >> index 4021dbe..fe2ce8c 100644 >> --- a/src/mesa/main/light.c >> +++ b/src/mesa/main/light.c >> @@

Re: [Mesa-dev] [PATCH 09/13] tnl: Avoid double promotion.

2015-07-15 Thread Matt Turner
On Tue, Jul 14, 2015 at 3:53 AM, Iago Toral wrote: > On Mon, 2015-07-13 at 16:22 -0700, Matt Turner wrote: >> There are a couple of unrelated changes in t_vb_lighttmp.h that I hope >> you'll excuse -- there's a block of code that's duplicated modulo a few >> trivial differences that I took the lib

Re: [Mesa-dev] [PATCH 03/13] gallium/auxiliary: Use exp2(x) instead of pow(2.0, x).

2015-07-15 Thread Matt Turner
On Mon, Jul 13, 2015 at 5:13 PM, Roland Scheidegger wrote: > Did you replace 2 of them by exp2f but one by exp2f on purpose? > > I don't think we can use exp2/exp2f in gallium. This requires msvc 2013 > (all of exp2, exp2f, powf are c99, powf is supported by older msvc but > the others are not). I

Re: [Mesa-dev] [PATCH] i965: Fix comment about DRM_IOCTL_I915_GEM_WAIT.

2015-07-15 Thread Chris Wilson
On Wed, Jul 15, 2015 at 12:20:15PM -0700, Kristian Høgsberg wrote: > On Wed, Jul 15, 2015 at 10:22 AM, Kenneth Graunke > wrote: > > From: Chris Wilson > > > > The kernel actually waits forever when supplied a timeout value < 0, > > rather than returning immediately. See i915_gem_wait_ioctl() in

Re: [Mesa-dev] [PATCH 00/13] Avoid double promotion

2015-07-15 Thread Matt Turner
On Tue, Jul 14, 2015 at 4:32 AM, Daniel Stone wrote: > Hi, > > On 14 July 2015 at 00:22, Matt Turner wrote: > but it's not really >> useful in general because float arguments are always cast to double >> when passed as arguments to varargs functions like printf (why?), and >> it warns about that,

Re: [Mesa-dev] [PATCH 01/13] mesa: Use floats for viewport bounds.

2015-07-15 Thread Matt Turner
On Wed, Jul 15, 2015 at 12:48 AM, Mathias Fröhlich wrote: > > > Hi Matt, > > > > On Monday, July 13, 2015 16:22:03 Matt Turner wrote: > >> ARB_viewport_array specifies that DEPTH_RANGE consists of double- > >> precision parameters (corresponding commit d4dc35987), and a preparatory > >> commit (63

Re: [Mesa-dev] [PATCH] i965: Fix comment about DRM_IOCTL_I915_GEM_WAIT.

2015-07-15 Thread Kristian Høgsberg
On Wed, Jul 15, 2015 at 10:22 AM, Kenneth Graunke wrote: > From: Chris Wilson > > The kernel actually waits forever when supplied a timeout value < 0, > rather than returning immediately. See i915_gem_wait_ioctl() in > i915_gem.c's call to __i915_wait_request(). > > (split by Ken from a large pa

Re: [Mesa-dev] Seeking advice speeding up glsl optimisation passes for AoA

2015-07-15 Thread Connor Abbott
On Wed, Jul 15, 2015 at 11:53 AM, Eric Anholt wrote: > Timothy Arceri writes: > >> Hi guys, >> >> As I've mentioned a couple of times in previous patches some of the cts AoA >> tests are taking very long time to compile. This is due to excessive >> optimisation passes mainly in the glsl optimisat

Re: [Mesa-dev] Seeking advice speeding up glsl optimisation passes for AoA

2015-07-15 Thread Eric Anholt
Timothy Arceri writes: > Hi guys, > > As I've mentioned a couple of times in previous patches some of the cts AoA > tests are taking very long time to compile. This is due to excessive > optimisation passes mainly in the glsl optimisations (there are some slowdowns > in the intel backend too but

[Mesa-dev] [PATCH] nir: Add a value range propagation pass

2015-07-15 Thread Thomas Helland
Hi Matt, I've commented on some of your feedback down below. The rest is taken note of and I'll be fixing it up later. 2015-07-15 19:18 GMT+02:00 Matt Turner : > On Tue, Jul 14, 2015 at 4:29 PM, Thomas Helland > wrote: >> Signed-off-by: Thomas Helland >> --- >> src/glsl/Makefile.sources

Re: [Mesa-dev] Register spilling issues in the NIR->vec4 backend

2015-07-15 Thread Connor Abbott
On Wed, Jul 15, 2015 at 7:49 AM, Iago Toral wrote: > Hi, > > when we sent the patches for the new nir->vec4 backend we mentioned that > we had a few dEQP tests that would fail to link because of register > spilling. Now that we have added GS support we see a few instances of > this problem popping

Re: [Mesa-dev] [PATCH 2/5] i965/fs: fix stride and type for hw_reg's in regs_read()

2015-07-15 Thread Jason Ekstrand
On Wed, Jul 15, 2015 at 4:31 AM, Francisco Jerez wrote: > Connor Abbott writes: > >> On Tue, Jul 14, 2015 at 6:02 AM, Francisco Jerez >> wrote: >>> Connor Abbott writes: >>> sources with file == HW_REG get all their information from the fixed_hw_reg field, so we need to get the strid

[Mesa-dev] [PATCH] i965: Fix comment about DRM_IOCTL_I915_GEM_WAIT.

2015-07-15 Thread Kenneth Graunke
From: Chris Wilson The kernel actually waits forever when supplied a timeout value < 0, rather than returning immediately. See i915_gem_wait_ioctl() in i915_gem.c's call to __i915_wait_request(). (split by Ken from a large patch authored by Chris Wilson) Reviewed-by: Kenneth Graunke --- src/

Re: [Mesa-dev] [PATCH] nir: Add a value range propagation pass

2015-07-15 Thread Matt Turner
On Tue, Jul 14, 2015 at 4:29 PM, Thomas Helland wrote: > Signed-off-by: Thomas Helland > --- > src/glsl/Makefile.sources |1 + > src/glsl/nir/nir.h |2 + > src/glsl/nir/nir_opt_value_range.c | 1330 > > 3 files changed, 1333

[Mesa-dev] [PATCH 3/3] i965: Mark default case of type_sz() unreachable.

2015-07-15 Thread Matt Turner
Otherwise Coverity thinks we'll divide by zero. --- src/mesa/drivers/dri/i965/brw_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_reg.h b/src/mesa/drivers/dri/i965/brw_reg.h index c8b1341..f96b28d 100644 --- a/src/mesa/drivers/dri/i965/brw_r

[Mesa-dev] [PATCH 2/3] i965/cfg: Assert that cur_do/while/if pointers are non-NULL.

2015-07-15 Thread Matt Turner
More.. like in commit 4d93a07c. --- src/mesa/drivers/dri/i965/brw_cfg.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_cfg.cpp b/src/mesa/drivers/dri/i965/brw_cfg.cpp index f1f230e..91d53ef 100644 --- a/src/mesa/drivers/dri/i965/brw_cfg.cpp +++ b/src/mesa/d

[Mesa-dev] [PATCH 1/3] egl/dri2: Close file descriptor on error.

2015-07-15 Thread Matt Turner
--- src/egl/drivers/dri2/platform_drm.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/egl/drivers/dri2/platform_drm.c b/src/egl/drivers/dri2/platform_drm.c index 0d1f4c6..a8c5401 100644 --- a/src/egl/drivers/dri2/platform_drm.c +++ b/src/egl/drivers/dri2/platform_dr

Re: [Mesa-dev] [PATCH 1/2] mesa: Detect and provide macros for function attributes pure and const.

2015-07-15 Thread Matt Turner
On Tue, Jul 14, 2015 at 11:45 AM, Eric Anholt wrote: > These are really useful hints to the compiler in the absence of link-time > optimization, and I'm going to use them in VC4. > > I've made the const attribute be ATTRIBUTE_CONST unlike other function > attributes, because we have other things i

Re: [Mesa-dev] [PATCH] mesa: include stdarg.h for va_list

2015-07-15 Thread Matt Turner
Acked-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] mesa: include stdarg.h for va_list

2015-07-15 Thread Jonathan Gray
Include stdarg.h for va_list. Unbreaks the build on OpenBSD: In file included from mesa/program/dummy_errors.c:24: ../src/mesa/main/errors.h:85: error: expected declaration specifiers or '...' be fore 'va_list' Signed-off-by: Jonathan Gray --- src/mesa/main/errors.h | 1 + 1 file changed, 1 in

[Mesa-dev] Register spilling issues in the NIR->vec4 backend

2015-07-15 Thread Iago Toral
Hi, when we sent the patches for the new nir->vec4 backend we mentioned that we had a few dEQP tests that would fail to link because of register spilling. Now that we have added GS support we see a few instances of this problem popping up in a few GS piglit tests too, for example this one: tests/

[Mesa-dev] [Bug 91337] OSMesaGetProcAdress("OSMesaPixelStore") returns nil

2015-07-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91337 Brian Paul changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [PATCH] Match swrast modes more loosely.

2015-07-15 Thread Jose Fonseca
From: Tom Hughes https://bugs.freedesktop.org/show_bug.cgi?id=90817 Signed-off-by: Jose Fonseca --- src/glx/dri_common.c | 59 +++- 1 file changed, 58 insertions(+), 1 deletion(-) diff --git a/src/glx/dri_common.c b/src/glx/dri_common.c index 63

Re: [Mesa-dev] [Mesa-stable] [PATCH] osmesa: fix OSMesaPixelsStore typo

2015-07-15 Thread Emil Velikov
On 15 July 2015 at 13:23, Brian Paul wrote: > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91337 > Cc: 10.6 Seems like it was broken since day 1 with commit 01dc182ee86(added OSMesaGetProcAddress()) Reviewed-by: Emil Velikov -Emil ___ mesa-

Re: [Mesa-dev] Seeking advice speeding up glsl optimisation passes for AoA

2015-07-15 Thread Timothy Arceri
On Wed, 2015-07-15 at 16:42 +1000, Timothy Arceri wrote: > Hi guys, > > As I've mentioned a couple of times in previous patches some of the cts AoA > tests are taking very long time to compile. This is due to excessive > optimisation passes mainly in the glsl optimisations (there are some > slowd

[Mesa-dev] [PATCH] osmesa: fix OSMesaPixelsStore typo

2015-07-15 Thread Brian Paul
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91337 Cc: 10.6 --- src/gallium/state_trackers/osmesa/osmesa.c | 2 +- src/mesa/drivers/osmesa/osmesa.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/osmesa/osmesa.c b/src/gallium/

[Mesa-dev] [Bug 91337] OSMesaGetProcAdress("OSMesaPixelStore") returns nil

2015-07-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91337 --- Comment #1 from Brian Paul --- Thanks. Patch posted to mesa-dev for review. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. ___ mesa-d

Re: [Mesa-dev] [PATCH 2/5] i965/fs: fix stride and type for hw_reg's in regs_read()

2015-07-15 Thread Francisco Jerez
Connor Abbott writes: > On Tue, Jul 14, 2015 at 6:02 AM, Francisco Jerez > wrote: >> Connor Abbott writes: >> >>> sources with file == HW_REG get all their information from the >>> fixed_hw_reg field, so we need to get the stride and type from there >>> when computing the size. >>> >>> Signed-

Re: [Mesa-dev] [PATCH] libdrm/amdgpu: Use private fd for amdgpu_device and winsys hash table to fix ZaphodHeads.

2015-07-15 Thread Marek Olšák
Acked-by: Marek Olšák Marek On Wed, Jul 15, 2015 at 7:15 AM, Mario Kleiner wrote: > The amdgpu_device for a device node needs its own dup'ed fd, instead > of using the original fd passed in for a screen, to make multi-x-screen > ZaphodHeads configurations work on amdgpu. > > The original fd's l

[Mesa-dev] [Bug 90264] [Regression, bisected] Tooltip corruption in Chrome

2015-07-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90264 --- Comment #36 from Michel Dänzer --- (In reply to Heiko from comment #35) > Iirc from my last post, radeon_draw_buffer() does re-evaluate window sizes. > That's probably why the reverted commit makes things work again. Ken, do you think it's p

Re: [Mesa-dev] [PATCH 01/13] mesa: Use floats for viewport bounds.

2015-07-15 Thread Mathias Fröhlich
Hi Matt, On Monday, July 13, 2015 16:22:03 Matt Turner wrote: > ARB_viewport_array specifies that DEPTH_RANGE consists of double- > precision parameters (corresponding commit d4dc35987), and a preparatory > commit (6340e609a) added _mesa_get_viewport_xform() which returned > double-precision scale

Re: [Mesa-dev] [PATCH 02/10] i965: Reduce the scope of input in buffer tex setup

2015-07-15 Thread Pohjolainen, Topi
On Tue, Jul 14, 2015 at 04:48:19PM -0700, Ben Widawsky wrote: > On Wed, Jul 01, 2015 at 02:46:32PM +0300, Topi Pohjolainen wrote: > > Signed-off-by: Topi Pohjolainen > > I swear I am not trying to nitpick but I don't actually understand what your > goal of the patch is. Could you maybe elaborate

Re: [Mesa-dev] [PATCH] libdrm/amdgpu: Use private fd for amdgpu_device and winsys hash table to fix ZaphodHeads.

2015-07-15 Thread Christian König
On 15.07.2015 07:15, Mario Kleiner wrote: The amdgpu_device for a device node needs its own dup'ed fd, instead of using the original fd passed in for a screen, to make multi-x-screen ZaphodHeads configurations work on amdgpu. The original fd's lifetime differs from that of the amdgpu_device, and