Re: [Mesa-dev] [PATCH] gallivm: fix lp_build_compare_ext

2015-07-04 Thread Vinson Lee
On Fri, Jul 3, 2015 at 6:05 PM, srol...@vmware.com wrote: From: Roland Scheidegger srol...@vmware.com The expansion should always be to the same width as the input arguments no matter what, since these functions should work with any bit width of the arguments (the sext is a no-op on any sane

Re: [Mesa-dev] [PATCH RFC] egl/dri2: Add dri3 support to x11 platform

2015-07-04 Thread Axel Davy
On 04/07/2015 05:18, Boyan Ding wrote : Hi Emil, On 07/03/2015 10:36 PM, Emil Velikov wrote: [snip] +/* FIXME: Is this right? Seems problematic for WL_bind_wayland_display */ What seems to be the problem ? Afaik xcb_dri3_open_reply_fds should return an FD which is ok (be that a

Re: [Mesa-dev] [PATCH RFC] egl/dri2: Add dri3 support to x11 platform

2015-07-04 Thread Boyan Ding
On 07/04/2015 04:17 PM, Axel Davy wrote: On 04/07/2015 05:18, Boyan Ding wrote : Hi Emil, On 07/03/2015 10:36 PM, Emil Velikov wrote: [snip] +/* FIXME: Is this right? Seems problematic for WL_bind_wayland_display */ What seems to be the problem ? Afaik xcb_dri3_open_reply_fds should

[Mesa-dev] [PATCH] glsl: set stage flag for structs and arrays in resource list

2015-07-04 Thread Timothy Arceri
This fixes: ES31-CTS.program_interface_query.uniform-types Cc: Tapani Pälli tapani.pa...@intel.com --- Note: This only fixes the remaining CTS subtests for uniform-types the other fixes are part of my clean-up series: http://lists.freedesktop.org/archives/mesa-dev/2015-July/088122.html

Re: [Mesa-dev] [PATCH V2 1/4] glsl: check for leading zeros in array index validation

2015-07-04 Thread Timothy Arceri
I didn't notice earlier but it seems this series also fixes some CTS subtests for example some test are fixed in ES31-CTS.program_interface_query.uniform -types. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

Re: [Mesa-dev] [PATCH] glapi: fix argument parsing in glX_proto_recv.py

2015-07-04 Thread Emil Velikov
Seems like there is a misunderstanding somewhere - perhaps some on my end. Yet I do recall Adam Jackson stating on numerous occasions, on IRC, that we don't want/need any sources from mesa (outside dri_interface.h and the gl* headers) for xserver. Adam can we truly nuke (some of) the generated

[Mesa-dev] [Bug 91226] Crash in glLinkProgram (NEW)

2015-07-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91226 --- Comment #1 from Neil Roberts n...@linux.intel.com --- It looks this is a bug in Mesa. I've filed a patch for it here: http://lists.freedesktop.org/archives/mesa-dev/2015-July/088138.html The buggy code looks like it is trying to match

[Mesa-dev] [PATCH 1/2] glsl: Add missing check for whether an expression is an add operation

2015-07-04 Thread Neil Roberts
There is a piece of code that is trying to match expressions of the form (mul (floor (add (abs x) 0.5) (sign x))). However the check for the add expression wasn't checking whether it had the expected operation. It looks like this was just an oversight because it doesn't match the pattern for the

[Mesa-dev] [PATCH 2/2] glsl: Make sure not to dereference NULL

2015-07-04 Thread Neil Roberts
In this bit of code point_five can be NULL if the expression is not a constant. This fixes it to match the pattern of the rest of the chunk of code so that it checks for NULLs. Cc: Matt Turner matts...@gmail.com Cc: 10.6 mesa-sta...@lists.freedesktop.org --- src/glsl/opt_algebraic.cpp | 2 +- 1

[Mesa-dev] [Bug 91226] Crash in glLinkProgram (NEW)

2015-07-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91226 x414...@linux.com changed: What|Removed |Added Version|git |10.6 -- You are receiving this mail

[Mesa-dev] [PATCH] program: Allow redundant OPTION ARB_fog_* directives.

2015-07-04 Thread Kenneth Graunke
A fragment program from Pixel Piracy contains redundant OPTION directives: !!ARBfp1.0 OPTION ARB_precision_hint_fastest; OPTION ARB_fog_exp2; OPTION ARB_precision_hint_fastest; OPTION ARB_fog_exp2; ... We already allow redundant ARB_precision_hint_fastest directives, but disallow the redundant

[Mesa-dev] [Bug 91226] Crash in glLinkProgram (NEW)

2015-07-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91226 Bug ID: 91226 Summary: Crash in glLinkProgram (NEW) Product: Mesa Version: git Hardware: All OS: All Status: NEW Severity: normal Priority:

[Mesa-dev] Mesa 10.5.9

2015-07-04 Thread Emil Velikov
Mesa 10.5.9 is now available. The present queue consist of many driver fixes - nouveau, i915, i965, r600/radeonsi, alongside GLSL ones (amongst which a Dota2 Reborn bugfix) and a few build related cleanups. NOTE: It is anticipated that 10.5.9 will be the final release in the 10.5 series. Users