counterpart to the CreateDmaBufImageINTEL function, but far more convenient
Signed-off-by: Jonathan
---
include/vulkan/vulkan_intel.h | 9 +
src/intel/vulkan/anv_intel.c | 30 ++
2 files changed, 39 insertions(+)
diff --git a/include/vulkan/vulkan_intel.h
I followed your suggestions and changed the prototype, although the
implementation only supports basic formats
---
include/vulkan/vulkan_intel.h | 17 +++
src/intel/vulkan/anv_intel.c | 49 +++
2 files changed, 66 insertions(+)
diff --git a/in
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
$(RM) is set to 'rm -f' by GNU make, this is not true of other versions
of make and RM is not one of the macros required by POSIX.
Signed-off-by: Jonathan Gray
---
Makefile.am | 2 +-
src/gallium/targets/dri/Makefile.am | 6 +++---
src/gallium/tar
On Tue, Oct 13, 2015 at 11:25:08AM +0100, Emil Velikov wrote:
> On 10 October 2015 at 07:42, Jonathan Gray wrote:
> > GNU make predefines RM to rm -f but this is not required by POSIX
> > so ensure that RM is set. This fixes "make clean" on OpenBSD.
> >
>
Including under __GNUC__ is going to break the build of
Mesa on everything compiled with clang/gcc that isn't Linux.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
OpenBSD has ffs in libc but does not have ffsll so use the compiler
builtin. PIPE_OS_BSD isn't suitable here as FreeBSD has ffsll in libc.
Signed-off-by: Jonathan Gray
---
src/gallium/auxiliary/util/u_math.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/auxiliary
On Fri, Feb 06, 2015 at 08:11:51AM -0700, Brian Paul wrote:
> On 02/06/2015 04:38 AM, Jonathan Gray wrote:
> >OpenBSD has ffs in libc but does not have ffsll so use the compiler
> >builtin. PIPE_OS_BSD isn't suitable here as FreeBSD has ffsll in libc.
> >
>
The length argument passed to sysctl was the size of the pointer
not the type. The result of this is sysctl calls would fail on
32 bit BSD/Mac OS X.
Additionally the wrong pointer was passed as an argument to store
the result of the sysctl call.
Cc: "10.4, 10.5"
Signed-off-by: Jon
On Tue, Feb 24, 2015 at 04:53:03PM +, Emil Velikov wrote:
> On 22 February 2015 at 08:19, Jonathan Gray wrote:
> > The length argument passed to sysctl was the size of the pointer
> > not the type. The result of this is sysctl calls would fail on
> > 32 bit BSD/Mac OS X.
On Wed, Feb 25, 2015 at 08:49:52PM +, Emil Velikov wrote:
> On 24/02/15 22:48, Jonathan Gray wrote:
> > On Tue, Feb 24, 2015 at 04:53:03PM +, Emil Velikov wrote:
> >> On 22 February 2015 at 08:19, Jonathan Gray wrote:
> >>> The length argument passed to sysc
On Mon, Feb 09, 2015 at 07:22:35PM +, Jose Fonseca wrote:
> On 09/02/15 16:59, Jon TURNEY wrote:
> >On 06/02/2015 19:58, Matt Turner wrote:
> >>On Fri, Feb 6, 2015 at 3:38 AM, Jonathan Gray wrote:
> >>>OpenBSD has ffs in libc but does not have ffsll so
On Wed, Feb 25, 2015 at 10:43:39PM +, Emil Velikov wrote:
> On 25 February 2015 at 22:19, Jonathan Gray wrote:
> > On Wed, Feb 25, 2015 at 08:49:52PM +, Emil Velikov wrote:
> >> On 24/02/15 22:48, Jonathan Gray wrote:
> >> > On Tue, Feb 24, 2015 at 04:53:
On Wed, Feb 25, 2015 at 06:53:14PM -0800, Matt Turner wrote:
> On Wed, Feb 25, 2015 at 5:37 PM, Jonathan Gray wrote:
> > If it isn't going to be configure checks could someone merge the
> > original patch in this thread?
>
> I committed
>
> commit 3492e880
On Wed, Feb 25, 2015 at 07:09:26PM -0800, Matt Turner wrote:
> On Wed, Feb 25, 2015 at 7:03 PM, Jonathan Gray wrote:
> > On Wed, Feb 25, 2015 at 06:53:14PM -0800, Matt Turner wrote:
> >> On Wed, Feb 25, 2015 at 5:37 PM, Jonathan Gray wrote:
> >> > If it isn't
On Wed, Feb 15, 2017 at 11:11:50AM -0800, Matt Turner wrote:
> Provides the ability to read the .note.gnu.build-id section of ELF
> binaries, which is inserted by the --build-id=... flag to ld.
>
> Reviewed-by: Emil Velikov
I don't have time to dig into details right now but this broke the Mesa
On Thu, Feb 16, 2017 at 04:25:02PM +, Emil Velikov wrote:
> On 16 February 2017 at 14:23, Jonathan Gray wrote:
> > On Wed, Feb 15, 2017 at 11:11:50AM -0800, Matt Turner wrote:
> >> Provides the ability to read the .note.gnu.build-id section of ELF
> >> binarie
On Fri, Feb 17, 2017 at 08:30:17AM -0800, Matt Turner wrote:
> On Fri, Feb 17, 2017 at 5:39 AM, Emil Velikov
> wrote:
> > On 17 February 2017 at 01:10, Jonathan Gray wrote:
> >> On Thu, Feb 16, 2017 at 04:25:02PM +, Emil Velikov wrote:
> >>> On 16 Febr
Define ElfW() and NT_GNU_BUILD_ID if needed as these defines are not
present on at least OpenBSD and FreeBSD. Fixes the build on OpenBSD.
Signed-off-by: Jonathan Gray
---
src/util/build_id.c | 8
1 file changed, 8 insertions(+)
diff --git a/src/util/build_id.c b/src/util/build_id.c
On Thu, Feb 16, 2017 at 01:20:37PM +, Robert Bragg wrote:
> diff --git a/src/mesa/drivers/dri/i965/brw_performance_query.c
> b/src/mesa/drivers/dri/i965/brw_performance_query.c
> new file mode 100644
> index 00..f1b6f583bf
> --- /dev/null
> +++ b/src/mesa/drivers/dri/i965/brw_performan
On Fri, Aug 28, 2015 at 10:47:44AM +1000, Dave Airlie wrote:
> From: Dave Airlie
>
> This code we broken by the tess merge, and I totally missed it
> until now. I'm not sure this fixes anything but it stops the assert.
>
> Cc: "11.0"
> Signed-off-by: Dave Airlie
> ---
> src/gallium/drivers/r6
On Sun, Aug 30, 2015 at 01:38:49AM -0400, Ilia Mirkin wrote:
> On Sun, Aug 30, 2015 at 1:27 AM, Jonathan Gray wrote:
> > On Fri, Aug 28, 2015 at 10:47:44AM +1000, Dave Airlie wrote:
> >> From: Dave Airlie
> >>
> >> This code we broken by the tess merge, an
m drm device API. The latter can be implemented in any way
> depending on the platform and can be reused by others.
>
> Cc: Jonathan Gray
> Cc: Jean-S??bastien P??dron
> Signed-off-by: Emil Velikov
> ---
> Jonathan, Jean-S??bastien I believe I've prodded you guys for
On OpenBSD try to dlopen 'libglapi.so', ld.so will find
the highest major/minor version and open it in this case.
Avoids '#error Unknown glapi provider for this platform' at build time.
Signed-off-by: Jonathan Gray
---
src/egl/drivers/dri2/egl_dri2.c | 2 +-
1 file change
% pattern rules are a GNU extension. Convert the use of one to a
inference rule to allow this to build on OpenBSD.
This is a related change to the one made in
e3d43dc5eae5271e2c87bab702aa7409d3dd0b23
Signed-off-by: Jonathan Gray
---
src/intel/Makefile.genxml.am | 5 -
1 file changed, 4
The egl docs directory no longer exists as of
88b5c36fe1a1546bf633ee161a6715efc593acbd.
Remove it from EXTRA_DIST to unbreak 'make dist'
Signed-off-by: Jonathan Gray
---
src/egl/Makefile.am | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/egl/Makefile.am b/src/egl/Makefil
Building the Mesa 12.0.3 distfile failed on a system without python
as generated files were not included in the distfile.
Cc: "12.0"
Signed-off-by: Jonathan Gray
---
src/intel/Makefile.genxml.am | 4
1 file changed, 4 insertions(+)
diff --git a/src/intel/Makefile.genxml.am b
Add mesa_glinterop.h to the list of headers that will get included
in the distfile as it is required to build Mesa itself.
Corrects a regression introduced in a89faa2022fd995af2019c886b152b49a01f9392.
Signed-off-by: Jonathan Gray
---
src/Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1
On Sun, Oct 16, 2016 at 11:08:42PM +1100, Jonathan Gray wrote:
> Building the Mesa 12.0.3 distfile failed on a system without python
> as generated files were not included in the distfile.
>
> Cc: "12.0"
> Signed-off-by: Jonathan Gray
> ---
> src/intel/Makefi
error() is a gnu extension and is not present on OpenBSD
and likely other systems.
Convert use of error to fprintf/strerror/exit.
Signed-off-by: Jonathan Gray
---
src/intel/tools/aubinator.c | 46 +
1 file changed, 30 insertions(+), 16 deletions
program_invocation_short_name is a gnu extension. Limit use of it
to glibc and cygwin and otherwise use getprogname() which is available
on BSD and OS X.
Signed-off-by: Jonathan Gray
---
src/intel/tools/aubinator.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src
OpenBSD now has strict W^X enforcement. Processes that violate
the policy get killed by the kernel. Don't attempt to use
executable memory on OpenBSD to avoid this.
Patch from Mark Kettenis.
Cc: 11.2 12.0
Signed-off-by: Mark Kettenis
Signed-off-by: Jonathan Gray
---
src/gallium/auxi
Include libgen.h for basename as required by posix.
The definition is not found on at least OpenBSD otherwise.
Signed-off-by: Jonathan Gray
---
src/intel/tools/aubinator.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c
index
Red Hat Enterprise Linux 6 which ships with 4.4.7. However
> Dave reported that they build Mesa with GCC 4.8.
>
> Cc: Jonathan Gray
> ---
> configure.ac | 18 +++---
> include/c99_compat.h | 17 +++--
> 2 files changed, 10 insertions(+), 2
On Wed, Sep 07, 2016 at 11:52:39PM +1000, Timothy Arceri wrote:
> On Wed, 2016-09-07 at 19:26 +1000, Jonathan Gray wrote:
> > LLVM was imported yes, but the integration of it has only
> > started around the same time and it is not enabled by default yet.
> > And it was onl
On Thu, Sep 08, 2016 at 06:57:44PM +0100, Emil Velikov wrote:
> On 1 September 2016 at 18:23, Jonathan Gray wrote:
> > OpenBSD now has strict W^X enforcement. Processes that violate
> > the policy get killed by the kernel. Don't attempt to use
> > executable memor
On Mon, Sep 12, 2016 at 09:28:58AM +1000, Timothy Arceri wrote:
> On Thu, 2016-09-08 at 18:39 +0100, Emil Velikov wrote:
> > On 1 September 2016 at 18:12, Jonathan Gray wrote:
> > >
> > > program_invocation_short_name is a gnu extension.Limit use of it
> > &g
POSIX (can modify string,
> always pass a copy) and GNU (never modifies the string).
>
> Just printout the complete program name, esp. since the program is not
> meant to be installed, thus using $basename is unlikely to work, not to
> mention it is misleading.
>
> Cc: Jonathan G
On Mon, Oct 17, 2016 at 12:39:11PM +0100, Emil Velikov wrote:
> On 17 October 2016 at 10:53, Eric Engestrom wrote:
> > On Sunday, 2016-10-16 16:38:35 +1100, Jonathan Gray wrote:
> >> On OpenBSD try to dlopen 'libglapi.so', ld.so will find
> >> the highest ma
On Mon, Oct 17, 2016 at 05:34:02PM +0100, Emil Velikov wrote:
> On 17 October 2016 at 16:39, Eric Engestrom wrote:
> > On Monday, 2016-10-17 22:53:20 +1100, Jonathan Gray wrote:
> >> On Mon, Oct 17, 2016 at 12:39:11PM +0100, Emil Velikov wrote:
> >> > On 17 October
On Tue, Oct 18, 2016 at 04:24:20PM +0100, Emil Velikov wrote:
> On 18 October 2016 at 00:58, Jonathan Gray wrote:
> > On Mon, Oct 17, 2016 at 05:34:02PM +0100, Emil Velikov wrote:
> >> On 17 October 2016 at 16:39, Eric Engestrom
> >> wrote:
> >> > On Mond
On Wed, Oct 19, 2016 at 10:29:47AM +0100, Emil Velikov wrote:
> On 19 October 2016 at 01:05, Jonathan Gray wrote:
> > On Tue, Oct 18, 2016 at 04:24:20PM +0100, Emil Velikov wrote:
> >> On 18 October 2016 at 00:58, Jonathan Gray wrote:
> >> > On Mon, Oct 17, 2016 at
On Wed, Oct 19, 2016 at 03:17:07PM +0100, Emil Velikov wrote:
> On 19 October 2016 at 14:16, Jonathan Gray wrote:
> > On Wed, Oct 19, 2016 at 10:29:47AM +0100, Emil Velikov wrote:
> >> On 19 October 2016 at 01:05, Jonathan Gray wrote:
> >> > On Tue, Oct 18, 2016 at
On Sat, Oct 15, 2016 at 01:32:02PM +0100, Emil Velikov wrote:
> On Saturday, 15 October 2016, Jonathan Gray wrote:
>
> > On Tue, Oct 11, 2016 at 07:31:46PM +0100, Emil Velikov wrote:
> > > From: Emil Velikov >
> > >
> > > Currently mesa has three
On Thu, Oct 20, 2016 at 11:44:46AM +0100, Emil Velikov wrote:
> On 20 October 2016 at 05:35, Jonathan Gray wrote:
> > On Sat, Oct 15, 2016 at 01:32:02PM +0100, Emil Velikov wrote:
> >> On Saturday, 15 October 2016, Jonathan Gray wrote:
> >>
> >> > On Tue,
were being exported.
Signed-off-by: Jonathan Gray
Cc: "11.2 12.0 13.0"
---
src/mapi/Makefile.am | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mapi/Makefile.am b/src/mapi/Makefile.am
index 5a58ca2..f35cedc 100644
--- a/src/mapi/Makefile.am
+++ b/src/mapi/Makefile.am
On Fri, Nov 04, 2016 at 07:53:25PM +0100, Bernd Kuhls wrote:
> Musl does not define __GLIBC__ and will not provide a __MUSL__ macro:
> http://wiki.musl-libc.org/wiki/FAQ#Q:_why_is_there_no_MUSL_macro_.3F
>
> This patch checks for the presence of endian.h and promotes the result
> to src/amd/Makefi
On Thu, Nov 24, 2016 at 05:25:26PM +, Emil Velikov wrote:
> Hello list,
>
> The candidate for the Mesa 13.0.2 is now available. Currently we have:
> - 49 queued
> - 4 nominated (outstanding)
> - and 1 rejected patch(es)
>
>
> With this series we have - fixes for vc4, i965 and radeon drive
On Mon, Dec 05, 2016 at 05:56:40PM +, Emil Velikov wrote:
> On 1 December 2016 at 04:18, Jonathan Gray wrote:
> > DRI devices on OpenBSD are not in their own directory. They reside in
> > /dev with a large number of statically generated /dev nodes.
> >
> > Av
=0x7f7be2b4) at drisw_glx.c:476
10 0x124d8e104b4a in glXCreateContextAttribsARB (dpy=0x124d533f,
config=0x124d7a0e7300, share_context=0x0, direct=1,
attrib_list=0x7f7be300)
at create_context.c:78
Signed-off-by: Jonathan Gray
---
src/mesa/main/debug_output.c | 5 ++---
1 file changed, 2
te:
> > Looks good.
> >
> > Reviewed-by: Eduardo Lima Mitev
> >
> > On 12/11/2016 04:42 PM, Jonathan Gray wrote:
> >> Commit 929fcee47e46781c57f2a354ce0a013915c033d1 introduced code that
> >> attempts to unlock an unlocked mutex which is undefined
On Mon, Dec 12, 2016 at 03:28:45PM +, Emil Velikov wrote:
> [adding mesa-maintainers to the mix]
>
> On 1 October 2016 at 20:46, Marek Olk wrote:
> > Hi,
> >
> > I propose that we use versioning in the form of "year.quarter".
> >
> > 2017 would start with 17.0, then 17.1, 17.2, 17.3 for f
Can someone push this to master?
On Sun, Dec 11, 2016 at 07:21:36PM +0100, Eduardo Lima Mitev wrote:
> Looks good.
>
> Reviewed-by: Eduardo Lima Mitev
>
> On 12/11/2016 04:42 PM, Jonathan Gray wrote:
> > Commit 929fcee47e46781c57f2a354ce0a013915c033d1 introduced code
On Tue, Dec 20, 2016 at 11:52:26AM -0800, Kenneth Graunke wrote:
> On Tuesday, December 20, 2016 12:08:06 PM PST Jonathan Gray wrote:
> > Can someone push this to master?
>
> Pushed:
>
> To ssh://git.freedesktop.org/git/mesa/mesa
>ab8ea1b..62b8bcd master -> m
tool/debugger I can use to confirm my findings?
Thank you for your time.
Andy.
See http://cgit.freedesktop.org/mesa/demos/tree/src/osdemos for example
of using OSMesa.
Regards,
Jonathan
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http
On Wed, Jul 17, 2013 at 09:26:34PM -0700, Vinson Lee wrote:
> On Wed, Jun 26, 2013 at 12:11 AM, Jonathan Gray wrote:
> > Signed-off-by: Jonathan Gray
> > ---
> > configure.ac | 6 +++---
> > 1 file changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --
Signed-off-by: Jonathan Gray
---
src/gallium/drivers/radeonsi/Makefile.am | 3 ++-
src/gallium/winsys/radeon/drm/radeon_winsys.h | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git src/gallium/drivers/radeonsi/Makefile.am
src/gallium/drivers/radeonsi/Makefile.am
index
Signed-off-by: Jonathan Gray
---
src/egl/drivers/glx/Makefile.am| 2 +-
src/gallium/winsys/sw/xlib/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git src/egl/drivers/glx/Makefile.am src/egl/drivers/glx/Makefile.am
index 6bf67ea..220134d 100644
--- src/egl
I'm not entirely sure if this one is right, but a change along these
lines is required to build on systems with X11 outside of the system
path in say /usr/X11R6 like on OpenBSD.
On Thu, Jul 18, 2013 at 02:57:14PM +1000, Jonathan Gray wrote:
> Signed-off-by: Jonathan Gray
> ---
> s
Lets the code compile on non Linux systems.
Signed-off-by: Jonathan Gray
---
src/gallium/drivers/r300/r300_chipset.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git src/gallium/drivers/r300/r300_chipset.c
src/gallium/drivers/r300/r300_chipset.c
index 11061ed..30e085a
On Thu, Jul 18, 2013 at 10:24:00AM +0200, Michel Dänzer wrote:
> On Don, 2013-07-18 at 14:45 +1000, Jonathan Gray wrote:
> > Signed-off-by: Jonathan Gray
> > ---
> > src/gallium/drivers/radeonsi/Makefile.am | 3 ++-
> > src/gallium/winsys/radeon/drm/radeon_w
v2: use RADEON_CFLAGS instead of LIBDRM_CFLAGS
Signed-off-by: Jonathan Gray
---
src/gallium/drivers/radeonsi/Makefile.am | 3 ++-
src/gallium/winsys/radeon/drm/radeon_winsys.h | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git src/gallium/drivers/radeonsi/Makefile.am
src
Signed-off-by: Jonathan Gray
---
src/gallium/drivers/nouveau/Makefile.am | 2 +-
src/gallium/drivers/nouveau/nouveau_context.h | 2 +-
src/gallium/drivers/nouveau/nouveau_screen.c | 2 +-
src/gallium/drivers/nouveau/nouveau_winsys.h | 2 +-
4 files changed, 4 insertions(+), 4 deletions
Signed-off-by: Jonathan Gray
---
src/mesa/drivers/dri/nouveau/nouveau_driver.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git src/mesa/drivers/dri/nouveau/nouveau_driver.h
src/mesa/drivers/dri/nouveau/nouveau_driver.h
index e03b2c1..c65c7c8 100644
--- src/mesa/drivers/dri
To have non-static buffers in local memory, it is necessary to pass them
as arguments to the kernel.
For r600, the correct lds size must be set to the SQ_LDS_ALLOC register.
The correct size is the clover size plus the size reported by the
compiler.
---
src/gallium/drivers/r600/evergreen_compute
To have non-static buffers in local memory, it is necessary to pass them
as arguments to the kernel. This was almost supported but the address
space mapping was missing to perform the check (thanks to tstellar for
pointing me in the right direction).
---
.../state_trackers/clover/llvm/invocation.
ld_module_llvm(mod, kernels);
+ return build_module_llvm(mod, kernels, address_spaces);
}
}
--
1.8.3.3
On 2013-07-24 03:58, Francisco Jerez wrote:
> Tom Stellard writes:
>
>> On Mon, Jul 22, 2013 at 09:24:12AM -0400, Jonathan Charest wrote:
>>> To have non-static buf
Signed-off-by: Jonathan Gray
---
src/mesa/main/imports.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git src/mesa/main/imports.h src/mesa/main/imports.h
index 53e40b4..aa7dc49 100644
--- src/mesa/main/imports.h
+++ src/mesa/main/imports.h
@@ -230,7 +230,7 @@ static inline int
On Thu, Aug 01, 2013 at 11:21:57AM -0700, Ian Romanick wrote:
> On 08/01/2013 09:54 AM, Chad Versace wrote:
> >On 08/01/2013 09:48 AM, Chad Versace wrote:
> >>On 08/01/2013 12:27 AM, Jonathan Gray wrote:
> >>>Signed-off-by: Jonathan Gray
> >>>---
>
On Mon, Aug 05, 2013 at 09:46:58AM -0700, Chad Versace wrote:
> On 08/01/2013 03:52 PM, Jonathan Gray wrote:
> >On Thu, Aug 01, 2013 at 11:21:57AM -0700, Ian Romanick wrote:
> >>On 08/01/2013 09:54 AM, Chad Versace wrote:
> >>>On 08/01/2013 09:48 AM, Chad Versace wr
The problems with the build system are bad enough without
depending on non posix gnu only options.
This should be mkdir -p
On Tue, Aug 06, 2013 at 12:01:06PM +0100, Ross Burton wrote:
> The rules were writing files to e.g. util/u_indices_gen.py, but in an
> out-of-tree build this directory doesn'
Signed-off-by: Jonathan Gray
---
src/gallium/include/pipe/p_config.h | 10 ++
1 file changed, 10 insertions(+)
diff --git src/gallium/include/pipe/p_config.h
src/gallium/include/pipe/p_config.h
index 1588a92..9af5df7 100644
--- src/gallium/include/pipe/p_config.h
+++ src/gallium
Going behind the back of libtool like this will break on any
system that does not use linux style library versioning.
No one wants to comment on any patches to avoid this.
But if nothing else the comment about providing compatibility
to the old build system is wrong as several people objected
to
istry/ARB/fragment_program.txt says
"Only one precision control option may be specified by any given fragment
program.", but that seems to be unclear if you are only specifying one of
the options multiple times.
Can anyone help clarify is this is a bug in mesa, or the
This fixes a crash where old_view->context was already freed in the
pipe_sampler_view_reference function contained in
src/gallium/auxiliary/utils/u_inlines.h. As a result, the
sampler_view_destroy function pointer contained 0xfeeefeee indicating
freed heap memory.
Signed-off-by: Jonathan
Signed-off-by: Jonathan Liu
---
include/KHR/khrplatform.h | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/include/KHR/khrplatform.h b/include/KHR/khrplatform.h
index 4479539..46730cd 100644
--- a/include/KHR/khrplatform.h
+++ b/include/KHR/khrplatform.h
This fixes another case of faulting when freeing a pipe_sampler_view
that belongs to a previously destroyed context.
Signed-off-by: Jonathan Liu
---
src/gallium/drivers/llvmpipe/lp_state_sampler.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/src/gallium/drivers/llvmpipe
On 17/12/2013 1:59 AM, Brian Paul wrote:
On 12/15/2013 06:24 PM, Jonathan Liu wrote:
This fixes another case of faulting when freeing a pipe_sampler_view
that belongs to a previously destroyed context.
Signed-off-by: Jonathan Liu
---
src/gallium/drivers/llvmpipe/lp_state_sampler.c | 6
On 15/12/2013 4:14 AM, Brian Paul wrote:
On 12/14/2013 07:15 AM, Jonathan Liu wrote:
This fixes a crash where old_view->context was already freed in the
pipe_sampler_view_reference function contained in
src/gallium/auxiliary/utils/u_inlines.h. As a result, the
sampler_view_destroy funct
: Jonathan Gray
---
configure.ac| 13 +
src/egl/main/Makefile.am| 3 +--
src/egl/wayland/wayland-egl/Makefile.am | 3 +--
src/gallium/targets/egl-static/Makefile.am | 3 +--
src/gallium/targets/gbm/Makefile.am | 3
and change -Wl,--no-undefined references in Automake.inc as well.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76856
Signed-off-by: Jonathan Gray
---
configure.ac| 13 +
src/egl/main/Makefile.am| 2 +-
src/egl/wayland/wa
Don't hardcode /dev/dri/card0 but instead use the drm
macros which allows the correct /dev/drm0 device to be
opened on OpenBSD.
v2: use snprintf and fallback to /dev/dri/card0
v3: check for snprintf truncation
Signed-off-by: Jonathan Gray
---
src/egl/drivers/dri2/platform_drm.c | 7 +
On Wed, Apr 02, 2014 at 11:09:09PM -0700, Matt Turner wrote:
> On Wed, Apr 2, 2014 at 10:22 PM, Jonathan Gray wrote:
> > Don't hardcode /dev/dri/card0 but instead use the drm
> > macros which allows the correct /dev/drm0 device to be
> > opened on OpenBSD.
> >
>
On Sat, Apr 05, 2014 at 02:12:31PM +0100, Emil Velikov wrote:
> Hi Jonathan,
>
> Just pushed as many of your patches as I can see to master. Let me know if I
> missed any.
>
> Some of the patches are stable material, so I've tagged them for the 10.1
> stable branch.
d=801
http://austingroupbugs.net/view.php?id=828
Simplify the M_PI*f macros by using casts directly in the defines
as suggested by Kenneth Graunke.
Cc: "10.2"
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78665
Signed-off-by: Jonathan Gray
---
src/glsl/builtin_functions.cpp | 8 +++
Reviewed-by: Jonathan Gray
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
On Sun, May 18, 2014 at 08:07:38AM +0100, Emil Velikov wrote:
> Create a single library containing the state-tracker etc.
> thus have a smaller overall size footprint of mesa.
>
> The driver can be built with the relevant pipe-drivers
> statically linked in, or loaded as shared modules.
> Currentl
On Sun, May 18, 2014 at 09:44:00AM +0100, Emil Velikov wrote:
> On 18/05/14 08:41, Jonathan Gray wrote:
> > On Sun, May 18, 2014 at 08:07:38AM +0100, Emil Velikov wrote:
> >> Create a single library containing the state-tracker etc.
> >> thus have a smaller ove
On Mon, May 19, 2014 at 11:57:58PM +0100, Emil Velikov wrote:
> On 18/05/14 12:22, Jonathan Gray wrote:
> [snip]
> >
> > Currently I run my autotools builds like this:
> >
> > export LDFLAGS=-L/usr/local/lib
> > export CPPFLAGS="-I/usr/local/includ
this case.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44618
Signed-off-by: Jonathan Liu
---
src/glsl/builtin_compiler/Makefile.am | 13 +
1 file changed, 13 insertions(+)
diff --git a/src/glsl/builtin_compiler/Makefile.am
b/src/glsl/builtin_compiler/Makefile.am
index e1
The AC_CHECK_FILE macro can't be used for cross compiling as it will
result in "error: cannot check for file existence when cross compiling".
Replace it with the AS_IF macro.
Signed-off-by: Jonathan Liu
---
configure.ac | 12 ++--
1 file changed, 6 insertions(+), 6 del
issue.
Signed-off-by: Jonathan Gray
---
src/gallium/winsys/radeon/drm/radeon_drm_bo.c | 2 +-
src/gallium/winsys/radeon/tools/radeon_ctx.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git src/gallium/winsys/radeon/drm/radeon_drm_bo.c
src/gallium/winsys/radeon/drm
On Thu, Jun 06, 2013 at 11:30:50AM +0200, Michel Dänzer wrote:
> On Mit, 2013-06-05 at 15:00 +1000, Jonathan Gray wrote:
> > RADEON_GEM_WAIT_IDLE is declared DRM_IOW but mesa
> > uses it with drmCommandWriteRead instead of drmCommandWrite
> > which leads to the ioctl being un
byteswap.h and bswap_32 aren't portable, replace them with calls to
gallium's util_bswap32 as suggested by Mark Kettenis. Lets these files
build on OpenBSD.
Signed-off-by: Jonathan Gray
---
src/gallium/drivers/r600/r600_asm.c | 4 ++--
src/gallium/drivers/r600/r600_shader.c
On Mon, Jun 17, 2013 at 07:47:11AM +0200, Michel Dänzer wrote:
> On Mon, 2013-06-17 at 01:11 +1000, Jonathan Gray wrote:
> > byteswap.h and bswap_32 aren't portable, replace them with calls to
> > gallium's util_bswap32 as suggested by Mark Kettenis. Lets these f
Use grep -w instead of the empty string escape sequences
which are less portable. Makes the grep tests
function as intended on OpenBSD.
Signed-off-by: Jonathan Gray
---
configure.ac | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git configure.ac configure.ac
index 6832b0d
The symlinks for compatibility with old scripts assumes
sysv shared library versioning and breaks other systems.
For example OpenBSD uses sunos 4 style .so.major.minor
versioning so the targets with ln will fail.
Fixes bug 63269.
Signed-off-by: Jonathan Gray
---
src/egl/main/Makefile.am
On Thu, Jun 20, 2013 at 04:00:04PM -0600, Brian Paul wrote:
> On 06/20/2013 03:32 PM, Dave Airlie wrote:
> >On Fri, Jun 21, 2013 at 2:28 AM, Jonathan Gray wrote:
> >>The symlinks for compatibility with old scripts assumes
> >>sysv shared library versioning and breaks
On Thu, Jun 20, 2013 at 08:32:03PM -0700, Kenneth Graunke wrote:
> On 06/20/2013 06:45 PM, Jonathan Gray wrote:
> >On Thu, Jun 20, 2013 at 04:00:04PM -0600, Brian Paul wrote:
> >>On 06/20/2013 03:32 PM, Dave Airlie wrote:
> >>>On Fri, Jun 21, 2013 at 2:28 AM, J
Signed-off-by: Jonathan Gray
---
src/gallium/state_trackers/xvmc/tests/xvmc_bench.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git src/gallium/state_trackers/xvmc/tests/xvmc_bench.c
src/gallium/state_trackers/xvmc/tests/xvmc_bench.c
index fe85802..37360a6 100644
1 - 100 of 346 matches
Mail list logo