[Mesa-dev] [Bug 92869] OpenGL ES 3.0 context creation failure

2015-11-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92869 Bug ID: 92869 Summary: OpenGL ES 3.0 context creation failure Product: Mesa Version: 11.0 Hardware: All OS: All Status: NEW Severity: normal Pri

Re: [Mesa-dev] [PATCH 6/6] radeonsi: add glClearBufferSubData acceleration

2015-11-09 Thread Nicolai Hähnle
On 08.11.2015 22:44, Marek Olšák wrote: From: Marek Olšák Unaligned 8-bit and 16-bit clears are done in software. I found this confusing at first. I think a better phrasing is something along the lines of: 8-bit and 16-bit clears which are not aligned to dwords are done in software. Wit

Re: [Mesa-dev] [PATCH v2 2/4] vl: add drm support for vl_screen

2015-11-09 Thread Emil Velikov
Hi Leo, Please, if you do not understand what was said earlier ask for clarification rather than just ignoring it. For example: On 6 November 2015 at 18:43, Leo Liu wrote: > This will allow the state trackers to use render nodes > with screen creation > > v2 -dup fd for pipe loader > > Signed-o

Re: [Mesa-dev] [PATCH v3 4/4] st/omx: add headless support

2015-11-09 Thread Emil Velikov
Hi Leo, I'm glad that you've caught the places where I was day dreaming but again, please don't just ignore suggestions. If you believe there is something wrong with them just say so (as you did with debug_get_options). On 6 November 2015 at 18:43, Leo Liu wrote: > This will allow dec/enc/transc

Re: [Mesa-dev] [PATCH] winsys/radeon: Use CPU page size instead of hardcoding 4096 bytes v2

2015-11-09 Thread Michel Dänzer
On 06.11.2015 20:58, Marek Olšák wrote: > On Wed, Nov 4, 2015 at 11:05 AM, Michel Dänzer wrote: >> From: Michel Dänzer >> >> Fixes GPUVM conflicts with non-4K page size. >> >> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92738 >> >> v2: Replace sanitization of VM base address alignment

Re: [Mesa-dev] [PATCH 7/7] gallium/radeon: inline the r600_rings structure

2015-11-09 Thread Nicolai Hähnle
The series is Reviewed-by: Nicolai Hähnle On 08.11.2015 22:45, Marek Olšák wrote: From: Marek Olšák --- src/gallium/drivers/r600/evergreen_compute.c| 14 ++--- src/gallium/drivers/r600/evergreen_hw_context.c | 10 ++-- src/gallium/drivers/r600/evergreen_state.c | 66

Re: [Mesa-dev] [PATCH 4/7] gallium/radeon: simplify restoring render condition after flush

2015-11-09 Thread Nicolai Hähnle
On 08.11.2015 22:48, Marek Olšák wrote: From: Marek Olšák --- src/gallium/drivers/radeon/r600_pipe_common.c | 22 +- src/gallium/drivers/radeon/r600_pipe_common.h | 4 2 files changed, 5 insertions(+), 21 deletions(-) diff --git a/src/gallium/drivers/radeon/r600_p

Re: [Mesa-dev] [PATCH 4/7] gallium/radeon: simplify restoring render condition after flush

2015-11-09 Thread Nicolai Hähnle
On 09.11.2015 10:43, Nicolai Hähnle wrote: On 08.11.2015 22:48, Marek Olšák wrote: From: Marek Olšák --- src/gallium/drivers/radeon/r600_pipe_common.c | 22 +- src/gallium/drivers/radeon/r600_pipe_common.h | 4 2 files changed, 5 insertions(+), 21 deletions(-) di

Re: [Mesa-dev] [PATCH 5/5] radeonsi: calculate optimal GS ring sizes to fix GS hangs on Tonga

2015-11-09 Thread Michel Dänzer
On 09.11.2015 07:00, Marek Olšák wrote: > From: Marek Olšák > > I discovered that increasing the ESGS ring size fixes GS hangs on Tonga, > so let's do it properly. > > There is now a separate init_config_gs_rings state that is not immutable, > because GS rings are resized when needed. > > This

Re: [Mesa-dev] [PATCH 0/5] RadeonSI: Optimal GS ring sizes, fixing Tonga hangs

2015-11-09 Thread Michel Dänzer
On 09.11.2015 07:00, Marek Olšák wrote: > This fixes hangs on Tonga when the ESGS ring isn't large enough. It's also a > requirement for this not-yet-committed patch: > >"radeonsi: link ES-GS just like LS-HS" > > which makes GS hangs easier to reproduce. The ring size equations are based >

Re: [Mesa-dev] [PATCH 6/7] gallium/radeon: remove predicate_drawing flag

2015-11-09 Thread Nicolai Hähnle
On 08.11.2015 22:48, Marek Olšák wrote: From: Marek Olšák --- src/gallium/drivers/r600/r600_hw_context.c| 2 +- src/gallium/drivers/r600/r600_state_common.c | 2 +- src/gallium/drivers/radeon/r600_pipe_common.h | 1 - src/gallium/drivers/radeon/r600_query.c | 1 - src/gallium/d

Re: [Mesa-dev] [PATCH 7/7] gallium/radeon: shorten render_cond variable names

2015-11-09 Thread Nicolai Hähnle
The series is Reviewed-by: Nicolai Hähnle On 08.11.2015 22:48, Marek Olšák wrote: From: Marek Olšák and ..._cond -> ..._invert --- src/gallium/drivers/r600/r600_hw_context.c| 2 +- src/gallium/drivers/r600/r600_state_common.c | 2 +- src/gallium/drivers/radeon/r600_pipe_common.h |

Re: [Mesa-dev] [PATCH 5/5] radeonsi: calculate optimal GS ring sizes to fix GS hangs on Tonga

2015-11-09 Thread Nicolai Hähnle
On 08.11.2015 23:00, Marek Olšák wrote: From: Marek Olšák I discovered that increasing the ESGS ring size fixes GS hangs on Tonga, so let's do it properly. There is now a separate init_config_gs_rings state that is not immutable, because GS rings are resized when needed. This also saves some

[Mesa-dev] [Bug 92278] Black screen in War Thunder

2015-11-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92278 --- Comment #9 from komin...@gmail.com --- (In reply to Sven Arvidsson from comment #5) > The patch works fine here, awesome work! Fantastic to have it fixed so > quickly! > > The developer of the game is Gaijin Entertainment, http://gaijinent.co

[Mesa-dev] [Bug 92869] OpenGL ES 3.0 context creation failure

2015-11-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92869 Jose Fonseca changed: What|Removed |Added CC||chad.vers...@intel.com,

[Mesa-dev] [Bug 92278] Black screen in War Thunder

2015-11-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92278 --- Comment #10 from komin...@gmail.com --- worked with MESA_GL_VERSION_OVERRIDE=4.1COMPAT ~/.steam/steam/steamapps/common/War\ Thunder/launcher -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for

Re: [Mesa-dev] [PATCH 4/4] i965: Allow indirect GS input indexing in the scalar backend.

2015-11-09 Thread Abdiel Janulgue
On 11/08/2015 07:04 AM, Kenneth Graunke wrote: > This allows arbitrary non-constant indices on GS input arrays, > both for the vertex index, and any array offsets beyond that. > > All indirects are handled via the pull model. We could potentially > handle indirect addressing of pushed data as w

[Mesa-dev] nir/i965: Source modifiers on vecN opcodes

2015-11-09 Thread Iago Toral
Hi, Currently, NIR defines vecN operations as unsigned (integer). The fp64 patches from Connor change this to float (I guess because we need to know the case where we are packing vectors of 64-bit floats). However, this makes it so that nir_lower_source_to_mods turns this: vec1 ssa_2 = f

Re: [Mesa-dev] [PATCH 1/7] radeonsi: initialize SX_PS_DOWNCONVERT to 0 on Stoney

2015-11-09 Thread Emil Velikov
On 8 November 2015 at 21:45, Marek Olšák wrote: > From: Marek Olšák > > otherwise the SX or CB blocks can go bananas > --- Should we get this into stable as well, considering Alex requested that we have Stoney support there ? It seems that other fixes d57ede92b78 are missing the tag. Can we get

Re: [Mesa-dev] [PATCH V2 01/12] glsl: simplify interface block stream qualifier validation

2015-11-09 Thread Samuel Iglesias Gonsálvez
Reviewed-by: Samuel Iglesias Gonsálvez On 08/11/15 23:34, Timothy Arceri wrote: > From: Timothy Arceri > > Qualifiers on member variables are redundent all we need to do > if check if it matches the stream associated with the block and > throw an error if its not. > > Cc: Samuel Iglesias Gonsa

Re: [Mesa-dev] [RFCv2 03/13] nir: allow pre-resolved sampler uniform locations

2015-11-09 Thread Rob Clark
On Sun, Nov 8, 2015 at 7:58 PM, Timothy Arceri wrote: > On Sun, 2015-11-08 at 15:12 -0500, Rob Clark wrote: >> From: Rob Clark >> >> With TGSI, the ir_variable::data.location gets fixed up to be a stage >> local location (rather than program global). In this case we need to >> skip the UniformSt

[Mesa-dev] [PATCH] st/omx: straighten get/put_screen

2015-11-09 Thread Emil Velikov
The current code is busted in a number of ways. - initially checks for omx_display (rather than omx_screen), which may or may not be around. - blindly feeds the empty env variable string to loader_open_device() - reads the env variable every time get_screen is called - the latter manifests int

Re: [Mesa-dev] nir/i965: Source modifiers on vecN opcodes

2015-11-09 Thread Thomas Helland
2015-11-09 12:55 GMT+01:00 Iago Toral : > Hi, > > Currently, NIR defines vecN operations as unsigned (integer). The fp64 > patches from Connor change this to float (I guess because we need to > know the case where we are packing vectors of 64-bit floats). However, > this makes it so that nir_lower

[Mesa-dev] [PATCH 09/13] st/xvmc: use the vl_screen dispatch

2015-11-09 Thread Emil Velikov
Signed-off-by: Emil Velikov --- src/gallium/state_trackers/xvmc/context.c | 10 +- src/gallium/state_trackers/xvmc/surface.c | 13 ++--- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/src/gallium/state_trackers/xvmc/context.c b/src/gallium/state_trackers/xvmc/co

[Mesa-dev] [PATCH 00/13] auxiliary/vl: winsys' galore

2015-11-09 Thread Emil Velikov
Hi all, Inspired by the resent interest in alternative vl winsys, I've decided to rework the winsys into a traditional gallium fashion. Namely: add the destroy() and other functions into struct vl_screen. This will allow users (state-trackers) to call the vl_foo_screen_create() entry point and

[Mesa-dev] [PATCH 05/13] auxiliary/vl/drm: use a label for the error path

2015-11-09 Thread Emil Velikov
... just like every other place in gallium. Signed-off-by: Emil Velikov --- src/gallium/auxiliary/vl/vl_winsys_drm.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/gallium/auxiliary/vl/vl_winsys_drm.c b/src/gallium/auxiliary/vl/vl_winsys_drm.c index 2e

[Mesa-dev] [PATCH 01/13] st/va: trivial cleanup

2015-11-09 Thread Emil Velikov
Drop the temporary variable and fold the two conditional. Signed-off-by: Emil Velikov --- src/gallium/state_trackers/va/context.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/gallium/state_trackers/va/context.c b/src/gallium/state_trackers/va/context.c ind

[Mesa-dev] [PATCH 13/13] auxiliary/vl/dri2: coding style fixes

2015-11-09 Thread Emil Velikov
Rewrap long(ish) lines, add space between struct foo and *. Trivial or bikeshedding you decide. Signed-off-by: Emil Velikov --- src/gallium/auxiliary/vl/vl_winsys.h | 2 +- src/gallium/auxiliary/vl/vl_winsys_dri.c | 54 +++- 2 files changed, 34 insertions(+), 22

[Mesa-dev] [PATCH 07/13] st/omx: use the vl_screen dispatch

2015-11-09 Thread Emil Velikov
Signed-off-by: Emil Velikov --- src/gallium/state_trackers/omx/entrypoint.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/gallium/state_trackers/omx/entrypoint.c b/src/gallium/state_trackers/omx/entrypoint.c index d369cec..883a2a1 100644 --- a/src/gallium/st

[Mesa-dev] [PATCH 06/13] auxiliary/vl/dri2: setup the dispatch

2015-11-09 Thread Emil Velikov
Signed-off-by: Emil Velikov --- This commit might cause some build warnings, all of which are handled with the next commit(s). -Emil src/gallium/auxiliary/vl/vl_winsys.h | 4 ++-- src/gallium/auxiliary/vl/vl_winsys_dri.c | 19 +-- 2 files changed, 15 insertions(+), 8 dele

[Mesa-dev] [PATCH 04/13] auxiliary/vl/drm: setup the dispatch

2015-11-09 Thread Emil Velikov
Signed-off-by: Emil Velikov --- src/gallium/auxiliary/vl/vl_winsys_drm.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/gallium/auxiliary/vl/vl_winsys_drm.c b/src/gallium/auxiliary/vl/vl_winsys_drm.c index 1167fcf..2ebf20c 100644 --- a/src/gallium/auxiliary/vl/vl_winsys_drm.c +++

[Mesa-dev] [PATCH 10/13] st/vdpau: use the vl_screen dispatch

2015-11-09 Thread Emil Velikov
Signed-off-by: Emil Velikov --- src/gallium/state_trackers/vdpau/device.c | 4 ++-- src/gallium/state_trackers/vdpau/presentation.c | 18 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/gallium/state_trackers/vdpau/device.c b/src/gallium/state_track

[Mesa-dev] [PATCH 11/13] auxiliary/vl/drm: hide internal functions

2015-11-09 Thread Emil Velikov
As of last commit everyone is using the vl_screen dispatch, thus we can hide this function from the headers and make it static. Signed-off-by: Emil Velikov --- src/gallium/auxiliary/vl/vl_winsys.h | 3 --- src/gallium/auxiliary/vl/vl_winsys_drm.c | 7 +-- 2 files changed, 5 insertions(+)

[Mesa-dev] [PATCH 08/13] st/va: use the vl_screen dispatch

2015-11-09 Thread Emil Velikov
Signed-off-by: Emil Velikov --- src/gallium/state_trackers/va/context.c | 10 ++ src/gallium/state_trackers/va/picture.c | 2 +- src/gallium/state_trackers/va/surface.c | 13 ++--- 3 files changed, 9 insertions(+), 16 deletions(-) diff --git a/src/gallium/state_trackers/va/conte

[Mesa-dev] [PATCH 03/13] auxiliary/vl: add dispatch table

2015-11-09 Thread Emil Velikov
As mentioned previously, it will allow us to use different vl backend in a generic way from either video state-tracker. Signed-off-by: Emil Velikov --- src/gallium/auxiliary/vl/vl_winsys.h | 17 + 1 file changed, 17 insertions(+) diff --git a/src/gallium/auxiliary/vl/vl_winsys.h

[Mesa-dev] [PATCH 02/13] auxiliary/vl: rename vl_screen_create to vl_dri2_screen_create

2015-11-09 Thread Emil Velikov
In a preparation of having proper multiplatform/backend handling in VL. With follow up commits we'll introduce a dispatch within vl_screen similar to the one in pipe_screen. This way any VL state-tracker can overate seemlessly, considering the backend/platform is properly setup. Signed-off-by: Em

[Mesa-dev] [PATCH 12/13] auxiliary/vl/dri2: hide internal functions

2015-11-09 Thread Emil Velikov
Analogous to previous commit. While we're here prefix all functions identically -> vl_dri2_foo Signed-off-by: Emil Velikov --- src/gallium/auxiliary/vl/vl_winsys.h | 17 --- src/gallium/auxiliary/vl/vl_winsys_dri.c | 37 +--- 2 files changed, 20 insert

Re: [Mesa-dev] [RFC PATCH 00/40] Rework/consolidate the pipe-loader business

2015-11-09 Thread Emil Velikov
On 30 October 2015 at 17:57, Emil Velikov wrote: > On 19 October 2015 at 18:41, Emil Velikov wrote: >> On 19 October 2015 at 17:07, Brian Paul wrote: > >>> >>> I'm not too familiar with this code or these changes but I'm wondering how >>> much of chance there is of this breaking any driver/targe

Re: [Mesa-dev] [RFC PATCH 00/40] Rework/consolidate the pipe-loader business

2015-11-09 Thread Rob Clark
On Mon, Nov 9, 2015 at 8:30 AM, Emil Velikov wrote: > On 30 October 2015 at 17:57, Emil Velikov wrote: >> On 19 October 2015 at 18:41, Emil Velikov wrote: >>> On 19 October 2015 at 17:07, Brian Paul wrote: >> I'm not too familiar with this code or these changes but I'm wondering how >

Re: [Mesa-dev] [PATCH] freedreno: expose GLSL 140 and fake MSAA for GL3.0/3.1 support

2015-11-09 Thread Ilia Mirkin
A few points to note here: (a) We're obviously faking MSAA support here -- not actually supporting the 4x MSAA that GL 3.0 requires (although the HW does support that) (b) We're only exposing 4 MRT's -- that is a HW limit. I guess one could do something with a second per-tile runthrough for the ad

Re: [Mesa-dev] soft/llvmpipe front buffer access and piglit regressions

2015-11-09 Thread Roland Scheidegger
Am 09.11.2015 um 04:44 schrieb Dave Airlie: > So it appears my patch to enable front buffer access on soft/llvmpipe > causes some piglit regressions. However these are due to piglit having > undefined behaviour where it doesn't create a window but has tests > requiring a front buffer. The new code

Re: [Mesa-dev] [PATCH] RFC: llvmpipe map scene buffers outside thread. (v2)

2015-11-09 Thread Roland Scheidegger
Am 09.11.2015 um 05:19 schrieb Dave Airlie: > From: Dave Airlie > > There might be a reason we do this inside the thread, but I'm not aware of it > yet, move stuff around and see if this jogs anyone's memory. > > Doing this outside the thread at least with front buffer rendering avoids > problem

Re: [Mesa-dev] [PATCH] st/omx: straighten get/put_screen

2015-11-09 Thread Liu, Leo
>-Original Message- >From: Emil Velikov [mailto:emil.l.veli...@gmail.com] >Sent: Monday, November 09, 2015 8:17 AM >To: mesa-dev@lists.freedesktop.org >Cc: emil.l.veli...@gmail.com; Liu, Leo >Subject: [PATCH] st/omx: straighten get/put_screen > >The current code is busted in a number of way

Re: [Mesa-dev] nir/i965: Source modifiers on vecN opcodes

2015-11-09 Thread Connor Abbott
On Mon, Nov 9, 2015 at 6:55 AM, Iago Toral wrote: > Hi, > > Currently, NIR defines vecN operations as unsigned (integer). The fp64 > patches from Connor change this to float (I guess because we need to > know the case where we are packing vectors of 64-bit floats). However, > this makes it so that

Re: [Mesa-dev] nir/i965: Source modifiers on vecN opcodes

2015-11-09 Thread Jason Ekstrand
On Nov 9, 2015 7:24 AM, "Connor Abbott" wrote: > > On Mon, Nov 9, 2015 at 6:55 AM, Iago Toral wrote: > > Hi, > > > > Currently, NIR defines vecN operations as unsigned (integer). The fp64 > > patches from Connor change this to float (I guess because we need to > > know the case where we are packi

Re: [Mesa-dev] [PATCH 2/3] glsl: Lower UBO and SSBO access in glsl linker

2015-11-09 Thread Iago Toral
On Wed, 2015-11-04 at 15:33 -0800, Kristian Høgsberg Kristensen wrote: > All GLSL IR consumers run this lowering pass so we can move it to the > linker. This moves the pass up quite a bit, but that's the point: it > needs to run before we throw away information about per-component vector > access.

Re: [Mesa-dev] [PATCH 1/3] glsl: Drop exec_list argument to lower_ubo_reference

2015-11-09 Thread Iago Toral
Reviewed-by: Iago Toral Quiroga On Wed, 2015-11-04 at 15:33 -0800, Kristian Høgsberg Kristensen wrote: > We always pass in shader->ir and we already pass in the shader, so just > drop the exec_list. Most passes either take just a exec_list or a > shader, so this seems more consistent. > > Signed

Re: [Mesa-dev] nir/i965: Source modifiers on vecN opcodes

2015-11-09 Thread Connor Abbott
On Mon, Nov 9, 2015 at 10:41 AM, Jason Ekstrand wrote: > > On Nov 9, 2015 7:24 AM, "Connor Abbott" wrote: >> >> On Mon, Nov 9, 2015 at 6:55 AM, Iago Toral wrote: >> > Hi, >> > >> > Currently, NIR defines vecN operations as unsigned (integer). The fp64 >> > patches from Connor change this to floa

Re: [Mesa-dev] [PATCH v3] gallium/hud: control visibility at startup and runtime.

2015-11-09 Thread Brian Paul
On 11/07/2015 09:05 PM, Jimmy Berry wrote: - env GALLIUM_HUD_VISIBLE: control default visibility - env GALLIUM_HUD_SIGNAL_TOGGLE: toggle visibility via signal --- docs/envvars.html | 6 ++ src/gallium/auxiliary/hud/hud_context.c | 28 2

Re: [Mesa-dev] [PATCH 2/4] i965: Introduce a INDIRECT_THREAD_PAYLOAD_MOV opcode.

2015-11-09 Thread Jason Ekstrand
Given the fact that we have multiple possible uses for such an opcode, I've been wondering if it wouldn't be better to simply have a SHADER_OPCODE_INDIRECT_MOV opcode that works on pretty much any register type. Given that they all get lowered away to HW_REG before the end, the emit code wouldn't

[Mesa-dev] [Bug 90264] [Regression, bisected] Tooltip corruption in Chrome

2015-11-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90264 --- Comment #52 from pavi...@yahoo.fr --- I don't know if you are aware but there is a similar bug in chromium that as been fixed. https://code.google.com/p/chromium/issues/detail?id=442111 -- You are receiving this mail because: You are the QA

[Mesa-dev] [Bug 90264] [Regression, bisected] Tooltip corruption in Chrome

2015-11-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90264 --- Comment #53 from James Jones --- I'll be out of the office for the next 2-3 weeks. For Vulkan issues, talk to Damien Leone (dle...@nvidia.com) For EGL issues, talk to Daniel Kartch (dkar...@nvidia.com) -

[Mesa-dev] [Bug 90264] [Regression, bisected] Tooltip corruption in Chrome

2015-11-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90264 --- Comment #54 from Furkan --- Quoted from the Chromium bug report page: "I disabled use_virtualized_gl_contexts on non-nvidia drivers in the latest build of chromium" I don't know what that does, but it looks like a workaround. -- You are r

Re: [Mesa-dev] [RFC PATCH shader-db 1/2] run: don't expect incoming message to contain a newline

2015-11-09 Thread Matt Turner
On Sun, Nov 8, 2015 at 8:53 PM, Ilia Mirkin wrote: > It seems a bit odd to expect a debug message to contain a newline -- > what if you wanted to include something *after* the message, for > example. It makes more sense for the code actually printing to have the > newline rather than the string be

Re: [Mesa-dev] [PATCH] st/omx: straighten get/put_screen

2015-11-09 Thread Emil Velikov
On 9 November 2015 at 15:22, Liu, Leo wrote: >>-Original Message- >>From: Emil Velikov [mailto:emil.l.veli...@gmail.com] >>Sent: Monday, November 09, 2015 8:17 AM >>To: mesa-dev@lists.freedesktop.org >>Cc: emil.l.veli...@gmail.com; Liu, Leo >>Subject: [PATCH] st/omx: straighten get/put_scr

Re: [Mesa-dev] [RFC PATCH shader-db 2/2] run: request a debug context

2015-11-09 Thread Matt Turner
On Sun, Nov 8, 2015 at 8:53 PM, Ilia Mirkin wrote: > st/mesa only prints messages in a debug context. Without always enabling > the message generation, I don't see a way to hook into the glEnable() to > turn it on/off. > --- > run.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/run.c b

Re: [Mesa-dev] [PATCH shader-db 1/3] split-to-files: deal with minimum versions, other shader types

2015-11-09 Thread Matt Turner
I think Ken has some hacks in Mesa to dump shaders, so we don't use this script very much any more. Feel free to commit this in any case. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH shader-db 2/3] run: work with tessellation shaders

2015-11-09 Thread Matt Turner
Reviewed-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH shader-db 3/3] nv-report: initial checkin for nouveau

2015-11-09 Thread Matt Turner
Feel free to commit! ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH v2 shader-db] report.py: rework and update for cycle info

2015-11-09 Thread Matt Turner
On Fri, Oct 30, 2015 at 10:49 AM, Connor Abbott wrote: > Ping. I just pushed the corresponding mesa patch to master yesterday, > so I'd like to get this landed in shader-db soon. Acked-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedeskto

[Mesa-dev] [PATCH 1/3] gallium: add PIPE_CAP_CLEAR_TEXTURE and clear_texture prototype

2015-11-09 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- src/gallium/docs/source/context.rst | 4 src/gallium/docs/source/screen.rst | 2 ++ src/gallium/drivers/freedreno/freedreno_screen.c | 1 + src/gallium/drivers/i915/i915_screen.c | 1 + src/gallium/drivers/ilo/ilo_screen

[Mesa-dev] [PATCH 0/3] gallium: add ARB_clear_texture infrastructure

2015-11-09 Thread Ilia Mirkin
This is basically a resend of a series I wrote over a year ago. I don't remember what we hated about it last time, but I'm tempted not to look. This seems pretty reasonably to me now. A refactoring opportunity exists to remove ->clear_render_target and ->clear_depth_stencil, but... that can be don

[Mesa-dev] [PATCH 2/3] st/mesa: implement ARB_clear_texture

2015-11-09 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- src/mesa/state_tracker/st_cb_texture.c | 29 + src/mesa/state_tracker/st_extensions.c | 1 + 2 files changed, 30 insertions(+) diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index d4c916e..

[Mesa-dev] [PATCH 3/3] nvc0: add ARB_clear_texture support

2015-11-09 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- docs/GL3.txt| 2 +- docs/relnotes/11.1.0.html | 1 + src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 2 +- src/gallium/drivers/nouveau/nvc0/nvc0_surface.c | 82 + 4 files changed,

[Mesa-dev] [Bug 90264] [Regression, bisected] Tooltip corruption in Chrome

2015-11-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90264 --- Comment #56 from Antoine Labour --- (In reply to Furkan from comment #54) > Quoted from the Chromium bug report page: > > "I disabled use_virtualized_gl_contexts on non-nvidia drivers in the latest > build of chromium" > > I don't know what

[Mesa-dev] [Bug 90264] [Regression, bisected] Tooltip corruption in Chrome

2015-11-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90264 --- Comment #55 from Antoine Labour --- (In reply to paviluf from comment #52) > I don't know if you are aware but there is a similar bug in chromium that as > been fixed. > https://code.google.com/p/chromium/issues/detail?id=442111 Yeah, that b

Re: [Mesa-dev] [PATCH shader-db 1/3] split-to-files: deal with minimum versions, other shader types

2015-11-09 Thread Ilia Mirkin
I used this script in conjunction with ST_DUMP_SHADERS. What other way is there? On Mon, Nov 9, 2015 at 1:36 PM, Matt Turner wrote: > I think Ken has some hacks in Mesa to dump shaders, so we don't use > this script very much any more. Feel free to commit this in any case. ___

Re: [Mesa-dev] [PATCH] st/omx: straighten get/put_screen

2015-11-09 Thread Liu, Leo
>-Original Message- >From: Emil Velikov [mailto:emil.l.veli...@gmail.com] >Sent: Monday, November 09, 2015 1:34 PM >To: Liu, Leo >Cc: mesa-dev@lists.freedesktop.org >Subject: Re: [PATCH] st/omx: straighten get/put_screen > >On 9 November 2015 at 15:22, Liu, Leo wrote: >>>-Original Me

Re: [Mesa-dev] [RFC PATCH shader-db 2/2] run: request a debug context

2015-11-09 Thread Ilia Mirkin
On Mon, Nov 9, 2015 at 1:35 PM, Matt Turner wrote: > On Sun, Nov 8, 2015 at 8:53 PM, Ilia Mirkin wrote: >> st/mesa only prints messages in a debug context. Without always enabling >> the message generation, I don't see a way to hook into the glEnable() to >> turn it on/off. >> --- >> run.c | 1 +

Re: [Mesa-dev] [PATCH shader-db 1/3] split-to-files: deal with minimum versions, other shader types

2015-11-09 Thread Matt Turner
On Mon, Nov 9, 2015 at 10:46 AM, Ilia Mirkin wrote: > I used this script in conjunction with ST_DUMP_SHADERS. What other way is > there? Some local hack and we should probably finish and upstream. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.or

Re: [Mesa-dev] [RFC PATCH shader-db 2/2] run: request a debug context

2015-11-09 Thread Matt Turner
On Mon, Nov 9, 2015 at 10:46 AM, Ilia Mirkin wrote: > On Mon, Nov 9, 2015 at 1:35 PM, Matt Turner wrote: >> On Sun, Nov 8, 2015 at 8:53 PM, Ilia Mirkin wrote: >>> st/mesa only prints messages in a debug context. Without always enabling >>> the message generation, I don't see a way to hook into t

Re: [Mesa-dev] [RFC PATCH shader-db 2/2] run: request a debug context

2015-11-09 Thread Ilia Mirkin
On Mon, Nov 9, 2015 at 1:56 PM, Matt Turner wrote: > On Mon, Nov 9, 2015 at 10:46 AM, Ilia Mirkin wrote: >> On Mon, Nov 9, 2015 at 1:35 PM, Matt Turner wrote: >>> On Sun, Nov 8, 2015 at 8:53 PM, Ilia Mirkin wrote: st/mesa only prints messages in a debug context. Without always enabling >>>

Re: [Mesa-dev] [PATCH 04/10] i965/skl: skip fast clears for certain surface formats

2015-11-09 Thread Chad Versace
On Tue 03 Nov 2015, Ben Widawsky wrote: > On Fri, Oct 16, 2015 at 04:05:22PM -0700, Chad Versace wrote: > > On Tue 13 Oct 2015, Ben Widawsky wrote: > > > Initially I had this planned as a patch to be squashed in to the enabling > > > patch > > > because there is no point enabling fast clears witho

Re: [Mesa-dev] [PATCH 03/10] i965/skl: Enable fast color clears on SKL

2015-11-09 Thread Chad Versace
On Tue 03 Nov 2015, Ben Widawsky wrote: > On Fri, Oct 16, 2015 at 04:10:02PM -0700, Chad Versace wrote: > > But this patch doesn't enable fast clears! The reverts in pathches 6 and > > 7 need to be folded into this patch, otherwise the patch does not do > > what it claims. > > > > Also, you can't

Re: [Mesa-dev] [PATCH] i965/skl/gt4: Fix URB programming restriction.

2015-11-09 Thread Kenneth Graunke
On Saturday, November 07, 2015 08:40:51 AM Ben Widawsky wrote: > On Fri, Nov 06, 2015 at 07:29:18PM -0800, Kenneth Graunke wrote: > > On Friday, November 06, 2015 06:12:27 PM Ben Widawsky wrote: > > > The comment in the code details the restriction. Thanks to Ken for having > > > a very > > > help

Re: [Mesa-dev] [PATCH 3/3] nvc0: add ARB_clear_texture support

2015-11-09 Thread Samuel Pitoiset
On 11/09/2015 07:40 PM, Ilia Mirkin wrote: Signed-off-by: Ilia Mirkin --- docs/GL3.txt| 2 +- docs/relnotes/11.1.0.html | 1 + src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 2 +- src/gallium/drivers/nouveau/nvc0/nvc0_surface

Re: [Mesa-dev] [PATCH] i965/skl/gt4: Fix URB programming restriction.

2015-11-09 Thread Ben Widawsky
On Mon, Nov 09, 2015 at 11:50:25AM -0800, Kenneth Graunke wrote: > On Saturday, November 07, 2015 08:40:51 AM Ben Widawsky wrote: > > On Fri, Nov 06, 2015 at 07:29:18PM -0800, Kenneth Graunke wrote: > > > On Friday, November 06, 2015 06:12:27 PM Ben Widawsky wrote: > > > > The comment in the code d

Re: [Mesa-dev] [PATCH 3/3] nvc0: add ARB_clear_texture support

2015-11-09 Thread Ilia Mirkin
On Mon, Nov 9, 2015 at 2:58 PM, Samuel Pitoiset wrote: > > > On 11/09/2015 07:40 PM, Ilia Mirkin wrote: >> >> Signed-off-by: Ilia Mirkin >> --- >> docs/GL3.txt| 2 +- >> docs/relnotes/11.1.0.html | 1 + >> src/gallium/drivers/nouveau

Re: [Mesa-dev] [PATCH 9/9] i965: Check accumulator restrictions.

2015-11-09 Thread Matt Turner
On Tue, Nov 3, 2015 at 11:53 PM, Kenneth Graunke wrote: > On Wednesday, October 21, 2015 03:58:17 PM Matt Turner wrote: >> --- >> src/mesa/drivers/dri/i965/brw_eu_validate.c | 244 >> >> 1 file changed, 244 insertions(+) >> >> diff --git a/src/mesa/drivers/dri/i965/b

Re: [Mesa-dev] [PATCH 0/3] gallium: add ARB_clear_texture infrastructure

2015-11-09 Thread Roland Scheidegger
Am 09.11.2015 um 19:40 schrieb Ilia Mirkin: > This is basically a resend of a series I wrote over a year ago. I > don't remember what we hated about it last time, but I'm tempted not > to look. This seems pretty reasonably to me now. I guess I wasn't entirely happy with yet another clear method...

Re: [Mesa-dev] [PATCH 0/3] gallium: add ARB_clear_texture infrastructure

2015-11-09 Thread Ilia Mirkin
On Mon, Nov 9, 2015 at 3:07 PM, Roland Scheidegger wrote: > Am 09.11.2015 um 19:40 schrieb Ilia Mirkin: >> This is basically a resend of a series I wrote over a year ago. I >> don't remember what we hated about it last time, but I'm tempted not >> to look. This seems pretty reasonably to me now. >

Re: [Mesa-dev] [PATCH 3/3] nvc0: add ARB_clear_texture support

2015-11-09 Thread Samuel Pitoiset
On 11/09/2015 09:03 PM, Ilia Mirkin wrote: On Mon, Nov 9, 2015 at 2:58 PM, Samuel Pitoiset wrote: On 11/09/2015 07:40 PM, Ilia Mirkin wrote: Signed-off-by: Ilia Mirkin --- docs/GL3.txt| 2 +- docs/relnotes/11.1.0.html | 1 +

Re: [Mesa-dev] [PATCH 3/3] nvc0: add ARB_clear_texture support

2015-11-09 Thread Ilia Mirkin
On Mon, Nov 9, 2015 at 3:13 PM, Samuel Pitoiset wrote: > > > On 11/09/2015 09:03 PM, Ilia Mirkin wrote: >> >> On Mon, Nov 9, 2015 at 2:58 PM, Samuel Pitoiset >> wrote: >>> >>> >>> >>> On 11/09/2015 07:40 PM, Ilia Mirkin wrote: Signed-off-by: Ilia Mirkin --- docs/GL3.t

Re: [Mesa-dev] [PATCH 3/3] nvc0: add ARB_clear_texture support

2015-11-09 Thread Samuel Pitoiset
On 11/09/2015 09:14 PM, Ilia Mirkin wrote: On Mon, Nov 9, 2015 at 3:13 PM, Samuel Pitoiset wrote: On 11/09/2015 09:03 PM, Ilia Mirkin wrote: On Mon, Nov 9, 2015 at 2:58 PM, Samuel Pitoiset wrote: On 11/09/2015 07:40 PM, Ilia Mirkin wrote: Signed-off-by: Ilia Mirkin --- docs/G

Re: [Mesa-dev] soft/llvmpipe front buffer access and piglit regressions

2015-11-09 Thread Dave Airlie
On 10 November 2015 at 00:30, Roland Scheidegger wrote: > Am 09.11.2015 um 04:44 schrieb Dave Airlie: >> So it appears my patch to enable front buffer access on soft/llvmpipe >> causes some piglit regressions. However these are due to piglit having >> undefined behaviour where it doesn't create a

Re: [Mesa-dev] [PATCH 0/7] i965: Use native formats in fs_surface_builder

2015-11-09 Thread Chad Versace
On Wed 04 Nov 2015, Jason Ekstrand wrote: > This little patch series converts fs_surface_builder to use native formats > for doing all of its image_load_store workaround tricks. If you're willing > to take as an axiom that we want to not link the backend compiler against > core mesa, this leaves u

Re: [Mesa-dev] [PATCH 1/7] i965/fs_surface_builder: Explicitly handle FORMAT_NONE in num_image_coordinates

2015-11-09 Thread Chad Versace
On Wed 04 Nov 2015, Jason Ekstrand wrote: > Previously, we were relying on has_matching_typed_format returning true for > MESA_FORMAT_NONE which, in turn, relied on _mesa_get_format_bytes returning > 1 for MESA_FORMAT_NONE. All of this is extremely non-obvious. Instead, > this commit makes us han

Re: [Mesa-dev] [PATCH 2/7] i965: Add a variant of lower_mesa_image_format that takes native formats

2015-11-09 Thread Chad Versace
On Wed 04 Nov 2015, Jason Ekstrand wrote: > Eventually, we'll switch over to this new function and delete the old one > completely. However, duplicating it both makes the transition smoother and > allows us to assert that they are the same. > > While we're at it, we start a new file for collectin

Re: [Mesa-dev] [PATCH 3/7] i965: Add an image format metadata array

2015-11-09 Thread Chad Versace
On Wed 04 Nov 2015, Jason Ekstrand wrote: > This little data structure and associated array contains all of the image > format metadata needed for doing image_load_store work-arounds. This way > we can pull metadata from within the i965 driver without having to go out > to core mesa for it. It is

Re: [Mesa-dev] [PATCH 0/3] gallium: add ARB_clear_texture infrastructure

2015-11-09 Thread Roland Scheidegger
Am 09.11.2015 um 21:12 schrieb Ilia Mirkin: > On Mon, Nov 9, 2015 at 3:07 PM, Roland Scheidegger wrote: >> Am 09.11.2015 um 19:40 schrieb Ilia Mirkin: >>> This is basically a resend of a series I wrote over a year ago. I >>> don't remember what we hated about it last time, but I'm tempted not >>>

Re: [Mesa-dev] soft/llvmpipe front buffer access and piglit regressions

2015-11-09 Thread Brian Paul
On 11/09/2015 01:15 PM, Dave Airlie wrote: On 10 November 2015 at 00:30, Roland Scheidegger wrote: Am 09.11.2015 um 04:44 schrieb Dave Airlie: So it appears my patch to enable front buffer access on soft/llvmpipe causes some piglit regressions. However these are due to piglit having undefined

Re: [Mesa-dev] [PATCH 0/3] gallium: add ARB_clear_texture infrastructure

2015-11-09 Thread Ilia Mirkin
On Mon, Nov 9, 2015 at 3:29 PM, Roland Scheidegger wrote: > Am 09.11.2015 um 21:12 schrieb Ilia Mirkin: >> On Mon, Nov 9, 2015 at 3:07 PM, Roland Scheidegger >> wrote: >>> Am 09.11.2015 um 19:40 schrieb Ilia Mirkin: This is basically a resend of a series I wrote over a year ago. I don'

[Mesa-dev] [Bug 92869] OpenGL ES 3.0 context creation failure

2015-11-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92869 --- Comment #2 from Gustaf Ullberg --- Thanks José, Interesting to see that you have been working on this already. So, what is the current status? Is the patch ready to be merged after some testing or is it controversial or incomplete in any way

Re: [Mesa-dev] [RFCv2 03/13] nir: allow pre-resolved sampler uniform locations

2015-11-09 Thread Timothy Arceri
On Mon, 2015-11-09 at 07:43 -0500, Rob Clark wrote: > On Sun, Nov 8, 2015 at 7:58 PM, Timothy Arceri > wrote: > > On Sun, 2015-11-08 at 15:12 -0500, Rob Clark wrote: > > > From: Rob Clark > > > > > > With TGSI, the ir_variable::data.location gets fixed up to be a stage > > > local location (rath

Re: [Mesa-dev] soft/llvmpipe front buffer access and piglit regressions

2015-11-09 Thread Dave Airlie
On 10 November 2015 at 06:36, Brian Paul wrote: > On 11/09/2015 01:15 PM, Dave Airlie wrote: >> >> On 10 November 2015 at 00:30, Roland Scheidegger >> wrote: >>> >>> Am 09.11.2015 um 04:44 schrieb Dave Airlie: So it appears my patch to enable front buffer access on soft/llvmpipe ca

Re: [Mesa-dev] [PATCH 4/7] i965/fs: Use image_format_info for doing image_load_store workarounds

2015-11-09 Thread Chad Versace
On Wed 04 Nov 2015, Jason Ekstrand wrote: > --- > .../drivers/dri/i965/brw_fs_surface_builder.cpp| 157 > ++--- > 1 file changed, 106 insertions(+), 51 deletions(-) > > diff --git a/src/mesa/drivers/dri/i965/brw_fs_surface_builder.cpp > b/src/mesa/drivers/dri/i965/brw_fs_sur

Re: [Mesa-dev] [PATCH 5/7] i965/image_load_store: Add a brw_image_format_for_gl_format helper

2015-11-09 Thread Chad Versace
On Wed 04 Nov 2015, Jason Ekstrand wrote: > On Wed, Nov 4, 2015 at 5:10 PM, Ilia Mirkin wrote: > > On Wed, Nov 4, 2015 at 8:03 PM, Jason Ekstrand wrote: > >> --- > >> src/mesa/drivers/dri/i965/brw_image_load_store.c | 49 > >> > >> src/mesa/drivers/dri/i965/brw_image_lo

Re: [Mesa-dev] [PATCH 6/7] i965/fs_surface_builder: Work in terms of native formats

2015-11-09 Thread Chad Versace
On Wed 04 Nov 2015, Jason Ekstrand wrote: > --- > src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 7 --- > src/mesa/drivers/dri/i965/brw_fs_surface_builder.cpp | 14 ++ > src/mesa/drivers/dri/i965/brw_fs_surface_builder.h | 4 ++-- > 3 files changed, 12 insertions(+), 13

Re: [Mesa-dev] [PATCH 7/7] i965: Remove brw_lower_mesa_image_format

2015-11-09 Thread Chad Versace
On Wed 04 Nov 2015, Jason Ekstrand wrote: > Now that the compiler is all switched over to brw_lower_image_format and > state-setup doesn't need it, we can get rid of the old helper. > --- > src/mesa/drivers/dri/i965/brw_context.h | 2 - > src/mesa/drivers/dri/i965/brw_surface_formats.c

[Mesa-dev] [PATCH v2 3/5] glsl: Add space to shader_storage in print_visitor

2015-11-09 Thread Jordan Justen
Signed-off-by: Jordan Justen --- src/glsl/ir_print_visitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/ir_print_visitor.cpp b/src/glsl/ir_print_visitor.cpp index b919690..211ac76 100644 --- a/src/glsl/ir_print_visitor.cpp +++ b/src/glsl/ir_print_visitor.cpp @@

  1   2   >