[Mesa-dev] [PATCH] meson: Add dep_thread dependency.

2019-06-24 Thread Vinson Lee
Fix this build error on Ubuntu 18.04. /usr/bin/ld: src/util/libmesa_util.a(u_cpu_detect.c.o): undefined reference to symbol 'pthread_once@@GLIBC_2.2.5' Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110663 Suggested-by: Eric Engestrom Signed-off-by: Vinson Lee --- src/gallium/tests

[Mesa-dev] [PATCH] meson: Add dep_thread dependency.

2019-06-13 Thread Vinson Lee
Fix this build error on Ubuntu 18.04. /usr/bin/ld: src/util/libmesa_util.a(u_cpu_detect.c.o): undefined reference to symbol 'pthread_once@@GLIBC_2.2.5' Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110663 Suggested-by: Eric Engestrom Signed-off-by: Vinson Lee --- src/gallium/tests

[Mesa-dev] [PATCH] freedreno: Fix GCC build error.

2019-05-30 Thread Vinson Lee
../src/freedreno/vulkan/tu_device.c:900:4: error: initializer element is not constant .minImageTransferGranularity = (VkExtent3D) { 1, 1, 1 }, ^ Suggested-by: Kristian Høgsberg Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110698 Signed-off-by: Vinson Lee --- src/freedreno

[Mesa-dev] [PATCH v2] intel/tools: Fix build with glibc < 2.27.

2019-05-10 Thread Vinson Lee
ssembler tool") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110656 Signed-off-by: Vinson Lee Acked-by: Eric Engestrom --- src/intel/tools/i965_asm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/intel/tools/i965_asm.h b/src/intel/tools/i965_asm.h index 7027f4e..d

[Mesa-dev] [PATCH] intel/tools: Fix build with glibc < 2.27.

2019-05-10 Thread Vinson Lee
ssembler tool") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110656 Signed-off-by: Vinson Lee --- src/intel/tools/i965_asm.h | 4 1 file changed, 4 insertions(+) diff --git a/src/intel/tools/i965_asm.h b/src/intel/tools/i965_asm.h index 7027f4e..0519ba5 100644 --- a/sr

[Mesa-dev] [PATCH] s3tc-errors: Fix GCC unused-variable warning.

2019-04-22 Thread Vinson Lee
s3tc-errors.c: In function ‘test_format’: s3tc-errors.c:175:9: warning: unused variable ‘format2’ [-Wunused-variable] GLenum format2; ^~~ Fixes: d433792407e7 ("s3tc-errors: port to gles31") Signed-off-by: Vinson Lee --- tests/texturing/s3tc-errors.c | 2 +- 1 file

Re: [Mesa-dev] [PATCH] Partially revert "gallium: fix autotools build of pipe_msm.la"

2019-04-09 Thread Vinson Lee
On Tue, Apr 9, 2019 at 1:29 PM Jan Vesely wrote: > > On Sat, Apr 6, 2019 at 10:11 PM Dieter Nützel wrote: > > > > Tested-by: Dieter Nützel > > Acked-by: Dieter Nützel > > Thanks Dieter, > > Timur, Vinson, are you OK with this temporary solution? > > Ja

[Mesa-dev] [PATCH] nir: Fix anonymous union initialization with older GCC.

2019-03-21 Thread Vinson Lee
/nir_opt_copy_prop_vars.c:456: warning: excess elements in union initializer nir/nir_opt_copy_prop_vars.c:456: warning: (near initialization for ‘(anonymous).’) Fixes: 96c32d77763c ("nir/copy_prop_vars: handle load/store of vector elements") Signed-off-by: Vinson Lee --- src/co

[Mesa-dev] [PATCH] swr: Fix build with llvm-9.0.

2019-03-18 Thread Vinson Lee
t;mpCurrentModule->getOrInsertFunction("meta.intrinsic.VGATHERPD", pFuncTy)); ^ Suggested-by: Philip Meulengracht Signed-off-by: Vinson Lee --- .../codegen/templates/gen_builder.

[Mesa-dev] [PATCH] gallium/auxiliary/vl: Fix duplicate symbol build errors.

2019-02-18 Thread Vinson Lee
(libgalliumvl_la-vl_compositor.o) ../../../../src/gallium/auxiliary/.libs/libgalliumvl.a(libgalliumvl_la-vl_compositor_cs.o) Fixes: 9364d66cb7f7 ("gallium/auxiliary/vl: Add video compositor compute shader render") Signed-off-by: Vinson Lee --- src/gallium/auxiliary/vl/vl_composito

[Mesa-dev] [PATCH] freedreno: Fix meson build.

2019-02-06 Thread Vinson Lee
(DRM_FORMAT_MOD_QCOM_COMPRESSED, modifiers, count); ^ Fixes: 1ce5d757d04a ("freedreno: core buffer modifier support") Signed-off-by: Vinson Lee --- src/gallium/drivers/freedreno/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers

[Mesa-dev] [PATCH] meson: Fix typo.

2019-01-26 Thread Vinson Lee
meson.build:166:21: ERROR: Unknown method "verson_compare" for a string. Fixes: c1efa240c91e ("meson: Add warnings and errors when using ICC") Signed-off-by: Vinson Lee --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build

[Mesa-dev] [PATCH] freedreno: Fix meson build.

2019-01-25 Thread Vinson Lee
(DRM_FORMAT_MOD_QCOM_COMPRESSED, modifiers, count); ^ Fixes: 1ce5d757d04a ("freedreno: core buffer modifier support") Signed-off-by: Vinson Lee --- src/gallium/drivers/freedreno/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers

Re: [Mesa-dev] [PATCH] meson: Fix libsensors detection.

2018-12-18 Thread Vinson Lee
On Tue, Dec 18, 2018 at 11:42 AM Dylan Baker wrote: > > Quoting Vinson Lee (2018-12-18 09:52:08) > > Fixes: 5e71efef44b9 ("meson: Add lmsensors support") > > Signed-off-by: Vinson Lee > > --- > > meson.build | 2 +- > > 1 file changed, 1

[Mesa-dev] [PATCH] meson: Fix libsensors detection.

2018-12-18 Thread Vinson Lee
Fixes: 5e71efef44b9 ("meson: Add lmsensors support") Signed-off-by: Vinson Lee --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 57dd8b59cb..d591ca377b 100644 --- a/meson.build +++ b/meson.build @@ -1395,7 +1395,

[Mesa-dev] [PATCH] meson: Fix typo.

2018-12-17 Thread Vinson Lee
Fixes: 6b4c7047d571 ("meson: build gallium nine state_tracker") Signed-off-by: Vinson Lee --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index fe647f682c1c..d0f4b7e51f44 100644 --- a/meson.build +++ b/meson.build @@ -61

Re: [Mesa-dev] [PATCH] glapi: Fix DispatchSanity_test

2018-12-07 Thread Vinson Lee
; { "glConservativeRasterParameteriNV", 20, -1 }, > > + /* GL_EXT_multisampled_render_to_texture */ > + { "glFramebufferTexture2DMultisampleEXT", 20, -1 }, > + > { NULL, 0, -1 } > }; > > -- > 2.20.0.rc2.403.gdbc3b29805-goog > >

[Mesa-dev] [PATCH] freedreno: Fix autotools build.

2018-11-28 Thread Vinson Lee
on") Signed-off-by: Vinson Lee --- src/gallium/targets/pipe-loader/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/targets/pipe-loader/Makefile.am b/src/gallium/targets/pipe-loader/Makefile.am index fa16e8535ff1..db515e3097b7 100644 --- a/src/gallium/targets/pipe-loader/M

[Mesa-dev] [PATCH] st/xvmc: Add X11 include path.

2018-11-21 Thread Vinson Lee
This patch fixes this build error. CC tests/xvmc_bench.o In file included from tests/xvmc_bench.c:35: tests/testlib.h:38:10: fatal error: 'X11/Xlib.h' file not found ^~~~ Signed-off-by: Vinson Lee --- src/gallium/state_trackers/xvmc/Makefile.am | 1 + 1 file changed, 1

[Mesa-dev] [PATCH] st/xvmc: Add X11 include path.

2018-11-05 Thread Vinson Lee
This patch fixes this build error. CC tests/xvmc_bench.o In file included from tests/xvmc_bench.c:35: tests/testlib.h:38:10: fatal error: 'X11/Xlib.h' file not found ^~~~ Signed-off-by: Vinson Lee --- src/gallium/state_trackers/xvmc/Makefile.am | 1 + 1 file changed, 1

[Mesa-dev] [PATCH] r600/sb: Fix constant logical operand in assert.

2018-10-31 Thread Vinson Lee
Fixes: da977ad90747 ("r600/sb: start adding GDS support") Signed-off-by: Vinson Lee --- src/gallium/drivers/r600/sb/sb_bc_builder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/sb/sb_bc_builder.cpp b/src/gallium/drivers/r600/sb/sb_bc_b

Re: [Mesa-dev] [PATCH v2] nir: fix nir_copy_propagation test

2018-10-23 Thread Vinson Lee
_src_as_uint(store_to_v1->src[1]), 20); > + ASSERT_EQ(nir_src_comp_as_uint(store_to_v1->src[1], 1), 20); > break; >} > } > -- > 2.17.2 > > ___________ > mesa-dev mailing list > mesa-dev@lists.freedeskto

[Mesa-dev] [PATCH] r600/sb: Fix constant-logical-operand warning.

2018-10-11 Thread Vinson Lee
~ Fixes: da977ad90747 ("r600/sb: start adding GDS support") Signed-off-by: Vinson Lee --- src/gallium/drivers/r600/sb/sb_bc_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/sb/sb_bc_parser.cpp b/src/gallium/drivers/r600/sb/sb_bc_pars

[Mesa-dev] [PATCH] egl: Use correct shared libraries suffix on macOS.

2018-10-07 Thread Vinson Lee
Signed-off-by: Vinson Lee --- src/egl/egl-symbols-check | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/egl/egl-symbols-check b/src/egl/egl-symbols-check index 460e61a357c7..4200f9c07f3a 100755 --- a/src/egl/egl-symbols-check +++ b/src/egl/egl-symbols-check @@ -1,7

Re: [Mesa-dev] [PATCH 2/2] build: Don't overlink gallium xlib target

2018-09-17 Thread Vinson Lee
gt; I've dropped the link from meson as well, it doesn't seem to hurt > anything and should make linking just a little faster. > > Fixes: 8396043f304bb2a752130230055605c5c966e89f >("Replace uses of _mesa_bitcount with util_bitcount") > Cc: Vinson Lee > Cc: Brain

Re: [Mesa-dev] [PATCH] utils/u_math: break dependency on gallium/utils

2018-09-11 Thread Vinson Lee
daz. > + */ > +# if !defined(PIPE_ARCH_x86_64) && !defined(PIPE_ARCH_SSSE3) > + if (sse2_has_daz()) { > +# endif > /* Enable denormals are zero mode */ > current_mxcsr |= _MM_DENORMALS_ZERO_MASK; > +# if !defined(PIPE

Re: [Mesa-dev] [PATCH 2/2] gallium: try to fix the Windows build

2018-09-08 Thread Vinson Lee
is a helper for hardware bring-up. Don't remove. */ > struct pipe_query * > util_begin_pipestat_query(struct pipe_context *ctx) > { > struct pipe_query *q = >ctx->create_query(ctx, PIPE_QUERY_PIPELINE_STATISTICS, 0); > if (!q) >return NULL; > -- > 2.7

[Mesa-dev] [PATCH] docs: Python 2.7 or later is required.

2018-08-17 Thread Vinson Lee
Signed-off-by: Vinson Lee --- docs/install.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/install.html b/docs/install.html index 08081944cfcc..f6094671cf9f 100644 --- a/docs/install.html +++ b/docs/install.html @@ -72,7 +72,7 @@ you think you've spotted a bug let

Re: [Mesa-dev] [PATCH] glsl: remove delegating constructors to allow build with C++98

2018-07-20 Thread Vinson Lee
e = orig_state->clone(); > } else { > - this->state = new(mem_ctx) copy_propagation_state(); > + this->state = copy_propagation_state::create(mem_ctx); > } > > visit_list_elements(this, >body_instructions); > -- > 2.18.0 > Tested-by: Vinson Lee ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] swr/rast: Rename createInstructionSimplifierPass with llvm-7.0.

2018-06-30 Thread Vinson Lee
lifierPass()); ^ Signed-off-by: Vinson Lee --- src/gallium/drivers/swr/rasterizer/jitter/blend_jit.cpp | 4 src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp | 4 src/gallium/drivers/swr/rasterizer/jitter/jit_pch.hpp | 1 + src/gallium/drivers/swr/

Re: [Mesa-dev] [PATCH] egl/x11: Move dri2_format_for_depth prototype.

2018-05-27 Thread Vinson Lee
On Fri, May 25, 2018 at 9:42 AM, Eric Engestrom <eric.engest...@intel.com> wrote: > On Friday, 2018-05-25 16:06:26 +0100, Eric Engestrom wrote: >> On Friday, 2018-05-25 06:52:25 +0000, Vinson Lee wrote: >> > Fix build error without DRI3. >> >> D'uh! >>

[Mesa-dev] [PATCH] egl/x11: Move dri2_format_for_depth prototype.

2018-05-25 Thread Vinson Lee
depth-to-format logic") Signed-off-by: Vinson Lee <v...@freedesktop.org> --- src/egl/drivers/dri2/egl_dri2.h | 3 +++ src/egl/drivers/dri2/platform_x11_dri3.h | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers

[Mesa-dev] [PATCH] swr/rast: Fix addPassesToEmitFile usage with llvm-7.0.

2018-05-23 Thread Vinson Lee
, expected at least 4, have 3 pTarget->addPassesToEmitFile(*pMPasses, filestream, TargetMachine::CGFT_AssemblyFile); ^ Signed-off-by: Vinson Lee <v...@freedesktop.org> --- src/gallium/drivers/sw

[Mesa-dev] [PATCH] v3d: Fix automake linking error.

2018-05-21 Thread Vinson Lee
-by: Vinson Lee <v...@freedesktop.org> --- src/gallium/drivers/v3d/Automake.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/v3d/Automake.inc b/src/gallium/drivers/v3d/Automake.inc index 7cf8ae7cd8..91ae826b30 100644 --- a/src/gallium/drive

[Mesa-dev] [PATCH] v3d: Include v3d_drm.h path.

2018-05-17 Thread Vinson Lee
I.") Signed-off-by: Vinson Lee <v...@freedesktop.org> --- src/gallium/drivers/v3d/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/v3d/Makefile.am b/src/gallium/drivers/v3d/Makefile.am index 2b4c364c24..ff0334a239 100644 --- a/src/gallium/drivers/v3d/Mak

[Mesa-dev] [PATCH] cmake: Bump minimum version to 3.2.

2018-05-17 Thread Vinson Lee
bug.cgi?id=106370 Signed-off-by: Vinson Lee <v...@freedesktop.org> --- CMakeLists.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c7d162..e56aafb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_

[Mesa-dev] [PATCH] scons: Add PROGRAM_NIR_FILES.

2018-05-12 Thread Vinson Lee
("st/nir: use NIR for asm programs") Signed-off-by: Vinson Lee <v...@freedesktop.org> --- src/mesa/SConscript | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/SConscript b/src/mesa/SConscript index ba98ad4323c5..5a21b64f561e 100644 --- a/src/mesa/SConscript +++ b/src

Re: [Mesa-dev] [PATCH] mesa: disable building the shader cache on macos

2018-05-08 Thread Vinson Lee
On Tue, May 8, 2018 at 10:34 PM, Timothy Arceri wrote: > The shader cache code wont be used on this platform so just disable > it to avoid make check errors. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103264 > --- > configure.ac | 4 +++- > 1 file changed,

[Mesa-dev] [PATCH] swr/rast: Fix WriteBitcodeToFile usage with llvm-7.0.

2018-05-01 Thread Vinson Lee
const llvm::Module *' llvm::WriteBitcodeToFile(M, bitcodeStream); ^ Suggested-by: George Kyriazis <george.kyria...@intel.com> Signed-off-by: Vinson Lee <v...@freedesktop.org> --- src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp | 4 1 file

[Mesa-dev] [PATCH] swr: Fix include for createInstructionCombiningPass with llvm-7.0.

2018-04-29 Thread Vinson Lee
d you mean 'createInstructionSimplifierPass'? passes.add(createInstructionCombiningPass()); ^~ createInstructionSimplifierPass Signed-off-by: Vinson Lee <v...@freedesktop.org> --- src/gallium/drivers/swr/rasterizer/ji

Re: [Mesa-dev] [PATCH] compiler/glsl: close fd's in glcpp_test.py

2018-04-21 Thread Vinson Lee
.path.join(args.testdir, filename) > try: > -_, tmpfile = tempfile.mkstemp() > +fd, tmpfile = tempfile.mkstemp() > +os.close(fd) > with io.open(testfile, 'rt') as f: >

Re: [Mesa-dev] [PATCH 0/3] Fix include for LLVMAddPromoteMemoryToRegisterPass

2018-04-01 Thread Vinson Lee
gt; by tags > > Hope that's OK and again if you're happy with this please can you commit > as I don't have git rights > > Thanks > > Mike > > ___ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.f

Re: [Mesa-dev] [PATCH 4/4] swr: Fix include for createPromoteMemoryToRegisterPass

2018-04-01 Thread Vinson Lee
; +#include > +#endif > #include "llvm/Support/Host.h" > #include "llvm/Support/DynamicLibrary.h" > > -- > 2.16.3 > > ___ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.

Re: [Mesa-dev] [PATCH] ac/nir: Fix include for LLVMAddPromoteMemoryToRegisterPass

2018-03-31 Thread Vinson Lee
On Sat, Mar 31, 2018 at 5:08 PM, Mike Lothian <m...@fireburn.co.uk> wrote: > On 1 April 2018 at 00:03, Vinson Lee <v...@freedesktop.org> wrote: >> >> A similar change is needed in >> src/gallium/drivers/swr/rasterizer/jitter/jit_pch.hpp. >> >> Vin

Re: [Mesa-dev] [PATCH] ac/nir: Fix include for LLVMAddPromoteMemoryToRegisterPass

2018-03-31 Thread Vinson Lee
On Thu, Mar 29, 2018 at 4:56 PM, Mike Lothian wrote: > Include llvm-c/Transforms/Utils.h with the newest LLVM 7 > > Fixes: 2dd4f35c7fc llvm-c: Split Utils out of Scalar.h > Signed-of-by: Mike Lothian > > --- > > I don't have git commit rights > > If

[Mesa-dev] [PATCH] gallium: Do not add -Wframe-address option for gcc <= 4.4.

2018-03-21 Thread Vinson Lee
ument is unsafe warning") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105529 Signed-off-by: Vinson Lee <v...@freedesktop.org> --- src/gallium/auxiliary/util/u_debug_stack.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/auxiliary/util/u_

[Mesa-dev] [PATCH] swr/rast: Fix macOS macro.

2018-02-25 Thread Vinson Lee
Fixes: a25093de7188 ("swr/rast: Implement JIT shader caching to disk") Signed-off-by: Vinson Lee <v...@freedesktop.org> --- src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/swr/r

[Mesa-dev] [PATCH] r600/fp64: Fix build.

2018-02-05 Thread Vinson Lee
sion") Signed-off-by: Vinson Lee <v...@freedesktop.org> --- src/gallium/drivers/r600/r600_shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index e3b832b04f77..4874d14a581d 100644 --

[Mesa-dev] [PATCH] broadcom/vc5: Fix source file name.

2018-01-19 Thread Vinson Lee
Fixes: c9b2cb78972d ("vc5: add missing files to the tarball") Signed-off-by: Vinson Lee <v...@freedesktop.org> --- src/gallium/drivers/vc5/Makefile.sources | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/vc5/Makefile.sources b/src/gal

[Mesa-dev] [PATCH] broadcom/vc5: Add missing include paths.

2018-01-19 Thread Vinson Lee
Fixes: 954a704da305 ("broadcom/vc5: Port the RCL setup to V3D4.1.") Signed-off-by: Vinson Lee <v...@freedesktop.org> --- src/gallium/drivers/vc5/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/vc5/Makefile.am b/src/gal

[Mesa-dev] [PATCH] anv: Check if memfd_create is already defined.

2017-11-28 Thread Vinson Lee
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103909 Signed-off-by: Vinson Lee <v...@freedesktop.org> --- configure.ac | 1 + meson.build | 2 +- src/intel/vulkan/anv_allocator.c | 2 ++ src/intel/vulkan/anv_gem_stubs.c | 2 ++ 4 files chan

Re: [Mesa-dev] [PATCH] amd: build addrlib with C++11

2017-11-16 Thread Vinson Lee
nst_LTLIBRARIES += $(ADDRLIB_LIBS) > > addrlib_libamdgpu_addrlib_la_SOURCES = $(ADDRLIB_FILES) > -- > 2.11.0 > > ___ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinf

[Mesa-dev] [PATCH] mapi: Use correct shared library name on macOS.

2017-11-14 Thread Vinson Lee
Signed-off-by: Vinson Lee <v...@freedesktop.org> --- src/mapi/es1api/ABI-check | 7 ++- src/mapi/es2api/ABI-check | 7 ++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/mapi/es1api/ABI-check b/src/mapi/es1api/ABI-check index bd9d0288d60d..0a867343c79a

Re: [Mesa-dev] [PATCH] meson: fix egl build for meson version < 0.43

2017-10-22 Thread Vinson Lee
i, > libmesa_util], >link_args : [ld_args_bsymbolic, ld_args_gc_sections], >dependencies : [deps_for_egl, dep_dl, dep_libdrm, dep_clock, dep_thread], > -- > 2.14.2 > > ___________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.o

[Mesa-dev] [PATCH] anv: Fix instance typos.

2017-10-18 Thread Vinson Lee
eck from anv_bo_cache_import() to caller (v2)") Signed-off-by: Vinson Lee <v...@freedesktop.org> --- src/intel/vulkan/anv_device.c | 2 +- src/intel/vulkan/anv_intel.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan

Re: [Mesa-dev] [PATCH] blob: Use intptr_t instead of ssize_t

2017-10-13 Thread Vinson Lee
d Mac OS builds. > > Cc: Jose Fonseca <jfons...@vmware.com> > Cc: Vinson Lee <v...@freedesktop.org> > Fixes: 3af1c829891a4530682bce113fdd512d4f2de3c6 > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103253 > --- > src/compiler/blob.c | 8 -

Re: [Mesa-dev] [PATCH] util: fix in-class initialization of static member

2017-09-27 Thread Vinson Lee
;; > buf = _mesa_string_buffer_create(NULL, INITIAL_BUF_SIZE); > } > > -- > 2.14.1 > > _______ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev Tested that this patch fixes g

[Mesa-dev] [PATCH] m4: Use older autoconf 2.63 compatible ax_check_compile_flag.

2017-08-31 Thread Vinson Lee
CentOS 6 and RHEL 6 have autoconf 2.63. Fixes: e4b2b69e828c ("configure: Add and use AX_CHECK_COMPILE_FLAG") Signed-off-by: Vinson Lee <v...@freedesktop.org> --- m4/ax_check_compile_flag.m4 | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-)

Re: [Mesa-dev] [PATCH] Revert "glsl: Mark functions static"

2017-08-22 Thread Vinson Lee
On Mon, Aug 21, 2017 at 6:48 PM, Timothy Arceri <tarc...@itsqueeze.com> wrote: > This reverts commit ca73c3358c91434e68ab31c23d13986d87c661cd. > > This commit broke 'make check' revert it for now. Tested-by: Vinson Lee <v...@freedesktop.org> ___

Re: [Mesa-dev] [PATCH] configure.ac: Check for expat21 if expat is not found.

2017-08-07 Thread Vinson Lee
On Mon, Aug 7, 2017 at 8:18 AM, Emil Velikov <emil.l.veli...@gmail.com> wrote: > On 5 August 2017 at 21:53, Vinson Lee <v...@freedesktop.org> wrote: >> Fixes build error on CentOS 6.9. >> >> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102052 >> F

[Mesa-dev] [PATCH] configure.ac: Check for expat21 if expat is not found.

2017-08-05 Thread Vinson Lee
Fixes build error on CentOS 6.9. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102052 Fixes: 5c007203b73d ("configure.ac: drop manual detection of expat header/library") Signed-off-by: Vinson Lee <v...@freedesktop.org> --- configure.ac |4 +++- 1 files changed, 3

[Mesa-dev] [PATCH] scons: Check for xlocale.h before defining HAVE_XLOCALE_H.

2017-07-05 Thread Vinson Lee
: https://bugs.freedesktop.org/show_bug.cgi?id=101657 Signed-off-by: Vinson Lee <v...@freedesktop.org> --- scons/gallium.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scons/gallium.py b/scons/gallium.py index a41127732419..61643a6d4fc6 100755 --- a/scons/gallium.py

[Mesa-dev] [PATCH v2] mesa: Avoid set comprehension.

2017-07-05 Thread Vinson Lee
x_to_rgba() [v2]") Signed-off-by: Vinson Lee <v...@freedesktop.org> --- src/mesa/main/format_fallback.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/format_fallback.py b/src/mesa/main/format_fallback.py index e3b9916..da88bd5 100644 --- a/src/me

[Mesa-dev] [PATCH] mesa: Avoid set comprehension.

2017-06-29 Thread Vinson Lee
x_to_rgba() [v2]") Signed-off-by: Vinson Lee <v...@freedesktop.org> --- src/mesa/main/format_fallback.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/format_fallback.py b/src/mesa/main/format_fallback.py index e3b9916..da88bd5 100644 --- a/src/me

[Mesa-dev] [PATCH] i915g: Add blitter_context argument.

2017-06-08 Thread Vinson Lee
?id=101340 Signed-off-by: Vinson Lee <v...@freedesktop.org> --- src/gallium/drivers/i915/i915_surface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/i915/i915_surface.c b/src/gallium/drivers/i915/i915_surface.c index 27b0d9eae857..57e90c6ed23a 100644 -

Re: [Mesa-dev] [PATCH] Fix glcpp test expectations

2017-06-08 Thread Vinson Lee
warning: names containing consecutive underscores are > reserved. > +0:3(1): preprocessor warning: names containing consecutive underscores are > reserved. > +0:4(1): preprocessor warning: names containing consecutive underscores are > reserved. > #version 110 > > >

[Mesa-dev] [PATCH] configure.ac: Require amdgpu for r600.

2017-05-30 Thread Vinson Lee
dev, AMDGPU_HW_IP_VCN_DEC, 0, _dec); ^~~~ Fixes: 0abc24723cdb ("amd/common: add vcn dec ip info query for amdgpu version 3.17") Signed-off-by: Vinson Lee <v...@freedesktop.org> --- configure.ac | 1 + 1 file changed, 1 inser

Re: [Mesa-dev] [PATCH] anv/tests: Create a dummy instance as well as device

2017-05-01 Thread Vinson Lee
pool; > struct anv_state_pool state_pool; > > -- > 2.5.0.400.gff86faf > > ___ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev Tested-by: Vinson Lee <v...@freedesktop.org> ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] configure.ac: Fix typos.

2017-04-20 Thread Vinson Lee
Signed-off-by: Vinson Lee <v...@freedesktop.org> --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 957d15df8caa..e42fcfff7757 100644 --- a/configure.ac +++ b/configure.ac @@ -724,7 +724,7 @@ dnl Arch/platform-sp

[Mesa-dev] [PATCH] st/mesa: Fix missing-braces warning.

2017-04-12 Thread Vinson Lee
}; ^ {} Signed-off-by: Vinson Lee <v...@freedesktop.org> --- src/mesa/state_tracker/st_glsl_to_nir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_glsl_to_nir.cpp b/src/mesa/state_tracker/st_glsl_to_nir.cpp

Re: [Mesa-dev] [PATCH] anv: provide anv_gem_busy() stub for the tests

2017-04-06 Thread Vinson Lee
On Thu, Apr 6, 2017 at 5:07 AM, Emil Velikov <emil.l.veli...@gmail.com> wrote: > From: Emil Velikov <emil.veli...@collabora.com> > > Otherwise linking way fail. > > Cc: Jason Ekstrand <ja...@jlekstrand.net> > Cc: Vinson Lee <v...@freedesktop.org>

Re: [Mesa-dev] [PATCH] st/clover: Fix build after shrink of pipe_box

2017-04-04 Thread Vinson Lee
1], (int16_t)size[2] }) { >} > >operator const pipe_box *() { > -- > 2.11.0 > > ___ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev This patch fixes the build fo

[Mesa-dev] [PATCH v2] libgl-xlib: Link with libunwind.

2017-04-04 Thread Vinson Lee
to `_ULx86_64_get_proc_name' src/gallium/auxiliary/util/u_debug_stack.c:65: undefined reference to `_ULx86_64_step' Fixes: 70c272004f72 ("gallium/util: libunwind support") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100562 Signed-off-by: Vinson Lee <v...@freedesktop.org>

[Mesa-dev] [PATCH] libgl-xlib: Link with libunwind.

2017-04-04 Thread Vinson Lee
From: Vinson Lee <v...@dropbox.com> Fix linking error. CXXLDlibGL.la ../../../../src/gallium/auxiliary/.libs/libgallium.a(u_debug_stack.o): In function `debug_backtrace_capture': src/gallium/auxiliary/util/u_debug_stack.c:59: undefined reference to `_Ux86_64_getcontext' src/g

[Mesa-dev] [PATCH] st/mesa: Fix missing-braces warning.

2017-03-31 Thread Vinson Lee
}; ^ {} Signed-off-by: Vinson Lee <v...@freedesktop.org> --- src/mesa/state_tracker/st_glsl_to_nir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_glsl_to_nir.cpp b/src/mesa/state_tracker/st_glsl_to_nir.cpp

Re: [Mesa-dev] [PATCH 5/7] docs/releasing: added relevant people for build/check with Windows

2017-03-27 Thread Vinson Lee
On Mon, Mar 27, 2017 at 11:48 AM, Andres Gomez <ago...@igalia.com> wrote: > Signed-off-by: Andres Gomez <ago...@igalia.com> > Cc: Emil Velikov <emil.veli...@collabora.com> > Cc: Vinson Lee <v...@freedesktop.org> > --- > docs/releasing.html | 5 + >

Re: [Mesa-dev] [PATCH] glsl: Link tests with CLOCK_LIB.

2017-03-22 Thread Vinson Lee
On Wed, Mar 22, 2017 at 4:17 PM, Timothy Arceri <tarc...@itsqueeze.com> wrote: > On 23/03/17 09:29, Vinson Lee wrote: >> >> Fix 'make check' linking errors on CentOS 6. > > > Hi Vinson, > > Red Hat Enterprise Linux 6 enters Production Phase 3 on May 10, 2017. I

[Mesa-dev] [PATCH] st/mesa: Fix missing-braces warning.

2017-03-22 Thread Vinson Lee
}; ^ {} Signed-off-by: Vinson Lee <v...@freedesktop.org> --- src/mesa/state_tracker/st_glsl_to_nir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_glsl_to_nir.cpp b/src/mesa/state_tracker/st_glsl_to_nir.cpp

[Mesa-dev] [PATCH] glsl: Link tests with CLOCK_LIB.

2017-03-22 Thread Vinson Lee
Fix 'make check' linking errors on CentOS 6. CXXLD glsl/glsl_test glsl/.libs/libglsl.a(libmesautil_la-u_queue.o): In function `u_thread_get_time_nano': src/util/../../src/util/u_thread.h:84: undefined reference to `clock_gettime' Signed-off-by: Vinson Lee <v...@freedesktop.org> --

[Mesa-dev] [PATCH] glsl: Link glsl_compiler with CLOCK_LIB.

2017-03-21 Thread Vinson Lee
Fix linking error with build. CXXLD glsl_compiler glsl/.libs/libstandalone.a(lt16-libmesautil_la-u_queue.o): In function `u_thread_get_time_nano': src/util/../../src/util/u_thread.h:84: undefined reference to `clock_gettime' Signed-off-by: Vinson Lee <v...@freedesktop.org> --- src/co

[Mesa-dev] [PATCH v2] configure.ac: Use POSIX word boundary regex.

2017-03-17 Thread Vinson Lee
Fixes: fe56c745b8cb ("Convert sed(1) syntax to be compatible with FreeBSD and OpenBSD") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100236 Suggested-by: Jan Beich <jbe...@freebsd.org> Suggested-by: Michel Dänzer <mic...@daenzer.net> Signed-off-by: Vinson Lee

[Mesa-dev] [PATCH] nir: Add positional argument specifiers.

2017-03-17 Thread Vinson Lee
zero length field name in format Fixes: 762a6333f21f ("nir: Rework conversion opcodes") Signed-off-by: Vinson Lee <v...@freedesktop.org> --- src/compiler/nir/nir_opcodes.py |2 +- src/compiler/nir/nir_opcodes_c.py |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) d

[Mesa-dev] [PATCH] configure.ac: Use POSIX word boundary regex.

2017-03-16 Thread Vinson Lee
Fixes: fe56c745b8cb ("Convert sed(1) syntax to be compatible with FreeBSD and OpenBSD") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100236 Signed-off-by: Vinson Lee <v...@freedesktop.org> --- configure.ac | 10 +- 1 file changed, 5 insertions(+), 5 deletion

[Mesa-dev] [PATCH] swr: s/uint/enum pipe_render_cond_flag/

2017-03-08 Thread Vinson Lee
ode); ~^~~~ Fixes: b0d39384307d ("gallium: s/uint/enum pipe_render_cond_flag/ for set_render_condition()") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100133 Signed-off-by: Vinson Lee <v...@freedesktop.org> --- src/

Re: [Mesa-dev] [PATCH] configure.ac: Allowing building without shader cache without zlib.

2017-03-08 Thread Vinson Lee
On Sat, Mar 4, 2017 at 3:42 PM, Emil Velikov <emil.l.veli...@gmail.com> wrote: > On 4 March 2017 at 22:43, Vinson Lee <v...@freedesktop.org> wrote: >> On Sat, Mar 4, 2017 at 5:24 PM, Emil Velikov <emil.l.veli...@gmail.com> >> wrote: >>> On 4 March 2017

Re: [Mesa-dev] [PATCH] configure.ac: Allowing building without shader cache without zlib.

2017-03-04 Thread Vinson Lee
On Sat, Mar 4, 2017 at 5:24 PM, Emil Velikov <emil.l.veli...@gmail.com> wrote: > On 4 March 2017 at 22:13, Vinson Lee <v...@freedesktop.org> wrote: >> Fixes: 85a9b1b562b6 ("util/disk_cache: compress individual cache entries") >> Signed-off

[Mesa-dev] [PATCH] configure.ac: Allowing building without shader cache without zlib.

2017-03-04 Thread Vinson Lee
Fixes: 85a9b1b562b6 ("util/disk_cache: compress individual cache entries") Signed-off-by: Vinson Lee <v...@freedesktop.org> --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 943bc05adcd6..3526849b6dd2 100644 --

Re: [Mesa-dev] [PATCH] glx/tests: Fix bash-specific code in dispatch-index-check

2017-02-24 Thread Vinson Lee
as it will not be in alphabetical order > -dispatch_list=$(sed '/LAST_INDEX/d' <<< "$dispatch_list") > +dispatch_list=$(printf "$dispatch_list" | sed '/LAST_INDEX/d') > > -sorted=$(LC_ALL=C sort <<< "$dispatch_list"

Re: [Mesa-dev] [PATCH] st/nine: Remove code for no USER_INDEX_BUFFERS as these are always on

2017-02-24 Thread Vinson Lee
eBeforeDraw(This); > nine_context_draw_indexed_primitive_from_vtxbuf_idxbuf(This, > PrimitiveType, > -- > 2.11.1 > > ___ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99953 Fixes: 4a883966c1f7 ("gallium: remove PIPE_CAP_USER_INDEX_BUFFERS") Tested-by: Vinson Lee <v...@freedesktop.org> ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] glsl: Fix missing-braces warning.

2017-02-23 Thread Vinson Lee
CXXglsl/ast_to_hir.lo glsl/ast_to_hir.cpp: In member function 'virtual ir_rvalue* ast_declarator_list::hir(exec_list*, _mesa_glsl_parse_state*)': glsl/ast_to_hir.cpp:4846:42: warning: missing braces around initializer for 'unsigned int [16]' [-Wmissing-braces] Signed-off-by: Vinson Lee &l

[Mesa-dev] [PATCH] util/disk_cache: Use backward compatible st_mtime.

2017-02-23 Thread Vinson Lee
Fixes: 207e3a6e4b ("util/radv: move *_get_function_timestamp() to utils") Signed-off-by: Vinson Lee <v...@freedesktop.org> --- src/util/disk_cache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/disk_cache.h b/src/util/disk_cache.h index 7f4da809cc..b

[Mesa-dev] [PATCH] glsl: Fix missing-braces warning.

2017-02-13 Thread Vinson Lee
CXXglsl/ast_to_hir.lo glsl/ast_to_hir.cpp: In member function 'virtual ir_rvalue* ast_declarator_list::hir(exec_list*, _mesa_glsl_parse_state*)': glsl/ast_to_hir.cpp:4846:42: warning: missing braces around initializer for 'unsigned int [16]' [-Wmissing-braces] Signed-off-by: Vinson Lee &l

Re: [Mesa-dev] [PATCH] swr: [rasterizer core] Remove dead code Clipper::ClipScalar()

2017-02-04 Thread Vinson Lee
Tested-by: Vinson Lee <v...@freedesktop.org> On Thu, Feb 2, 2017 at 12:42 PM, Cherniak, Bruce <bruce.chern...@intel.com> wrote: > I followed up with a v2 that includes the bugzilla reference. > > Good point, I’ll look into following up with a patch to remove Clip(). >

Re: [Mesa-dev] [PATCH] configure: Only require libdrm 2.4.75 for intel.

2017-02-01 Thread Vinson Lee
On Wed, Feb 1, 2017 at 4:10 PM, Emil Velikov <emil.l.veli...@gmail.com> wrote: > On 1 February 2017 at 23:28, Vinson Lee <v...@freedesktop.org> wrote: >> Fixes: b8acb6b17981 ("configure: Require libdrm >= 2.4.75") >> Signed-off-by: Vinson Lee <v...@fre

[Mesa-dev] [PATCH] configure: Only require libdrm 2.4.75 for intel.

2017-02-01 Thread Vinson Lee
Fixes: b8acb6b17981 ("configure: Require libdrm >= 2.4.75") Signed-off-by: Vinson Lee <v...@freedesktop.org> --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 92339b4..d4302bf 100644 --- a/configure.ac

[Mesa-dev] [PATCH] nir: Fix anonymous union initialization with older GCC.

2017-01-08 Thread Vinson Lee
initializer nir/nir_opt_copy_prop_vars.c:765: warning: (near initialization for ‘(anonymous).’) nir/nir_opt_copy_prop_vars.c:765: warning: initialization from incompatible pointer type Fixes: 62332d139c8f ("nir: Add a local variable-based copy propagation pass") Signed-off-by: Vin

Re: [Mesa-dev] [PATCH] configure.ac: Strip patch version from LLVM version.

2016-12-03 Thread Vinson Lee
e? How does this happen? > > Do you set "--with-llvm-prefix=" when building mesa? > > > > Tobias > > > > Am Samstag, 3. Dezember 2016, 11:53:53 CET schrieb Vinson Lee: > >> Hi, Tobias. > >> > >> I actually need this when

Re: [Mesa-dev] [PATCH] configure.ac: Strip patch version from LLVM version.

2016-12-03 Thread Vinson Lee
ould never execute! > > Tobias > > Am Samstag, 3. Dezember 2016, 01:20:42 CET schrieb Vinson Lee: >> HAVE_LLVM variable included the patch version if the LLVM version had a >> patch version. >> >> For LLVM version '4.0.0', HAVE_LLVM would be '0x0400.0'. >>

[Mesa-dev] [PATCH] llvmpipe: Link tests with CLOCK_LIB.

2016-12-02 Thread Vinson Lee
Fix linking error with 'make check'. CXXLD lp_test_format ../../../../src/gallium/auxiliary/.libs/libgallium.a(os_time.o): In function `os_time_get_nano': /home/jenkins/workspace/mesa/src/gallium/auxiliary/os/os_time.c:59: undefined reference to `clock_gettime' Signed-off-by: Vinson Lee &l

[Mesa-dev] [PATCH] configure.ac: Strip patch version from LLVM version.

2016-12-02 Thread Vinson Lee
HAVE_LLVM variable included the patch version if the LLVM version had a patch version. For LLVM version '4.0.0', HAVE_LLVM would be '0x0400.0'. Fixes: 45574ab2e92f ("configure.ac: better detection of LLVM version") Signed-off-by: Vinson Lee <v...@freedesktop.org> --- configure.a

  1   2   3   4   5   >