[Mesa-dev] [Bug 108544] logic error in file configure.ac

2018-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108544 Bug ID: 108544 Summary: logic error in file configure.ac Product: Mesa Version: 18.1 Hardware: ARM OS: Linux (All) Status: NEW Severity: normal

[Mesa-dev] [PATCH] intel/compiler: Print message descriptor as immediate source

2018-10-24 Thread Sagar Ghuge
While disassembling send(c) instruction print message descriptor as immediate source operand along with message descriptor. This allows assembler to read immediate source operand and set bits accordingly. Signed-off-by: Sagar Ghuge --- src/intel/compiler/brw_disasm.c | 9 +++-- 1 file

[Mesa-dev] [PATCH 2/3] blorp/clear: Take a devinfo and isl_surf in can_hiz_clear_depth

2018-10-24 Thread Jason Ekstrand
We're going to need more information from the surface. May as well future-proof the function while we're at it. --- src/intel/blorp/blorp.h| 4 ++-- src/intel/blorp/blorp_clear.c | 10 +- src/intel/vulkan/genX_cmd_buffer.c | 5 ++--- 3 files changed, 9 insertions(+),

[Mesa-dev] [PATCH 3/3] intel/blorp: Work around HiZ clear bugs on Sky Lake

2018-10-24 Thread Jason Ekstrand
--- src/intel/blorp/blorp_clear.c | 49 +++ 1 file changed, 49 insertions(+) diff --git a/src/intel/blorp/blorp_clear.c b/src/intel/blorp/blorp_clear.c index 7f0d3b70993..82672dd2282 100644 --- a/src/intel/blorp/blorp_clear.c +++ b/src/intel/blorp/blorp_clear.c @@

[Mesa-dev] [Bug 107369] "volatile" in OpenCL code not recognized when compiling with -fstack-protector

2018-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107369 --- Comment #16 from Stuart Young --- There's a fix for this in the Debian experimental package for libclc. If you haven't already done so and this bug affects you, please test and give feedback on the Debian bug. Related links: Tracker:

Re: [Mesa-dev] [PATCH] mesa: allow EXT_texture_compression_s3tc on ES2

2018-10-24 Thread Marek Olšák
On Wed, Oct 24, 2018 at 12:34 PM Erik Faye-Lund < erik.faye-l...@collabora.com> wrote: > On Thu, 2018-10-18 at 15:42 -0400, Marek Olšák wrote: > > I think you need something like this: > > > >

[Mesa-dev] [PATCH v2] st/nine: Reduce MaxSimultaneousTextures to 8

2018-10-24 Thread Axel Davy
Windows drivers don't set this flag (which affects ff) to more than 8. Do the same in case some games check for 8. v2: Remove any dependence on MaxSimultaneousTextures. For non-ff the number of textures is 16 when the device is able of vs/ps3. Add this requirement of 16 textures to the driver

Re: [Mesa-dev] [PATCH mesa] util: remove unnecessary random whitespaces

2018-10-24 Thread Ian Romanick
On 10/23/2018 04:15 AM, Eric Engestrom wrote: > Suggested-by: Timothy Arceri > Signed-off-by: Eric Engestrom > --- > Timothy, I opted to remove them all instead of adding even more, as it > would break again next time something changes (the set_foreach() one was > already broken before my patch

[Mesa-dev] [Bug 107765] [regression] Batman Arkham City crashes with DXVK under wine

2018-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107765 --- Comment #17 from farmboy0+freedesk...@googlemail.com --- I didnt notice any. -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___

[Mesa-dev] [PATCH] intel/compiler: Print hex representation along with floating point value

2018-10-24 Thread Sagar Ghuge
While encoding the immediate floating point values in instruction we use values upto precision 9, but while disassembling, we print precision to 6 places, which round up the value and gives wrong interpretation for encoded immediate constant. To avoid misinterpretation of encoded immediate values

[Mesa-dev] [Bug 107765] [regression] Batman Arkham City crashes with DXVK under wine

2018-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107765 --- Comment #16 from Samuel Pitoiset --- Cool, do you have any rendering issues with that branch? -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the

[Mesa-dev] [Bug 107765] [regression] Batman Arkham City crashes with DXVK under wine

2018-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107765 --- Comment #15 from farmboy0+freedesk...@googlemail.com --- With this branch I ma successfully able to run Batman: Arkham City on my system. -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for

[Mesa-dev] [PATCH 04/12] st/nine: Mark transform matrices dirty for D3DSBT_ALL

2018-10-24 Thread Axel Davy
D3DSBT_ALL stateblocks capture the transform matrices. Fixes some d3d test programs not displaying properly. Signed-off-by: Axel Davy --- Notice without the previous patch, D3DSBT_ALL stateblocks would send hundreds of identity matrices to the context every apply.

[Mesa-dev] [PATCH 12/12] st/nine: Handle window resize when a presentation buffer is used

2018-10-24 Thread Axel Davy
Usually when a window is resized, the app calls d3d to resize the back buffer to the window size. In some cases, it is not done, and it expects the output resizes to the window size, even if the back buffer size is unchanged. This patch introduces the behaviour when a presentation buffer is used.

[Mesa-dev] [PATCH 11/12] d3dadapter: Fix wrong naming in header file

2018-10-24 Thread Axel Davy
GetWindowInfo used to be GetWindowSize before gallium nine was merged. A left-over remained... Signed-off-by: Axel Davy --- include/d3dadapter/present.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/d3dadapter/present.h b/include/d3dadapter/present.h index

[Mesa-dev] [PATCH 07/12] st/nine: Fix aliasing states for stateblocks

2018-10-24 Thread Axel Davy
If NINE_STATE_FF_MATERIAL is set, the stateblock will upload its recorded materials matrix. If NINE_STATE_FF_LIGHTING is set, the lighting set is uploaded. These flags could be set by a NineDevice9_SetTransform call or by setting some states related to ff, but that shouldn't trigger these

[Mesa-dev] [PATCH 08/12] st/nine: Do not set unused states for stateblocks

2018-10-24 Thread Axel Davy
A lot of these states are used only for the context, and are unused for stateblocks (which just uses the changed.* fields instead for a lot of them). Signed-off-by: Axel Davy --- Before we implemented csmt, which separated the 'context' states and the application visible states + the

[Mesa-dev] [PATCH 10/12] st/nine: Reduce MaxSimultaneousTextures to 8

2018-10-24 Thread Axel Davy
Windows drivers don't set this flag (which affects ff) to more than 8. Do the same in case some games check for 8. Signed-off-by: Axel Davy --- src/gallium/state_trackers/nine/adapter9.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[Mesa-dev] [PATCH 09/12] st/nine: Enable shadow mapping for ps 1.X

2018-10-24 Thread Axel Davy
We didn't implement shadow textures for ps 1.X, assuming the case couldn't happen... Well it does. Fixes: https://github.com/iXit/Mesa-3D/issues/261 Signed-off-by: Axel Davy --- src/gallium/state_trackers/nine/nine_shader.c | 8 +--- src/gallium/state_trackers/nine/pixelshader9.c | 2 +-

[Mesa-dev] [PATCH 05/12] st/nine: Capture also default matrices for D3DSBT_ALL

2018-10-24 Thread Axel Davy
We avoid allocating space for never unused matrices. However we must do as if we had captured them. Thus when a D3DSBT_ALL stateblock apply has fewer matrices than device state, allocate the default matrices for the stateblock before applying. Signed-off-by: Axel Davy ---

[Mesa-dev] [PATCH 06/12] st/nine: Never update device changed.* fields

2018-10-24 Thread Axel Davy
The device state changed.* field are never used. These fields are used only for stateblocks. Avoid setting them at all for clarity. Signed-off-by: Axel Davy --- src/gallium/state_trackers/nine/device9.c | 4 +- src/gallium/state_trackers/nine/nine_state.c | 7 +-

[Mesa-dev] [PATCH 03/12] st/nine: Don't update unused world matrices

2018-10-24 Thread Axel Davy
While to the application we have to track accurately all 256 world matrices (including in stateblocks), hw vertex processing enables to set a limit to the number of world matrices the hardware can access to in the advertised caps, which is 8 for nine. Thus don't bother in the stateblock code to

[Mesa-dev] [PATCH 02/12] st/nine: Remove two unused states.

2018-10-24 Thread Axel Davy
NINE_STATE_MATERIAL was used incorrectly at one location. Replace it with the correct state. Signed-off-by: Axel Davy --- src/gallium/state_trackers/nine/device9.c| 2 +- src/gallium/state_trackers/nine/nine_state.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git

[Mesa-dev] [PATCH 01/12] st/nine: Remove commented nine_context_apply_stateblock

2018-10-24 Thread Axel Davy
At some point the project was to adapt the commented version to csmt. The csmt rework enabled to fix some state aliasing issues between stateblocks and internal state updates. The commented version needs a lot of work to work with that. Just drop it. Signed-off-by: Axel Davy ---

[Mesa-dev] [PATCH] i965/anv: Disable prefetching of sampler state entries

2018-10-24 Thread Anuj Phogat
WA_1606682166: Incorrect TDL's SSP address shift in SARB for 16:6 & 18:8 modes. Disable the Sampler state prefetch functionality in the SARB by programming 0xB000[30] to '1'. This is to be done at boot time and the feature must remain disabled permanently. Signed-off-by: Anuj Phogat ---

[Mesa-dev] [PATCH] i965/icl: Disable prefetching of sampler state entries

2018-10-24 Thread Anuj Phogat
From: Topi Pohjolainen In the same spirit as commit a5889d70f2074201ceaeac4f96a9a0c0b1f68a31 "i965/icl: Disable binding table prefetching". Fixes some 110+ intermittent piglit failures with tex-miplevel-selection variants. WA_1606682166: Incorrect TDL's SSP address shift in SARB for 16:6 & 18:8

Re: [Mesa-dev] [PATCH] m4: add Werror when checking for compiler flags

2018-10-24 Thread Dylan Baker
Quoting Emil Velikov (2018-10-24 10:57:00) > Seemingly that at some point clang started accepting _any_ flags, > whereas previously it would error out. > > These days, you can give it -Whamsandwich and it will succeed, while > at the same time throwing an annoying warning. > > Add -Werror so

Re: [Mesa-dev] [PATCH] docs/calendar: Add 18.3 plan and expand 18.2

2018-10-24 Thread Dylan Baker
Quoting Emil Velikov (2018-10-24 10:21:24) > On Tue, 23 Oct 2018 at 18:13, Dylan Baker wrote: > > > > Quoting Juan A. Suarez Romero (2018-10-23 09:53:03) > > > On Tue, 2018-10-23 at 09:30 -0700, Dylan Baker wrote: > > > > CC: Emil Velikov > > > > CC: Juan A. Romero Suarez > > > > --- > > > >

Re: [Mesa-dev] [PATCH] docs/calendar: Add 18.3 plan and expand 18.2

2018-10-24 Thread Dylan Baker
Quoting Emil Velikov (2018-10-24 10:32:21) > From: Dylan Baker > > Emil will be helping out with 18.3, while Juan finalises 18.2 > > v2: add Emil for 18.3, fix typos > > CC: Emil Velikov > CC: Juan A. Romero Suarez > Cc: Dylan Baker > --- > docs/release-calendar.html | 38

[Mesa-dev] [PATCH] m4: add Werror when checking for compiler flags

2018-10-24 Thread Emil Velikov
Seemingly that at some point clang started accepting _any_ flags, whereas previously it would error out. These days, you can give it -Whamsandwich and it will succeed, while at the same time throwing an annoying warning. Add -Werror so that everything gets flagged and set accordingly. Bugzilla:

[Mesa-dev] [Bug 108541] Convert x86 assembly stub to PIC to fix linking with lld

2018-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108541 Bug ID: 108541 Summary: Convert x86 assembly stub to PIC to fix linking with lld Product: Mesa Version: unspecified Hardware: Other OS: OpenBSD

[Mesa-dev] [PATCH] docs/calendar: Add 18.3 plan and expand 18.2

2018-10-24 Thread Emil Velikov
From: Dylan Baker Emil will be helping out with 18.3, while Juan finalises 18.2 v2: add Emil for 18.3, fix typos CC: Emil Velikov CC: Juan A. Romero Suarez Cc: Dylan Baker --- docs/release-calendar.html | 38 +- 1 file changed, 37 insertions(+), 1

Re: [Mesa-dev] [PATCH] vulkan/wsi: use the drmGetDevice2() API

2018-10-24 Thread Emil Velikov
On Mon, 22 Oct 2018 at 18:13, Jason Ekstrand wrote: > > On Mon, Oct 22, 2018 at 12:10 PM Emil Velikov > wrote: >> >> From: Emil Velikov >> >> On older kernels, the drmGetDevice() call will wake up all the GPUs >> on the system, while fetching the PCI revision. >> >> Use the 2 version of the

Re: [Mesa-dev] [PATCH] docs/calendar: Add 18.3 plan and expand 18.2

2018-10-24 Thread Emil Velikov
On Tue, 23 Oct 2018 at 18:13, Dylan Baker wrote: > > Quoting Juan A. Suarez Romero (2018-10-23 09:53:03) > > On Tue, 2018-10-23 at 09:30 -0700, Dylan Baker wrote: > > > CC: Emil Velikov > > > CC: Juan A. Romero Suarez > > > --- > > > docs/release-calendar.html | 38

Re: [Mesa-dev] [PATCH 4/4] autotools: include intel_tiled_memcopy.c

2018-10-24 Thread Dylan Baker
Quoting Juan A. Suarez Romero (2018-10-24 09:32:07) > On Wed, 2018-10-24 at 09:16 -0700, Dylan Baker wrote: > > Quoting Juan A. Suarez Romero (2018-10-24 09:10:37) > > > On Tue, 2018-10-23 at 15:56 -0700, Dylan Baker wrote: > > > > There are two problems with the fixed patch. First, it fails to

Re: [Mesa-dev] [PATCH 1/4] gen: Add EXT_vertex_attrib_64bit.xml to dependency lists

2018-10-24 Thread Juan A. Suarez Romero
On Tue, 2018-10-23 at 15:56 -0700, Dylan Baker wrote: > Which is also required to put it in the tarball, a requirement for > building with meson from the tarball. > > CC: Ian Romanick > CC: Marek Olšák > Fixes: 263c962cfdee6b43578ee5f28601309ea77d1434 >("mesa: expose

Re: [Mesa-dev] [PATCH v2 1/2] move u_math to src/util

2018-10-24 Thread Dylan Baker
Yeah, there's a bug opened and it's blocking 18.3. I have a series that I think is mostly there to get it fixed, and it's very high on my list to get finished. If I can't get it ready in time for 18.3 I'll just revert this and try again when the MacOS stuff is worked out. Dylan Quoting Juan A.

Re: [Mesa-dev] [PATCH] mesa: allow EXT_texture_compression_s3tc on ES2

2018-10-24 Thread Erik Faye-Lund
On Thu, 2018-10-18 at 15:42 -0400, Marek Olšák wrote: > I think you need something like this: > https://cgit.freedesktop.org/~mareko/mesa/commit/?h=amd-extension-pack=ad774f9db1d735811a8d830ad90a2f8208aa0a7b > Thanks, this looks correct to me. I've ported some of the piglit s3tc tests to

Re: [Mesa-dev] [PATCH 4/4] autotools: include intel_tiled_memcopy.c

2018-10-24 Thread Juan A. Suarez Romero
On Wed, 2018-10-24 at 09:16 -0700, Dylan Baker wrote: > Quoting Juan A. Suarez Romero (2018-10-24 09:10:37) > > On Tue, 2018-10-23 at 15:56 -0700, Dylan Baker wrote: > > > There are two problems with the fixed patch. First, it fails to create a > > > dependency on the sourced .c file, so changes

Re: [Mesa-dev] [PATCH v2 1/2] move u_math to src/util

2018-10-24 Thread Juan A. Suarez Romero
On Wed, 2018-09-05 at 14:55 -0700, Dylan Baker wrote: > Currently we have two sets of functions for bit counts, one in gallium > and one in core mesa. The ones in core mesa are header only in many > cases, since they reduce to "#define _mesa_bitcount popcount", but they > provide a fallback

Re: [Mesa-dev] [PATCH 4/4] autotools: include intel_tiled_memcopy.c

2018-10-24 Thread Dylan Baker
Quoting Juan A. Suarez Romero (2018-10-24 09:10:37) > On Tue, 2018-10-23 at 15:56 -0700, Dylan Baker wrote: > > There are two problems with the fixed patch. First, it fails to create a > > dependency on the sourced .c file, so changes to intel_tiled_memcpy.c > > won't trigger a rebuild. It also

[Mesa-dev] [Bug 108082] warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]

2018-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108082 --- Comment #7 from Dylan Baker --- We're not going to track down every ICC unsupported argument warning, ICC is very spammy about unsupported arguments, and getting compiler checks to work with ICC is a huge pain. As long as they're just

Re: [Mesa-dev] [PATCH 4/4] autotools: include intel_tiled_memcopy.c

2018-10-24 Thread Juan A. Suarez Romero
On Tue, 2018-10-23 at 15:56 -0700, Dylan Baker wrote: > There are two problems with the fixed patch. First, it fails to create a > dependency on the sourced .c file, so changes to intel_tiled_memcpy.c > won't trigger a rebuild. It also doesn't get included in the dist > tarball. > > CC: Tapani

Re: [Mesa-dev] [PATCH 3/4] meson: fix formatting and add extra_files to i965

2018-10-24 Thread Juan A. Suarez Romero
On Tue, 2018-10-23 at 15:56 -0700, Dylan Baker wrote: > extra_files is just a nice way to to tell certain IDE's (and those > reading the file) that this file is also a dependency. Meson will use > the .d file generated by the compiler to figure out what the target > actually depends on.

Re: [Mesa-dev] [PATCH 2/2] freedreno: ir3: fix wrong return if reg is an array

2018-10-24 Thread Rob Clark
On Tue, Oct 23, 2018 at 9:57 PM Hyunjun Ko wrote: > > Since ir3_register struct has union, it could return true even > if it's an array register accidentally when checking whether it > is address/predicate register. > > Fixes: dEQP-GLES31.functional.ssbo.layout.random.arrays_of_arrays.6 > --- >

Re: [Mesa-dev] [PATCH 1/2] freedreno: use fd_bc_alloc_batch instead of fd_batch_create.

2018-10-24 Thread Rob Clark
On Tue, Oct 23, 2018 at 9:57 PM Hyunjun Ko wrote: > > Following the commit 2385d7b066 and 8e798e28f7, for resource dependancy > tracking. > > Fixes: > dEQP-GLES31.functional.image_load_store.early_fragment_tests.no_early_fragment_tests_depth_fbo > with FD_MESA_DEBUG=inorder Reviewed-by: Rob

[Mesa-dev] [Bug 108508] Graphic glitches with stream output support on OLAND AMD GPU GCN 1.0

2018-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108508 --- Comment #9 from Ahmed Elsayed --- (In reply to Samuel Pitoiset from comment #8) > No, 18.2.X are bugfixes releases, we don't backport features. We might be > able to merge it in time for 18.3. So it will land on December or may be sooner

[Mesa-dev] [Bug 92552] piglit egl-create-context-valid-flag-forward-compatible-gl regression

2018-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92552 asimiklit changed: What|Removed |Added Summary|[softpipe] piglit |piglit

[Mesa-dev] [Bug 108508] Graphic glitches with stream output support on OLAND AMD GPU GCN 1.0

2018-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108508 --- Comment #8 from Samuel Pitoiset --- No, 18.2.X are bugfixes releases, we don't backport features. We might be able to merge it in time for 18.3. -- You are receiving this mail because: You are the assignee for the bug. You are the QA

[Mesa-dev] [Bug 108508] Graphic glitches with stream output support on OLAND AMD GPU GCN 1.0

2018-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108508 --- Comment #7 from Ahmed Elsayed --- Does Mesa 18.2.4 secdueled to release at the end of Oct will have VK_EXT_transform_feedback patches? -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for

[Mesa-dev] [Bug 105731] linker error "fragment shader input ... has no matching output in the previous stage" when previous stage's output declaration in a separate shader object

2018-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105731 --- Comment #8 from vadym --- (In reply to Marcel Heinz from comment #7) > Reopened bug because bug was not completely resolved. See the second > attachment with the updated reproducer code for another case to tirgger the > issue. Hi Marcel,

Re: [Mesa-dev] [PATCH v3] i965: Fix calculation of layers array length for isl_view

2018-10-24 Thread Danylo Piliaiev
I have made a Piglit test that exercises the issue: https://patchwork.freedesktop.org/patch/258180/ - Danil On 9/10/18 6:21 PM, Danylo Piliaiev wrote: Handle all cases in calculation of layers count for isl_view taking into account texture view and image unit. st_convert_image was taken as a

[Mesa-dev] [AppVeyor] mesa master #9140 completed

2018-10-24 Thread AppVeyor
Build mesa 9140 completed Commit d9a04196d9 by Jose Fonseca on 10/24/2018 10:33 AM: nir: Fix array initializer.\n\nEmpty initializer is not standard C. This fixes MSVC build.\n\nTrivial. Configure your notification preferences

[Mesa-dev] [PATCH] glsl/linker: Fix out variables linking during single stage

2018-10-24 Thread Vadym Shovkoplias
Since out variables are copied from shader objects instruction streams to linked shader instruction steam it should be cloned at first to keep source instruction steam unaltered. Fixes: 966a797e433 glsl/linker: Link all out vars from a shader objects on a single stage Bugzilla:

[Mesa-dev] [AppVeyor] mesa master #9139 failed

2018-10-24 Thread AppVeyor
Build mesa 9139 failed Commit d99fda17c8 by Liviu Prodea on 10/24/2018 10:08 AM: scons: Put to rest zombie texture_float build option.\n\nI found a remnant of texture_float build option that wasn't removed in\ncommit

Re: [Mesa-dev] [Mesa-stable][PATCH] Scons: Put to rest zombie texture_float build option

2018-10-24 Thread Jose Fonseca
I went ahead and committed this. Thanks. Jose On 23/10/18 22:10, Liviu Prodea wrote: I found a remnant of texture_float build option that wasn't removed in https://gitlab.freedesktop.org/mesa/mesa/commit/66673bef941af344314fe9c91cad8cd330b245eb

[Mesa-dev] [AppVeyor] mesa staging/18.2 #9138 completed

2018-10-24 Thread AppVeyor
Build mesa 9138 completed Commit d39924f601 by Eric Engestrom on 10/18/2018 2:51 PM: radv: s/abs/fabsf/ for floats\n\nFixes: a4c4efad89eceb26cf82 "radv: Rework guard band calculation"\nSigned-off-by: Eric Engestrom \nReviewed-by: Bas Nieuwenhuizen \n(cherry

[Mesa-dev] [PATCH] i965: Be resilient in the face of GPU hangs

2018-10-24 Thread Chris Wilson
If we hang the GPU and end up banning our context, we will no longer be able to submit and abort with an error (exit(1) no less). As we submit minimal incremental batches that rely on the logical context state of previous batches, we can not rely on the kernel's recovery mechanism which tries to

Re: [Mesa-dev] [PATCH] amd/common: check DRM version 3.27 for JPEG decode

2018-10-24 Thread Alex Smith
Thanks, that's fixed it for me. On Tue, 23 Oct 2018 at 18:05, Liu, Leo wrote: > JPEG was added after DRM version 3.26 > > Signed-off-by: Leo Liu > Fixes: 4558758c51749(amd/common: add vcn jpeg ip info query) > Cc: Boyuan Zhang > Cc: Alex Smith > --- > src/amd/common/ac_gpu_info.c | 2 +- >

Re: [Mesa-dev] [PATCH] nir: Divergence Analysis

2018-10-24 Thread andrey simiklit
Hello, Please find my comment below: On Mon, Oct 8, 2018 at 2:15 PM Daniel Schürmann < daniel.schuerm...@campus.tu-berlin.de> wrote: > --- > src/compiler/nir/meson.build | 1 + > src/compiler/nir/nir.h | 2 + > src/compiler/nir/nir_divergence_analysis.c |

Re: [Mesa-dev] [PATCH 1/3] vl: get h264 profile idc

2018-10-24 Thread Christian König
Am 23.10.18 um 17:43 schrieb boyuan.zh...@amd.com: From: Boyuan Zhang Adding a function for converting h264 pipe video profile to profile idc Signed-off-by: Boyuan Zhang Series is Acked-by: Christian König --- src/gallium/auxiliary/util/u_video.h | 24 1 file

[Mesa-dev] [PATCH] intel/compiler: Set swizzle to BRW_SWIZZLE_XXXX for scalar region

2018-10-24 Thread Sagar Ghuge
For 3 source operand instruction with access mode align16, channel select does not apply when RepCtrl is enabled, So setting it to BRW_SWIZZLE_ seems more appropriate choice. Signed-off-by: Sagar Ghuge --- src/intel/compiler/brw_eu_emit.c | 19 ++- 1 file changed, 18

[Mesa-dev] [Bug 108532] make check nir_copy_prop_vars_test.store_store_load_different_components regression

2018-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108532 Juan A. Suarez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 108530] [Tracker] Mesa 18.3 Release Tracker

2018-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108530 Bug 108530 depends on bug 108532, which changed state. Bug 108532 Summary: make check nir_copy_prop_vars_test.store_store_load_different_components regression https://bugs.freedesktop.org/show_bug.cgi?id=108532 What|Removed

[Mesa-dev] [PATCH 5/5] radv: implement image to image operations for R32G32B32

2018-10-24 Thread Samuel Pitoiset
This should address the remaining failures in Batman Arkhman City. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107765 Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_meta_bufimage.c | 320 src/amd/vulkan/radv_meta_copy.c | 8 +-

[Mesa-dev] [PATCH 2/5] radv: add create_bview_for_r32g32b32() helper

2018-10-24 Thread Samuel Pitoiset
For the special R32G32B32 paths. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_meta_bufimage.c | 71 +++-- 1 file changed, 38 insertions(+), 33 deletions(-) diff --git a/src/amd/vulkan/radv_meta_bufimage.c b/src/amd/vulkan/radv_meta_bufimage.c index

[Mesa-dev] [PATCH 4/5] radv: fix a comment in radv_meta_buffer_to_image_cs_r32g32b32()

2018-10-24 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_meta_bufimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_meta_bufimage.c b/src/amd/vulkan/radv_meta_bufimage.c index de7e0b1e3e..56f1620db5 100644 --- a/src/amd/vulkan/radv_meta_bufimage.c +++

[Mesa-dev] [PATCH 3/5] radv: add get_image_stride_for_r32g32b32() helper

2018-10-24 Thread Samuel Pitoiset
For the special R32G32B32 paths. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_meta_bufimage.c | 27 +-- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/src/amd/vulkan/radv_meta_bufimage.c b/src/amd/vulkan/radv_meta_bufimage.c index

[Mesa-dev] [PATCH 1/5] radv: add create_buffer_from_image() helper

2018-10-24 Thread Samuel Pitoiset
For the special R32G32B32 paths. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_meta_bufimage.c | 73 ++--- 1 file changed, 35 insertions(+), 38 deletions(-) diff --git a/src/amd/vulkan/radv_meta_bufimage.c b/src/amd/vulkan/radv_meta_bufimage.c index

Re: [Mesa-dev] [PATCH] glsl/linker: validate attribute aliasing before optimizations

2018-10-24 Thread Tapani Pälli
ping On 10/12/18 3:04 PM, Tapani Pälli wrote: Patch does a 'dry run' of assign_attribute_or_color_locations before optimizations to catch cases where we have aliasing of unused attributes which is forbidden by the GLSL ES 3.x specifications. We need to run this pass before unused attributes