pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

MesaLib-dfbsd-meson: Update wip/MesaLib-dfbsd-meson to git 2019-04-25



Module Name:	pkgsrc-wip
Committed By:	David Shao <davshao%gmail.com@localhost>
Pushed By:	dshao
Date:		Thu Apr 25 22:01:46 2019 -0700
Changeset:	bd0190492a29dce11f4a26d921b688a9e104eeca

Modified Files:
	MesaLib-dfbsd-meson/Makefile
	MesaLib-dfbsd-meson/distinfo
	MesaLib-dfbsd-meson/patches/patch-src_gallium_drivers_freedreno_freedreno__screen.c
	MesaLib-dfbsd-meson/patches/patch-src_gallium_drivers_radeonsi_si__pipe.c

Log Message:
MesaLib-dfbsd-meson: Update wip/MesaLib-dfbsd-meson to git 2019-04-25

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=bd0190492a29dce11f4a26d921b688a9e104eeca

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 MesaLib-dfbsd-meson/Makefile                       | 24 +++++------------
 MesaLib-dfbsd-meson/distinfo                       | 12 ++++-----
 ...c_gallium_drivers_freedreno_freedreno__screen.c |  6 ++---
 .../patch-src_gallium_drivers_radeonsi_si__pipe.c  | 30 ++++++++++++----------
 4 files changed, 31 insertions(+), 41 deletions(-)

diffs:
diff --git a/MesaLib-dfbsd-meson/Makefile b/MesaLib-dfbsd-meson/Makefile
index d1f74ad50b..44bbb78380 100644
--- a/MesaLib-dfbsd-meson/Makefile
+++ b/MesaLib-dfbsd-meson/Makefile
@@ -1,25 +1,13 @@
 # $NetBSD: Makefile,v 1.19 2019/04/11 15:52:08 maya Exp $
 
-# 2019-04-24	i965: fix icelake performance query enabling
-COMMIT_ID=	f15409ee5539579c227fa916d410945b0516d712
+# 2019-04-25	nir: fix bit_size in lower indirect derefs.
+COMMIT_ID=	d946cbe9f54a1b733e0bdec2423ae47d408114fb
 
-# 2019-04-24	iris: Split iris_flush_and_dirty_for_history into two helpers.
-# COMMIT_ID=	21688a306b299ae7214f4fb139a6813e0018c0a8
+# 2019-04-25	glsl: fix shader_storage_blocks_write_access for SSBO block arrays (v2)
+# COMMIT_ID=	c5f65bfe6c9b82925d65ba677664cfc063a9b96c
 
-# 2019-04-23	intel/isl: Resize clear color buffer to full cacheline
-# COMMIT_ID=	f2041d2a9266ec14270b6da9bf9ce2b54d555ebd
-
-# 2019-04-23	intel/fs: Fix D to W conversion in opt_combine_constants
-# COMMIT_ID=	21223acf7d5b39e5eb2b248330519cdbee3e63e8
-
-# 2019-04-23	gallium: replace drm_driver_descriptor::configuration with driconf_xml
-# COMMIT_ID=	d8b296d3ad96cb04ee57234a0b1a6a046e08a1a7
-
-# 2019-04-23	st/mesa/radeonsi: fix race between destruction of types and shader compilation
-# COMMIT_ID=	a6b7068ff5fbf4694a45a6e07adac5047e574514
-
-# 2019-04-23	radv: Add adaptive_sync driconfig option and enable it by default.
-# COMMIT_ID=	3844ed8d44677588bc29d470d0b41ef7816591b
+# 2019-04-25	freedreno/a6xx: sample-shading support
+# COMMIT_ID=	7a57cfbed695c48915fdb3d7bec37505d3f18e81
 
 PORTNAME=	mesa		
 
diff --git a/MesaLib-dfbsd-meson/distinfo b/MesaLib-dfbsd-meson/distinfo
index f9d367598d..4c8f49ca16 100644
--- a/MesaLib-dfbsd-meson/distinfo
+++ b/MesaLib-dfbsd-meson/distinfo
@@ -1,9 +1,9 @@
 $NetBSD: distinfo,v 1.16 2019/02/22 15:40:35 tnn Exp $
 
-SHA1 (mesa-f15409ee5539579c227fa916d410945b0516d712.tar.xz) = 1efcafa718901f19c66a0a5a5527702a1ae7eae2
-RMD160 (mesa-f15409ee5539579c227fa916d410945b0516d712.tar.xz) = d8ed38354c2df231918eb2bf3aaee0d19dea7cc1
-SHA512 (mesa-f15409ee5539579c227fa916d410945b0516d712.tar.xz) = 357802373a0050a34da4a38134fdbe3666f505a9ca1cdbe0cb9591249c23cb0fce31b235d4e0644ceaa0aad13625652108afa670be181e2d93183b0cd1e6c15f
-Size (mesa-f15409ee5539579c227fa916d410945b0516d712.tar.xz) = 10833976 bytes
+SHA1 (mesa-d946cbe9f54a1b733e0bdec2423ae47d408114fb.tar.xz) = 6cf8262152c8d098d3ae49f542a74e3b2df3d365
+RMD160 (mesa-d946cbe9f54a1b733e0bdec2423ae47d408114fb.tar.xz) = cd1d42306abac04036300798282502d2ed8d1108
+SHA512 (mesa-d946cbe9f54a1b733e0bdec2423ae47d408114fb.tar.xz) = 8cbaed8c80fc8a0178c98360afa977c6f1ecb63bc6a6a7360860bf8f752648774756e9a355f4c9d300ba921294fbd0ea7a27c36f0ba2c5aa96d9193a1f32ada5
+Size (mesa-d946cbe9f54a1b733e0bdec2423ae47d408114fb.tar.xz) = 10843368 bytes
 SHA1 (patch-include_GL_internal_dri__interface.h) = ed567949ae44f7477738138347cf9648b9a8d634
 SHA1 (patch-meson.build) = 3cd30902cd5af7bc860dd2984a51d9ebf051662e
 SHA1 (patch-meson__options.txt) = 171ac109444b0ce8ea37e53b72f529a4b5e5c6f6
@@ -19,7 +19,7 @@ SHA1 (patch-src_gallium_auxiliary_drivers_trace_tr__dump.c) = 360e1608508a7bbb41
 SHA1 (patch-src_gallium_auxiliary_pipe-loader_pipe__loader__drm.c) = 14f0511191ef468a39e3248d44f7dbdffa554547
 SHA1 (patch-src_gallium_auxiliary_rtasm_rtasm__execmem.c) = 1c1e0f02f247cd2322f19f10e67d61cf56e65487
 SHA1 (patch-src_gallium_auxiliary_util_u__format__tests.c) = d878e6f3e9a0a37d4903c0d0551f9fa535635d40
-SHA1 (patch-src_gallium_drivers_freedreno_freedreno__screen.c) = d76bf52c25609d641dbf4021e81282cbdc925976
+SHA1 (patch-src_gallium_drivers_freedreno_freedreno__screen.c) = b19e93b1612d6eacccf35260110db9402eb4edca
 SHA1 (patch-src_gallium_drivers_i915_i915__fpc__translate.c) = 1c69741c2c9285569c6326d8d29d5af936e1929a
 SHA1 (patch-src_gallium_drivers_iris_iris__bufmgr.c) = 542b24813743290ce031cd1632e83f8255b71a32
 SHA1 (patch-src_gallium_drivers_iris_meson.build) = 31f0afab5212860917fe78e2b282a730187502ef
@@ -33,7 +33,7 @@ SHA1 (patch-src_gallium_drivers_radeonsi_si__buffer.c) = dc2dcb0f87a01ae0162a8c5
 SHA1 (patch-src_gallium_drivers_radeonsi_si__compute__blit.c) = 86ba535e10a1d692877782cef6a1ec4aafeec4c7
 SHA1 (patch-src_gallium_drivers_radeonsi_si__dma__cs.c) = 3c6a2a49e40dd8f99f5f393ad6e03345111cdeb1
 SHA1 (patch-src_gallium_drivers_radeonsi_si__gfx__cs.c) = 98ca07e2cc518125e5ec8924cbadc19f4c13de56
-SHA1 (patch-src_gallium_drivers_radeonsi_si__pipe.c) = 551e9076cdcead2d564bf8c6b8c75bea1733c569
+SHA1 (patch-src_gallium_drivers_radeonsi_si__pipe.c) = de016f03468ff7607543cb1587180b7e9893e560
 SHA1 (patch-src_gallium_drivers_radeonsi_si__state__shaders.c) = ed51a57765f2349bc91fd509dc03e709241bd899
 SHA1 (patch-src_gallium_drivers_vc4_vc4__bufmgr.c) = 1d591d346486fdf58893f69ab92a272e6a31a987
 SHA1 (patch-src_gallium_include_pipe_p__config.h) = f4e38eac66167b619c30076bb0144dd716310967
diff --git a/MesaLib-dfbsd-meson/patches/patch-src_gallium_drivers_freedreno_freedreno__screen.c b/MesaLib-dfbsd-meson/patches/patch-src_gallium_drivers_freedreno_freedreno__screen.c
index 8732e9e5dc..29b0d5d436 100644
--- a/MesaLib-dfbsd-meson/patches/patch-src_gallium_drivers_freedreno_freedreno__screen.c
+++ b/MesaLib-dfbsd-meson/patches/patch-src_gallium_drivers_freedreno_freedreno__screen.c
@@ -4,7 +4,7 @@ From FreeBSD ports graphics/mesa-dri 18.1.4.
 
 - Without sysinfo() fall back to sysconf()
 
---- src/gallium/drivers/freedreno/freedreno_screen.c.orig	2018-07-13 18:41:27.000000000 +0000
+--- src/gallium/drivers/freedreno/freedreno_screen.c.orig	2019-04-25 21:13:31.000000000 +0000
 +++ src/gallium/drivers/freedreno/freedreno_screen.c
 @@ -43,7 +43,11 @@
  #include <errno.h>
@@ -18,8 +18,8 @@ From FreeBSD ports graphics/mesa-dri 18.1.4.
  
  #include "freedreno_screen.h"
  #include "freedreno_resource.h"
-@@ -837,9 +841,13 @@ fd_screen_create(struct fd_device *dev)
- 		screen->priority_mask = (1 << val) - 1;
+@@ -832,9 +836,13 @@ fd_screen_create(struct fd_device *dev,
+ 		screen->has_robustness = val;
  	}
  
 +#ifdef __GLIBC__
diff --git a/MesaLib-dfbsd-meson/patches/patch-src_gallium_drivers_radeonsi_si__pipe.c b/MesaLib-dfbsd-meson/patches/patch-src_gallium_drivers_radeonsi_si__pipe.c
index e396259296..8f8c2e0273 100644
--- a/MesaLib-dfbsd-meson/patches/patch-src_gallium_drivers_radeonsi_si__pipe.c
+++ b/MesaLib-dfbsd-meson/patches/patch-src_gallium_drivers_radeonsi_si__pipe.c
@@ -18,9 +18,9 @@ radeonsi: use SDMA for uploading data through const_uploader
 
 https://cgit.freedesktop.org/mesa/mesa/commit/?id=edbd2c1ff559cde1d9e22a9fb9059747782a72a7
 
---- src/gallium/drivers/radeonsi/si_pipe.c.orig	2019-04-08 23:50:24.000000000 +0000
+--- src/gallium/drivers/radeonsi/si_pipe.c.orig	2019-04-25 21:13:31.000000000 +0000
 +++ src/gallium/drivers/radeonsi/si_pipe.c
-@@ -198,10 +198,12 @@ static void si_destroy_context(struct pi
+@@ -200,10 +200,12 @@ static void si_destroy_context(struct pi
  		sctx->b.delete_vs_state(&sctx->b, sctx->vs_blit_color_layered);
  	if (sctx->vs_blit_texcoord)
  		sctx->b.delete_vs_state(&sctx->b, sctx->vs_blit_texcoord);
@@ -33,7 +33,7 @@ https://cgit.freedesktop.org/mesa/mesa/commit/?id=edbd2c1ff559cde1d9e22a9fb90597
  	if (sctx->cs_copy_image)
  		sctx->b.delete_compute_state(&sctx->b, sctx->cs_copy_image);
  	if (sctx->cs_copy_image_1d_array)
-@@ -381,7 +383,11 @@ static void si_set_context_param(struct 
+@@ -383,7 +385,11 @@ static void si_set_context_param(struct
  }
  
  static struct pipe_context *si_create_context(struct pipe_screen *screen,
@@ -45,7 +45,7 @@ https://cgit.freedesktop.org/mesa/mesa/commit/?id=edbd2c1ff559cde1d9e22a9fb90597
  {
  	struct si_context *sctx = CALLOC_STRUCT(si_context);
  	struct si_screen* sscreen = (struct si_screen *)screen;
-@@ -399,7 +405,11 @@ static struct pipe_context *si_create_co
+@@ -401,7 +407,11 @@ static struct pipe_context *si_create_co
  		sscreen->record_llvm_ir = true; /* racy but not critical */
  
  	sctx->b.screen = screen; /* this must be set first */
@@ -57,7 +57,7 @@ https://cgit.freedesktop.org/mesa/mesa/commit/?id=edbd2c1ff559cde1d9e22a9fb90597
  	sctx->b.destroy = si_destroy_context;
  	sctx->screen = sscreen; /* Easy accessing of screen/winsys. */
  	sctx->is_debug = (flags & PIPE_CONTEXT_DEBUG) != 0;
-@@ -457,8 +467,13 @@ static struct pipe_context *si_create_co
+@@ -459,8 +469,13 @@ static struct pipe_context *si_create_co
  						   sctx, stop_exec_on_failure);
  	}
  
@@ -71,7 +71,7 @@ https://cgit.freedesktop.org/mesa/mesa/commit/?id=edbd2c1ff559cde1d9e22a9fb90597
  						 0, PIPE_USAGE_DEFAULT,
  						 SI_RESOURCE_FLAG_32BIT |
  						 (use_sdma_upload ?
-@@ -650,6 +665,7 @@ fail:
+@@ -655,6 +670,7 @@ fail:
  	return NULL;
  }
  
@@ -79,7 +79,7 @@ https://cgit.freedesktop.org/mesa/mesa/commit/?id=edbd2c1ff559cde1d9e22a9fb90597
  static struct pipe_context *si_pipe_create_context(struct pipe_screen *screen,
  						   void *priv, unsigned flags)
  {
-@@ -680,6 +696,7 @@ static struct pipe_context *si_pipe_crea
+@@ -685,6 +701,7 @@ static struct pipe_context *si_pipe_crea
  				       sscreen->info.drm_major >= 3 ? si_create_fence : NULL,
  				       &((struct si_context*)ctx)->tc);
  }
@@ -87,7 +87,7 @@ https://cgit.freedesktop.org/mesa/mesa/commit/?id=edbd2c1ff559cde1d9e22a9fb90597
  
  /*
   * pipe_screen
-@@ -903,7 +920,11 @@ struct pipe_screen *radeonsi_screen_crea
+@@ -920,7 +937,11 @@ struct pipe_screen *radeonsi_screen_crea
  						       debug_options, 0);
  
  	/* Set functions first. */
@@ -99,15 +99,17 @@ https://cgit.freedesktop.org/mesa/mesa/commit/?id=edbd2c1ff559cde1d9e22a9fb90597
  	sscreen->b.destroy = si_destroy_screen;
  	sscreen->b.set_max_shader_compiler_threads =
  		si_set_max_shader_compiler_threads;
-@@ -1177,7 +1198,11 @@ struct pipe_screen *radeonsi_screen_crea
+@@ -1200,8 +1221,13 @@ struct pipe_screen *radeonsi_screen_crea
  		si_init_compiler(sscreen, &sscreen->compiler_lowp[i]);
  
  	/* Create the auxiliary context. This must be done last. */
 +#if defined(REVERT_THREADED_CONTEXT)
-+	sscreen->aux_context = sscreen->b.context_create(&sscreen->b, NULL, 0);
++	sscreen->aux_context = sscreen->b.context_create(
++		&sscreen->b, NULL, sscreen->options.aux_debug ? PIPE_CONTEXT_DEBUG : 0);
 +#else
- 	sscreen->aux_context = si_create_context(&sscreen->b, 0);
+ 	sscreen->aux_context = si_create_context(
+ 		&sscreen->b, sscreen->options.aux_debug ? PIPE_CONTEXT_DEBUG : 0);
 +#endif
- 
- 	if (sscreen->debug_flags & DBG(TEST_DMA))
- 		si_test_dma(sscreen);
+ 	if (sscreen->options.aux_debug) {
+ 		struct u_log_context *log = CALLOC_STRUCT(u_log_context);
+ 		u_log_context_init(log);


Home | Main Index | Thread Index | Old Index