Re: [Mesa-dev] [PATCH 1/2] st/mesa: move dereference after null check

2016-03-01 Thread Thomas H.P. Andersen
On Wed, Mar 2, 2016 at 12:33 AM, Brian Paul wrote: > On 03/01/2016 02:45 PM, Thomas Hindoe Paaboel Andersen wrote: > >> We should not dereference shader before we have done the >> null check. >> --- >> src/mesa/state_tracker/st_atom_image.c | 4 +++- >> 1 file changed, 3 insertions(+), 1 delet

Re: [Mesa-dev] [PATCH] meta: Remove the 'allocate_storage' parameter in _mesa_meta_pbo_GetTexSubImage()

2016-03-01 Thread Pohjolainen, Topi
On Tue, Mar 01, 2016 at 05:01:47PM -0800, Anuj Phogat wrote: > Texture is already allocated before calling this meta function. So, > the value of 'allocate_storage' passed to the function is always false. > > Signed-off-by: Anuj Phogat Thanks, I've been wondering why it was left there. Reviewed

Re: [Mesa-dev] [Mesa-stable] [V2 PATCH] meta: Fix the pbo usage in meta for GLES{1, 2} contexts

2016-03-01 Thread Ian Romanick
Sorry for the delay. Reviewed-by: Ian Romanick On 02/09/2016 03:28 PM, Anuj Phogat wrote: > OpenGL ES 1.0 doesn't support using GL_STREAM_DRAW and both > ES 1.0 and 2.0 don't support GL_STREAM_READ in glBufferData(). > So, handle it correctly by calling the _mesa_meta_begin() > before create_te

Re: [Mesa-dev] [PATCH] i965/gen6/gs: Replace V-immediate with VF-immediate.

2016-03-01 Thread Francisco Jerez
Matt Turner writes: > --- > src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp > b/src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp > index 9935557..08f9bb3 100644 > --- a/s

[Mesa-dev] [PATCH] i965/gen6/gs: Replace V-immediate with VF-immediate.

2016-03-01 Thread Matt Turner
--- src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp b/src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp index 9935557..08f9bb3 100644 --- a/src/mesa/drivers/dri/i965/gen6_gs_visi

Re: [Mesa-dev] [PATCH v2] Support unlimited number of display connections

2016-03-01 Thread Brian Paul
Hmm, I applied your patch locally and ran the trivial/tri demo and saw a few valgrind errors upon exit (invalid memory reads). Can you look into that? -Brian On 03/01/2016 07:20 PM, Kyriazis, George wrote: Thanks Brian, Since I don't have git write privileges, can somebody check this in for

[Mesa-dev] [Bug 91556] [Clover / OpenCL] struct and union arguments handled incorrectly, producing CL_INVALID_ARG_SIZE

2016-03-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91556 --- Comment #11 from Matt Arsenault --- (In reply to Pavan Yalamanchili from comment #8) > @serge won't this break the original intent of the padding size ? For > example float3 would be broken in this case. No, this would fix float3. 3 vectors

Re: [Mesa-dev] [PATCH v2] Support unlimited number of display connections

2016-03-01 Thread Kyriazis, George
Thanks Brian, Since I don't have git write privileges, can somebody check this in for me? I am working with Tim Rowley @ Intel for the openswr driver. George > -Original Message- > From: Brian Paul [mailto:bri...@vmware.com] > Sent: Tuesday, March 1, 2016 6:55 PM > To: Kyriazis, George

Re: [Mesa-dev] [PATCH 00/65] ARB_internalformat_query2 support for Mesa and i965

2016-03-01 Thread Dave Airlie
On 1 March 2016 at 19:04, Eduardo Lima Mitev wrote: > Hi, > > I have sent updates for some of the patches, fixing a few dEQP regressions > we found, as well as rebase conflicts. > > At this point, we don't have a any piglit or dEQP regression (GLES3 or > GLES31). > > I was wondering if we maybe sp

[Mesa-dev] [PATCH] intel: Adding missing Broxton PCI IDs.

2016-03-01 Thread Rodrigo Vivi
These IDs were already part of the kernel since: kernel commit 985dd4360fdf2533fe48a33a4a2094f2e4718dc0 Author: Imre Deak Date: Thu Jan 28 16:04:12 2016 +0200 drm/i915/bxt: update list of PCIIDs Signed-off-by: Rodrigo Vivi Cc: Venkateswarlu Vinjamuri --- intel/intel_chipset.h | 6 +

Re: [Mesa-dev] [PATCH 00/65] ARB_internalformat_query2 support for Mesa and i965

2016-03-01 Thread Dave Airlie
On 2 March 2016 at 10:49, Dave Airlie wrote: > On 1 March 2016 at 19:04, Eduardo Lima Mitev wrote: >> Hi, >> >> I have sent updates for some of the patches, fixing a few dEQP regressions >> we found, as well as rebase conflicts. >> >> At this point, we don't have a any piglit or dEQP regression (

[Mesa-dev] [PATCH] meta: Remove the 'allocate_storage' parameter in _mesa_meta_pbo_GetTexSubImage()

2016-03-01 Thread Anuj Phogat
Texture is already allocated before calling this meta function. So, the value of 'allocate_storage' passed to the function is always false. Signed-off-by: Anuj Phogat --- src/mesa/drivers/common/meta.h | 2 +- src/mesa/drivers/common/meta_tex_subimage.c| 5 + src/mesa/dri

Re: [Mesa-dev] [PATCH v2] Support unlimited number of display connections

2016-03-01 Thread Brian Paul
On 03/01/2016 05:44 PM, George Kyriazis wrote: There is a limit of 10 display connections, which was a problem for apps/tests that were continuously opening/closing display connections. This fix uses XAddExtension() and XESetCloseDisplay() to keep track of the status of the display connections f

Re: [Mesa-dev] [PATCH 07/65] mesa/multisample: Check sample count using the new driver hook

2016-03-01 Thread Brian Paul
On 03/01/2016 05:30 PM, Dave Airlie wrote: On 4 February 2016 at 01:44, Eduardo Lima Mitev wrote: Use QueryInternalFormat instead of QuerySamplesForFormat to obtain the highest supported sample. QuerySamplesForFormat is to be removed. --- src/mesa/main/multisample.c | 10 ++ 1 file c

Re: [Mesa-dev] [PATCH 00/65] ARB_internalformat_query2 support for Mesa and i965

2016-03-01 Thread Dave Airlie
On 1 March 2016 at 19:04, Eduardo Lima Mitev wrote: > Hi, > > I have sent updates for some of the patches, fixing a few dEQP regressions > we found, as well as rebase conflicts. > > At this point, we don't have a any piglit or dEQP regression (GLES3 or > GLES31). > > I was wondering if we maybe sp

Re: [Mesa-dev] [V2 PATCH] meta: Fix the pbo usage in meta for GLES{1, 2} contexts

2016-03-01 Thread Anuj Phogat
On Tue, Feb 9, 2016 at 3:28 PM, Anuj Phogat wrote: > OpenGL ES 1.0 doesn't support using GL_STREAM_DRAW and both > ES 1.0 and 2.0 don't support GL_STREAM_READ in glBufferData(). > So, handle it correctly by calling the _mesa_meta_begin() > before create_texture_for_pbo(). > > V2: Remove the change

[Mesa-dev] [PATCH v2] Support unlimited number of display connections

2016-03-01 Thread George Kyriazis
There is a limit of 10 display connections, which was a problem for apps/tests that were continuously opening/closing display connections. This fix uses XAddExtension() and XESetCloseDisplay() to keep track of the status of the display connections from the X server, freeing mesa-related data as X

Re: [Mesa-dev] [PATCH 07/65] mesa/multisample: Check sample count using the new driver hook

2016-03-01 Thread Dave Airlie
On 4 February 2016 at 01:44, Eduardo Lima Mitev wrote: > Use QueryInternalFormat instead of QuerySamplesForFormat to obtain the > highest supported sample. QuerySamplesForFormat is to be removed. > --- > src/mesa/main/multisample.c | 10 ++ > 1 file changed, 6 insertions(+), 4 deletions(-

Re: [Mesa-dev] [PATCH 11/65] mesa/main: Add extension tracking bit for ARB_internalformat_query2

2016-03-01 Thread Dave Airlie
On 4 February 2016 at 01:44, Eduardo Lima Mitev wrote: > From: Antia Puentes > > --- > src/mesa/main/extensions_table.h | 1 + > src/mesa/main/mtypes.h | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/src/mesa/main/extensions_table.h > b/src/mesa/main/extensions_table.h > in

Re: [Mesa-dev] [PATCH 1/2] st/mesa: move dereference after null check

2016-03-01 Thread Brian Paul
On 03/01/2016 02:45 PM, Thomas Hindoe Paaboel Andersen wrote: We should not dereference shader before we have done the null check. --- src/mesa/state_tracker/st_atom_image.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_atom_image.c b/src/mes

Re: [Mesa-dev] [PATCH 1/2] dri: add backbuffer use flag

2016-03-01 Thread Marek Olšák
On Wed, Mar 2, 2016 at 12:01 AM, Ian Romanick wrote: > On 03/01/2016 01:41 PM, Marek Olšák wrote: >> From: Axel Davy >> >> This will be used by the next commit. >> --- >> include/GL/internal/dri_interface.h | 1 + >> src/egl/drivers/dri2/platform_wayland.c | 8 +--- >> src/loader/loader_

[Mesa-dev] [PATCH 1/2] dri: add backbuffer use flag

2016-03-01 Thread Marek Olšák
From: Axel Davy This will be used by the next commit. --- include/GL/internal/dri_interface.h | 5 + src/egl/drivers/dri2/platform_wayland.c | 8 +--- src/loader/loader_dri3_helper.c | 6 -- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/include/GL/intern

Re: [Mesa-dev] [PATCH 1/2] dri: add backbuffer use flag

2016-03-01 Thread Ian Romanick
On 03/01/2016 01:41 PM, Marek Olšák wrote: > From: Axel Davy > > This will be used by the next commit. > --- > include/GL/internal/dri_interface.h | 1 + > src/egl/drivers/dri2/platform_wayland.c | 8 +--- > src/loader/loader_dri3_helper.c | 6 -- > 3 files changed, 10 insert

Re: [Mesa-dev] [PATCH 5/5] nir: Propagate negates up multiplication chains.

2016-03-01 Thread Matt Turner
On Mon, Feb 22, 2016 at 10:14 PM, Ian Romanick wrote: > On 02/22/2016 04:13 PM, Matt Turner wrote: >> total instructions in shared programs: 7127270 -> 7103195 (-0.34%) >> instructions in affected programs: 1376832 -> 1352757 (-1.75%) >> helped: 7394 >> HURT: 622 >> >> GAINED: 4 >> LOST: 2 >> --

Re: [Mesa-dev] [PATCH 2/2] gallium: add external_usage flags to resource_from(get)_handle (v2)

2016-03-01 Thread Axel Davy
On 01/03/2016 22:41, Marek Olšák wrote: From: Marek Olšák buffer->base.attachment = attachment; buffer->base.name = whandle.handle; @@ -539,7 +540,8 @@ dri2_allocate_textures(struct dri_context *ctx, whandle.type = DRM_API_HANDLE_TYPE_KMS; drawable->textures[

Re: [Mesa-dev] [PATCH 1/2] st/mesa: move dereference after null check

2016-03-01 Thread Erik Faye-Lund
On Tue, Mar 1, 2016 at 10:45 PM, Thomas Hindoe Paaboel Andersen wrote: > We should not dereference shader before we have done the > null check. > --- > src/mesa/state_tracker/st_atom_image.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/src/mesa/state_tracker/st_atom

[Mesa-dev] [Bug 94341] Incorrect results with dFdx / dFdy

2016-03-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94341 Ian Kerr changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [Mesa-dev] [PATCH] gallium: fix PIPE_BIND_QUERY_BUFFER - PIPE_BIND_SCANOUT overlap

2016-03-01 Thread Roland Scheidegger
Am 01.03.2016 um 22:26 schrieb Marek Olšák: > From: Marek Olšák > > --- > src/gallium/include/pipe/p_defines.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/src/gallium/include/pipe/p_defines.h > b/src/gallium/include/pipe/p_defines.h > index 010be62..a91e6e5 1

[Mesa-dev] [PATCH 2/2] gallium/cso: fix indentation

2016-03-01 Thread Thomas Hindoe Paaboel Andersen
Only one of these were recently introduced. However, since we keep copy/pasting the same wrong indentation we should probably just fix it. --- src/gallium/auxiliary/cso_cache/cso_context.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gallium/auxiliary/cso_cache/c

[Mesa-dev] [PATCH 1/2] st/mesa: move dereference after null check

2016-03-01 Thread Thomas Hindoe Paaboel Andersen
We should not dereference shader before we have done the null check. --- src/mesa/state_tracker/st_atom_image.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_atom_image.c b/src/mesa/state_tracker/st_atom_image.c index 4b48bc3..d0f0c42 100644 ---

[Mesa-dev] [PATCH 2/2] gallium: add external_usage flags to resource_from(get)_handle (v2)

2016-03-01 Thread Marek Olšák
From: Marek Olšák This will allow drivers to make better decisions about texture sharing for DRI2, DRI3, Wayland, and OpenCL. v2: add read/write flags, take advantage of __DRI_IMAGE_USE_BACKBUFFER --- src/gallium/auxiliary/util/u_transfer.c| 3 ++- src/gallium/auxiliary/util/u_tran

[Mesa-dev] [PATCH 1/2] dri: add backbuffer use flag

2016-03-01 Thread Marek Olšák
From: Axel Davy This will be used by the next commit. --- include/GL/internal/dri_interface.h | 1 + src/egl/drivers/dri2/platform_wayland.c | 8 +--- src/loader/loader_dri3_helper.c | 6 -- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/include/GL/internal/d

[Mesa-dev] [PATCH 0/2] Adding usage flags for shared resources

2016-03-01 Thread Marek Olšák
Hi, This series adds usage flags to pipe_screen::resource_get_handle and resource_from_handle. The motivation is to give drivers an idea how shared resources are going to be used and choose an optimal codepath accordingly. The flags are: PIPE_HANDLE_USAGE_EXPLICIT_FLUSH - pipe_context::flush_

Re: [Mesa-dev] [PATCH] gallium: fix PIPE_BIND_QUERY_BUFFER - PIPE_BIND_SCANOUT overlap

2016-03-01 Thread Samuel Pitoiset
Reviewed-by: Samuel Pitoiset On 03/01/2016 10:26 PM, Marek Olšák wrote: From: Marek Olšák --- src/gallium/include/pipe/p_defines.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index 01

[Mesa-dev] [PATCH] gallium/radeon: don't use temporary buffers for persistent mappings

2016-03-01 Thread Marek Olšák
From: Marek Olšák Cc: 11.1 11.2 --- src/gallium/drivers/radeon/r600_buffer_common.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeon/r600_buffer_common.c b/src/gallium/drivers/radeon/r600_buffer_common.c index b384baa..81409ce 100644 --- a/sr

[Mesa-dev] [PATCH] gallium: fix PIPE_BIND_QUERY_BUFFER - PIPE_BIND_SCANOUT overlap

2016-03-01 Thread Marek Olšák
From: Marek Olšák --- src/gallium/include/pipe/p_defines.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index 010be62..a91e6e5 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gal

Re: [Mesa-dev] [PATCH] i965: Ignore glPointSize when GL_POINT_SIZE_ARRAY_OES is enabled

2016-03-01 Thread Kenneth Graunke
On Tuesday, March 1, 2016 6:39:49 PM PST Plamena Manolova wrote: > When a user defines a point size array and enables it, the point > size value set via glPointSize should be ignored. To achieve this, > we can simply omit point size when creating a batch inside > upload_sf_state for brw, gen6, gen7

Re: [Mesa-dev] [PATCH 1/3] main: call invalidate_framebuffer_storage() with driver's viewport limits

2016-03-01 Thread Kenneth Graunke
On Tuesday, March 1, 2016 3:22:03 PM PST Samuel Iglesias Gonsálvez wrote: > Don't use hardcoded ones because the driver can set different ones. > > Signed-off-by: Samuel Iglesias Gonsálvez > --- > src/mesa/main/fbobject.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --

[Mesa-dev] [PATCH] gm107/ir: add emission for BAR

2016-03-01 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- .../drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp | 52 ++ 1 file changed, 52 insertions(+) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp index a383c53.

[Mesa-dev] [PATCH] i965: Ignore glPointSize when GL_POINT_SIZE_ARRAY_OES is enabled

2016-03-01 Thread Plamena Manolova
When a user defines a point size array and enables it, the point size value set via glPointSize should be ignored. To achieve this, we can simply omit point size when creating a batch inside upload_sf_state for brw, gen6, gen7 and gen8. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42187

Re: [Mesa-dev] [PATCH 00/15] program: Remove remnants of NV_fragment_program and other cruft

2016-03-01 Thread Brian Paul
On 02/29/2016 04:34 PM, Matt Turner wrote: We removed NV_vertex_program and NV_fragment_program{,_option} in 2012 yet we continue finding more pieces of them years later. Last year we discussed removing some remaining bits of NV_fragment_program_option that were used by a broken Viewperf11 test [

[Mesa-dev] [Bug 94344] Requesting git commit access to mesa

2016-03-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94344 Brian Paul changed: What|Removed |Added Component|Other |New Accounts QA Contact|mesa-dev@li

Re: [Mesa-dev] ANNOUNCE: An open-source Vulkan driver for Intel hardware

2016-03-01 Thread Jason Ekstrand
On Mar 1, 2016 1:10 AM, "Martin Peres" wrote: > > On 29/02/16 20:48, Jason Ekstrand wrote: >> >> On Fri, Feb 26, 2016 at 2:18 AM, Olivier Galibert wrote: >>> >>> Ok, I can tell you that 3DSTATE_DEPTH_BUFFER and >>> 3DSTATE_STENCIL_BUFFER seem perfectly correct (assuming the gem >>> address-patchi

Re: [Mesa-dev] [PATCH 0/8] Fixes for building AOSP master

2016-03-01 Thread Rob Herring
On Mon, Feb 29, 2016 at 4:50 AM, Emil Velikov wrote: > On 25 February 2016 at 01:47, Emil Velikov wrote: >> On 24 February 2016 at 18:56, Rob Herring wrote: > >>> Rob Herring (8): >>> Android: remove dependence on .SECONDEXPANSION >>> Android: glsl: fix dependence on YACC_HEADER_SUFFIX from

Re: [Mesa-dev] [PATCH 1/8] Android: remove dependence on .SECONDEXPANSION

2016-03-01 Thread Rob Herring
On Wed, Feb 24, 2016 at 7:31 PM, Emil Velikov wrote: > Hi Rob, > > On 24 February 2016 at 18:56, Rob Herring wrote: >> With the Android build system changes to ninja/kati, the use of >> .SECONDEXPANSION is no longer supported. Fix this by avoiding rule specific >> variables and using $(transform-

Re: [Mesa-dev] ANNOUNCE: An open-source Vulkan driver for Intel hardware

2016-03-01 Thread Olivier Galibert
I can confirm tri/cube work with latest git. Talos Principle refuses to start because of missing vkCmdBeginQuery, time to jump into the docs to see how much of gen8 is copy-able there. OG. On Tue, Mar 1, 2016 at 10:28 AM, Jacek Konieczny wrote: > On 2016-03-01 10:10, Martin Peres wrote: >> >

[Mesa-dev] [PATCH 1/3] main: call invalidate_framebuffer_storage() with driver's viewport limits

2016-03-01 Thread Samuel Iglesias Gonsálvez
Don't use hardcoded ones because the driver can set different ones. Signed-off-by: Samuel Iglesias Gonsálvez --- src/mesa/main/fbobject.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 621f84f..351023e 100644 --

[Mesa-dev] [PATCH 2/3] main: remove MAX_VIEWPORT_WIDTH and MAX_VIEWPORT_HEIGHT constants

2016-03-01 Thread Samuel Iglesias Gonsálvez
Signed-off-by: Samuel Iglesias Gonsálvez --- src/mesa/main/config.h | 5 - src/mesa/main/context.c | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index 820ae07..bc5e569 100644 --- a/src/mesa/main/config.h +++ b/src/mes

[Mesa-dev] [PATCH 3/3] i965: set ctx->Const.MaxViewport{Width, Height} to 32k

2016-03-01 Thread Samuel Iglesias Gonsálvez
From ARB_viewport_array spec: " * On GL3-capable hardware the VIEWPORT_BOUNDS_RANGE should be at least [-16384, 16383]. * On GL4-capable hardware the VIEWPORT_BOUNDS_RANGE should be at least [-32768, 32767]." This range is set using ctx->Const.MaxViewportWidth value, so just bump those

Re: [Mesa-dev] ANNOUNCE: An open-source Vulkan driver for Intel hardware

2016-03-01 Thread Olivier Galibert
Beware of path issues, vk* has no error checking and gives funky values to the driver if it fails at finding its extra files. OG. On Tue, Mar 1, 2016 at 10:10 AM, Martin Peres wrote: > On 29/02/16 20:48, Jason Ekstrand wrote: > > On Fri, Feb 26, 2016 at 2:18 AM, Olivier Galibert > wrote: >>

[Mesa-dev] [PATCH v2] r600g: Fix ARB_texture_rgb10_a2ui support in big-endian

2016-03-01 Thread Oded Gabbay
This patch enables the correct detection of PIPE_FORMAT_R10G10B10A2_UINT and PIPE_FORMAT_B10G10R10A2_UINT formats in r600g in big-endian mode. Because the swapping doesn't happen on component boundaries for these formats, the GPU H/W needs to be configured differently for LE/BE. Therefore, we need

Re: [Mesa-dev] [PATCH] r600g: Fix ARB_texture_rgb10_a2ui support in big-endian

2016-03-01 Thread Oded Gabbay
On Mon, Feb 29, 2016 at 11:33 AM, Oded Gabbay wrote: > > On Mon, Feb 29, 2016 at 7:44 AM, Ilia Mirkin wrote: > > On Mon, Feb 29, 2016 at 12:31 AM, Oded Gabbay wrote: > >> On Mon, Feb 29, 2016 at 3:51 AM, Michel Dänzer wrote: > >>> On 28.02.2016 05:48, Oded Gabbay wrote: > This patch enable

Re: [Mesa-dev] ANNOUNCE: An open-source Vulkan driver for Intel hardware

2016-03-01 Thread Martin Peres
On 01/03/16 13:21, Kenneth Graunke wrote: On Tuesday, March 1, 2016 11:10:25 AM PST Martin Peres wrote: On 29/02/16 20:48, Jason Ekstrand wrote: On Fri, Feb 26, 2016 at 2:18 AM, Olivier Galibert mailto:galib...@pobox.com>> wrote: Ok, I can tell you that 3DSTATE_DEPTH_BUFFER and 3DSTA

Re: [Mesa-dev] ANNOUNCE: An open-source Vulkan driver for Intel hardware

2016-03-01 Thread Kenneth Graunke
On Tuesday, March 1, 2016 11:10:25 AM PST Martin Peres wrote: > On 29/02/16 20:48, Jason Ekstrand wrote: > > On Fri, Feb 26, 2016 at 2:18 AM, Olivier Galibert > > wrote: > > > > Ok, I can tell you that 3DSTATE_DEPTH_BUFFER and > > 3DSTATE_STENCIL_BUFFER seem perf

Re: [Mesa-dev] [PATCH] i965: set VIEWPORT_BOUNDS_RANGE value depending of the supported OpenGL version

2016-03-01 Thread Samuel Iglesias Gonsálvez
On Tue, Mar 01, 2016 at 02:34:35AM -0800, Kenneth Graunke wrote: > On Tuesday, March 1, 2016 9:48:16 AM PST Samuel Iglesias Gonsálvez wrote: > > On Mon, Feb 29, 2016 at 04:33:42PM -0800, Kenneth Graunke wrote: > > > On Friday, February 26, 2016 8:37:33 AM PST Samuel Iglesias Gonsálvez > wrote: > >

Re: [Mesa-dev] [PATCH] i965: set VIEWPORT_BOUNDS_RANGE value depending of the supported OpenGL version

2016-03-01 Thread Kenneth Graunke
On Tuesday, March 1, 2016 9:48:16 AM PST Samuel Iglesias Gonsálvez wrote: > On Mon, Feb 29, 2016 at 04:33:42PM -0800, Kenneth Graunke wrote: > > On Friday, February 26, 2016 8:37:33 AM PST Samuel Iglesias Gonsálvez wrote: > > > From ARB_viewport_array spec: > > > > > > " * On GL3-capable hardware

Re: [Mesa-dev] [RFC PATCH] include/GL: add mesa_glinterop.h for OpenGL-OpenCL interop

2016-03-01 Thread Marek Olšák
On Tue, Mar 1, 2016 at 3:29 AM, Michel Dänzer wrote: > On 01.03.2016 03:11, Marek Olšák wrote: >> From: Marek Olšák > > [...] > >> +/** >> + * Device information returned by Mesa. >> + */ >> +typedef struct { >> + uint32_t size; /* size of this structure */ >> + >> + /* PCI location */ >> +

Re: [Mesa-dev] ANNOUNCE: An open-source Vulkan driver for Intel hardware

2016-03-01 Thread Jacek Konieczny
On 2016-03-01 10:10, Martin Peres wrote: On 29/02/16 20:48, Jason Ekstrand wrote: On Fri, Feb 26, 2016 at 2:18 AM, Olivier Galibert mailto:galib...@pobox.com>> wrote: Ok, I can tell you that 3DSTATE_DEPTH_BUFFER and 3DSTATE_STENCIL_BUFFER seem perfectly correct (assuming the gem add

Re: [Mesa-dev] ANNOUNCE: An open-source Vulkan driver for Intel hardware

2016-03-01 Thread Martin Peres
On 29/02/16 20:48, Jason Ekstrand wrote: On Fri, Feb 26, 2016 at 2:18 AM, Olivier Galibert > wrote: Ok, I can tell you that 3DSTATE_DEPTH_BUFFER and 3DSTATE_STENCIL_BUFFER seem perfectly correct (assuming the gem address-patching-in works for the depth buff

Re: [Mesa-dev] [PATCH 00/65] ARB_internalformat_query2 support for Mesa and i965

2016-03-01 Thread Eduardo Lima Mitev
Hi, I have sent updates for some of the patches, fixing a few dEQP regressions we found, as well as rebase conflicts. At this point, we don't have a any piglit or dEQP regression (GLES3 or GLES31). I was wondering if we maybe split the series in smaller sets, it would help review. Like for

[Mesa-dev] [PATCH v2 22/65] mesa/formatquery: Added a func to check supported

2016-03-01 Thread Eduardo Lima Mitev
From: Antia Puentes From the ARB_internalformat_query2 specification: "The INTERNALFORMAT_SUPPORTED can be used to determine if the internal format is supported, and the other are defined in terms of whether or not the format is supported." v2: Consider also FBO base formats when che

[Mesa-dev] [PATCH v3 15/65] mesa/formatquery: Added boilerplate code to extend GetInternalformativ

2016-03-01 Thread Eduardo Lima Mitev
From: Antia Puentes The goal is to extend the GetInternalformativ query to implement the ARB_internalformat_query2 specification, keeping the behaviour defined by the ARB_internalformat_query if ARB_internalformat_query2 is not supported. v2: Fixed conflicts while rebasing. v3: Don't require ARB

[Mesa-dev] [PATCH v2 14/65] mesa/formatquery: Added a func to check if the is supported

2016-03-01 Thread Eduardo Lima Mitev
From: Antia Puentes From the ARB_internalformat_query2 spec: "If the particular and combination do not make sense, or if a particular type of is not supported by the implementation the "unsupported" answer should be given. This is not an error." This function checks if the is sup

[Mesa-dev] [PATCH v2 05/65] i965/formatquery: Respond queries SAMPLES and NUM_SAMPLE_COUNTS

2016-03-01 Thread Eduardo Lima Mitev
This effectively disables old QuerySamplesForFormat driver hook, since it is never called by Mesa anymore. v2: Call brw_query_samples_for_format() with a dummy buffer to calculate num samples, to avoid modifying the original buffer. --- src/mesa/drivers/dri/i965/brw_context.c | 1 - src/

Re: [Mesa-dev] [PATCH] i965: set VIEWPORT_BOUNDS_RANGE value depending of the supported OpenGL version

2016-03-01 Thread Samuel Iglesias Gonsálvez
On Mon, Feb 29, 2016 at 04:33:42PM -0800, Kenneth Graunke wrote: > On Friday, February 26, 2016 8:37:33 AM PST Samuel Iglesias Gonsálvez wrote: > > From ARB_viewport_array spec: > > > > " * On GL3-capable hardware the VIEWPORT_BOUNDS_RANGE should be at least > > [-16384, 16383]. > > * On GL4