[Mesa-dev] [PATCH] radeonsi: add ETC1 support for Stoney

2016-01-22 Thread Marek Olšák
From: Marek Olšák It's a subset of ETC2. Tested. For more information, see page 42 and onward: http://www.graphicshardware.org/previous/www_2007/presentations/strom-etc2-gh07.pdf --- src/gallium/drivers/radeonsi/si_state.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [Mesa-dev] [android-x86-devel] Re: need-help: how to change to newest mesa in android-x86?

2016-01-22 Thread Rob Herring
On Mon, Jan 18, 2016 at 4:46 PM, Rob Clark wrote: > On Mon, Jan 18, 2016 at 5:18 PM, Rob Herring wrote: >> On Fri, Jan 15, 2016 at 3:10 PM, Dave Airlie wrote: well, nothing specific, but for example early on we had some

Re: [Mesa-dev] [PATCH 4/4] radeonsi: change LLVM intrinsics for BREV, CLAMP, EX2

2016-01-22 Thread Tom Stellard
On Fri, Jan 22, 2016 at 03:18:13PM +0100, Marek Olšák wrote: > From: Marek Olšák > Reviewed-by: Tom Stellard > Requested by Matt Arsenault. > --- > src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c | 9 ++--- > 1 file changed, 6

Re: [Mesa-dev] [PATCH 2/2] st/mesa: enable OES_geometry_shader if GLSL 1.50 is supported

2016-01-22 Thread Ian Romanick
On 01/22/2016 10:21 AM, Ilia Mirkin wrote: > Signed-off-by: Ilia Mirkin > --- > src/mesa/state_tracker/st_extensions.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/src/mesa/state_tracker/st_extensions.c > b/src/mesa/state_tracker/st_extensions.c > index

[Mesa-dev] [PATCH v2] glsl: add GL_OES_geometry_point_size and conditionalize gl_PointSize

2016-01-22 Thread Ilia Mirkin
For now this will be enabled in tandem with GL_OES_geometry_shader. Should a driver come along that wants to separate them out, another enable can be added. Also adds the missed GL_OES_geometry_shader define in glcpp. Signed-off-by: Ilia Mirkin --- v1 -> v2: add glcpp

Re: [Mesa-dev] [PATCH] winsys/amdgpu: optionally use buffer lists with all allocated buffers

2016-01-22 Thread Alex Deucher
On Fri, Jan 22, 2016 at 3:19 PM, Marek Olšák wrote: > From: Marek Olšák > > Set RADEON_ALL_BOS=1 to use it. Reviewed-by: Alex Deucher > --- > src/gallium/winsys/amdgpu/drm/amdgpu_bo.c | 21 + >

Re: [Mesa-dev] [PATCH 5/4] mesa: Refactor error checking for GL_TEXTURE_BASE_LEVEL vs texture targets

2016-01-22 Thread Jason Ekstrand
On Fri, Jan 22, 2016 at 10:49 AM, Ian Romanick wrote: > On 01/21/2016 12:15 PM, Jason Ekstrand wrote: > > > > On Jan 21, 2016 10:30 AM, "Ian Romanick" > > wrote: > >> > >> On 01/20/2016 08:29 PM, Jason Ekstrand wrote: >

Re: [Mesa-dev] [PATCH 2/2] st/mesa: enable OES_geometry_shader if GLSL 1.50 is supported

2016-01-22 Thread Ilia Mirkin
On Fri, Jan 22, 2016 at 3:00 PM, Ian Romanick wrote: > On 01/22/2016 10:21 AM, Ilia Mirkin wrote: >> Signed-off-by: Ilia Mirkin >> --- >> src/mesa/state_tracker/st_extensions.c | 3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --git

Re: [Mesa-dev] [PATCH 23/28] glsl: add pack varying to resource list for vertex input / fragment output

2016-01-22 Thread Anuj Phogat
On Thu, Jan 21, 2016 at 3:49 PM, Timothy Arceri wrote: > On Thu, 2016-01-21 at 15:28 -0800, Anuj Phogat wrote: >> On Thu, Jan 21, 2016 at 1:47 PM, Timothy Arceri >> wrote: >> > On Thu, 2016-01-21 at 09:23 -0800, Anuj Phogat wrote: >> >

[Mesa-dev] [PATCH] winsys/amdgpu: optionally use buffer lists with all allocated buffers

2016-01-22 Thread Marek Olšák
From: Marek Olšák Set RADEON_ALL_BOS=1 to use it. --- src/gallium/winsys/amdgpu/drm/amdgpu_bo.c | 21 + src/gallium/winsys/amdgpu/drm/amdgpu_bo.h | 2 ++ src/gallium/winsys/amdgpu/drm/amdgpu_cs.c | 33 ---

Re: [Mesa-dev] [PATCH 00/10] vbo: introduce a minmax_index cache (v3)

2016-01-22 Thread Marek Olšák
On Fri, Jan 22, 2016 at 6:17 PM, Nicolai Hähnle wrote: > On 11.01.2016 21:32, Nicolai Hähnle wrote: >> >> here is a new version of the series. I'm calling it v3 even though I never >> sent v2 because it contains v3 of the main patch. Changes relative to v1: >> >> - disable

[Mesa-dev] [PATCH 1/2] glsl: add GL_OES_geometry_point_size and conditionalize gl_PointSize

2016-01-22 Thread Ilia Mirkin
For now this will be enabled in tandem with GL_OES_geometry_shader. Should a driver come along that wants to separate them out, another enable can be added. Signed-off-by: Ilia Mirkin --- src/glsl/builtin_variables.cpp | 7 ++- src/glsl/glsl_parser_extras.cpp | 1 +

[Mesa-dev] [PATCH 2/2] st/mesa: enable OES_geometry_shader if GLSL 1.50 is supported

2016-01-22 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- src/mesa/state_tracker/st_extensions.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 01ba015..af99f5b 100644 ---

Re: [Mesa-dev] [PATCH] st/mesa: conditionally enable GL_NV_vdpau_interop

2016-01-22 Thread Ilia Mirkin
On Fri, Jan 22, 2016 at 1:15 PM, Christian König wrote: >> Form autofoo perspective things look great. > > Thanks, that exactly what I wanted to know. > >> Although I second Ilia's concern - we need a form of runtime detection >> here. Pretty much all distros ship the

[Mesa-dev] [Bug 93820] Change from Mesa 10 to 11 made remote opengl stop working

2016-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=93820 Ian Romanick changed: What|Removed |Added CC|

Re: [Mesa-dev] [PATCH] st/mesa: conditionally enable GL_NV_vdpau_interop

2016-01-22 Thread Christian König
Form autofoo perspective things look great. Thanks, that exactly what I wanted to know. Although I second Ilia's concern - we need a form of runtime detection here. Pretty much all distros ship the vdpau(+ other video driver backend) in a separate library. Thus this will likely get us nowhere

Re: [Mesa-dev] [PATCH v2] glx: update to updated version of EXT_create_context_es2_profile

2016-01-22 Thread Ilia Mirkin
On Thu, Jan 21, 2016 at 11:58 AM, Ilia Mirkin wrote: > The EXT spec has been updated to: > - logically combine the es2_profile and es_profile exts > - allow any legal version to be requested > > dEQP tests request a specific ES version when using GLX, so this allows > dEQP

Re: [Mesa-dev] [PATCH v2] mesa: Deal with size differences between GLuint and GLhandleARB in GetAttachedObjectsARB

2016-01-22 Thread Jeremy Sequoia
Sent from my iPhone... > On Jan 22, 2016, at 11:05, Ian Romanick wrote: > > Please revert the version of this patch that has already landed. > >> On 01/21/2016 08:48 AM, Jeremy Huddleston Sequoia wrote: >> Signed-off-by: Jeremy Huddleston Sequoia >>

Re: [Mesa-dev] [PATCH] st/mesa: conditionally enable GL_NV_vdpau_interop

2016-01-22 Thread Emil Velikov
On 22 January 2016 at 18:15, Christian König wrote: >> Form autofoo perspective things look great. > > Thanks, that exactly what I wanted to know. > >> Although I second Ilia's concern - we need a form of runtime detection >> here. Pretty much all distros ship the vdpau(+

Re: [Mesa-dev] [PATCH] st/mesa: conditionally enable GL_NV_vdpau_interop

2016-01-22 Thread Christian König
Am 22.01.2016 um 19:24 schrieb Ilia Mirkin: On Fri, Jan 22, 2016 at 1:15 PM, Christian König wrote: Form autofoo perspective things look great. Thanks, that exactly what I wanted to know. Although I second Ilia's concern - we need a form of runtime detection here.

[Mesa-dev] Mesa 11.0.9

2016-01-22 Thread Emil Velikov
[Resend with mesa-announce email fixed] Mesa 11.0.9 is now available. The present release addresses some important driver issues - nouveau (sluggish 4K decoding, pushbuf/bufctx management), i965 (EGL crash), r600 (severge glitches in Soma), amongst others and plugs a few memory leaks. NOTE: It

Re: [Mesa-dev] [PATCH v2] mesa: Deal with size differences between GLuint and GLhandleARB in GetAttachedObjectsARB

2016-01-22 Thread Ian Romanick
Please revert the version of this patch that has already landed. On 01/21/2016 08:48 AM, Jeremy Huddleston Sequoia wrote: > Signed-off-by: Jeremy Huddleston Sequoia > CC: Nicolai Hähnle > CC: Matt Turner > --- >

[Mesa-dev] Mesa 11.0.9

2016-01-22 Thread Emil Velikov
Mesa 11.0.9 is now available. The present release addresses some important driver issues - nouveau (sluggish 4K decoding, pushbuf/bufctx management), i965 (EGL crash), r600 (severge glitches in Soma), amongst others and plugs a few memory leaks. NOTE: It is anticipated that 11.0.9 will be the

Re: [Mesa-dev] [PATCH 5/4] mesa: Refactor error checking for GL_TEXTURE_BASE_LEVEL vs texture targets

2016-01-22 Thread Ian Romanick
On 01/21/2016 12:15 PM, Jason Ekstrand wrote: > > On Jan 21, 2016 10:30 AM, "Ian Romanick" > wrote: >> >> On 01/20/2016 08:29 PM, Jason Ekstrand wrote: >> > >> > On Jan 20, 2016 6:20 PM, "Ian Romanick"

Re: [Mesa-dev] [PATCH 2/2] st/mesa: enable OES_geometry_shader if GLSL 1.50 is supported

2016-01-22 Thread Ilia Mirkin
Actually I'm sorry, I just realized this patch is bogus. OES_geometry_shader includes GS instancing, for which there isn't a separate PIPE_CAP. Probably just make it conditional on ARB_gpu_shader5 being enabled then. First patch still makes sense though. -ilia On Fri, Jan 22, 2016 at 1:21 PM,

Re: [Mesa-dev] [PATCH] st/mesa: conditionally enable GL_NV_vdpau_interop

2016-01-22 Thread Ilia Mirkin
On Fri, Jan 22, 2016 at 2:11 PM, Christian König wrote: > Am 22.01.2016 um 19:24 schrieb Ilia Mirkin: >> >> On Fri, Jan 22, 2016 at 1:15 PM, Christian König >> wrote: Form autofoo perspective things look great. >>> >>> Thanks, that

Re: [Mesa-dev] [PATCH 1/2] configure.ac: don't require EGL/DRM ang GBM if OpenGL is disabled

2016-01-22 Thread Marek Olšák
Hi Emil, Do you have any comment on this series? Marek On Tue, Jan 12, 2016 at 8:46 PM, Marek Olšák wrote: > From: Marek Olšák > > This allows building VDPAU/OMX/VA drivers without OpenGL and its > dependencies. > --- > configure.ac | 5 + > 1 file

Re: [Mesa-dev] [PATCH] radeonsi: fix discard-only fragment shaders (v2)

2016-01-22 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Thu, Jan 21, 2016 at 4:06 AM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > When a fragment shader is used that has no outputs but does conditional > discard (KILL_IF), all fragments are

Re: [Mesa-dev] [PATCH v2] glsl: Enable debug prints for do_common_optimization

2016-01-22 Thread Timothy Arceri
On Thu, 2016-01-21 at 23:35 -0800, Jordan Justen wrote: > Signed-off-by: Jordan Justen > --- > > I tested a release build. I think v1 produced comparable code to > before the patch, but it was a bit larger. I found that this v2 code > would produce identical code to

Re: [Mesa-dev] [PATCH] st/mesa: conditionally enable GL_NV_vdpau_interop

2016-01-22 Thread Marek Olšák
Reviewed-by: Marek Olšák Emil might want to comment on the configure.ac change. Marek On Thu, Jan 21, 2016 at 5:05 PM, Christian König wrote: > From: Christian König > > Only enable it when we compile the state tracker

Re: [Mesa-dev] [PATCH] glsl: Disable tree grafting optimization for shared variables

2016-01-22 Thread Iago Toral
Right, we had to do the same for buffer variables to prevent losing writes to the underlying buffer. Reviewed-by: Iago Toral Quiroga On Thu, 2016-01-21 at 16:47 -0800, Jordan Justen wrote: > Fixes: dEQP-GLES31.functional.compute.basic.shared_atomic_op_multiple_groups > >

Re: [Mesa-dev] [PATCH v2] glsl: Enable debug prints for do_common_optimization

2016-01-22 Thread Iago Toral
Reviewed-by: Iago Toral Quiroga On Thu, 2016-01-21 at 23:35 -0800, Jordan Justen wrote: > Signed-off-by: Jordan Justen > --- > > I tested a release build. I think v1 produced comparable code to > before the patch, but it was a bit larger. I found

[Mesa-dev] [Bug 93820] Change from Mesa 10 to 11 made remote opengl stop working

2016-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=93820 Bug ID: 93820 Summary: Change from Mesa 10 to 11 made remote opengl stop working Product: Mesa Version: 11.0 Hardware: Other OS: All Status:

[Mesa-dev] [PATCH 3/7] radeonsi: replace use of is_gs_copy_shader in si_shader_vs

2016-01-22 Thread Nicolai Hähnle
From: Nicolai Hähnle We now have an explicit parameter that contains the same information, and this will allow us to get rid of is_gs_copy_shader in the si_shader struct. --- src/gallium/drivers/radeonsi/si_state_shaders.c | 2 +- 1 file changed, 1 insertion(+), 1

[Mesa-dev] [PATCH 7/7] radeonsi: emit rw_buffers for tes_shader only if tes_shader present

2016-01-22 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_descriptors.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_descriptors.c b/src/gallium/drivers/radeonsi/si_descriptors.c index d157a9f..aad836d

[Mesa-dev] [PATCH 0/7] radeonsi: geometry shader bug fix and cleanup

2016-01-22 Thread Nicolai Hähnle
Hi, this series was prompted by a rendering bug reported for Dolphin. The bug is fixed in the first two patches, and the remainder is assorted cleanups that I noticed while working on the fix. Please review. Thanks, Nicolai -- .../drivers/radeonsi/si_descriptors.c| 8 +-

[Mesa-dev] [PATCH 2/7] radeonsi: ensure that VGT_GS_MODE is sent when necessary

2016-01-22 Thread Nicolai Hähnle
From: Nicolai Hähnle Specifically, when the API switches from using a GS to not using a GS and then back to using the same GS again, we do not have to re-send all the GS state, but we do have to send VGT_GS_MODE. So make VGT_GS_MODE consistently be a part of the VS

[Mesa-dev] [PATCH 1/7] radeonsi: extract the VGT_GS_MODE calculation into its own function

2016-01-22 Thread Nicolai Hähnle
From: Nicolai Hähnle Cc: "11.0 11.1" --- src/gallium/drivers/radeonsi/si_state_shaders.c | 47 +++-- 1 file changed, 28 insertions(+), 19 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c

[Mesa-dev] [PATCH 6/7] radeonsi: do not set the shader->key for gs copy shaders

2016-01-22 Thread Nicolai Hähnle
From: Nicolai Hähnle The key for a geometry shader would be interpreted as the key for a vertex shader further down the line, which really doesn't make sense. This does not affect the contents of shader->key because geometry shaders don't have any key entries anyway.

[Mesa-dev] [PATCH 5/7] radeonsi: si_llvm_emit_vs_epilogue is never used with gs copy shaders

2016-01-22 Thread Nicolai Hähnle
From: Nicolai Hähnle Hence remove the misleading branch on is_gs_copy_shader. --- src/gallium/drivers/radeonsi/si_shader.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c

[Mesa-dev] [PATCH 4/7] radeonsi: move is_gs_copy_shader to si_shader_context

2016-01-22 Thread Nicolai Hähnle
From: Nicolai Hähnle It is only used during shader creation now, so no need to keep it around afterwards. --- src/gallium/drivers/radeonsi/si_shader.c | 10 +- src/gallium/drivers/radeonsi/si_shader.h | 1 - 2 files changed, 5 insertions(+), 6 deletions(-)

Re: [Mesa-dev] [PATCH 2/4] mesa: enable enums for OES_geometry_shader

2016-01-22 Thread Ilia Mirkin
On Thu, Jan 21, 2016 at 10:17 AM, Marta Lofstedt wrote: > From: Marta Lofstedt > > Enable GL_OES_geometry_shader enums for OpenGL ES 3.1. > > V4: EXTRA tokens updated according to comments from Ilia Mirkin. > > Signed-off-by: Marta

Re: [Mesa-dev] [PATCH] util/ralloc: Remove double zero'ing of rzalloc buffers

2016-01-22 Thread Nicolai Hähnle
On 22.01.2016 16:02, Kenneth Graunke wrote: On Friday, January 22, 2016 12:09:18 PM PST Nicolai Hähnle wrote: On 22.01.2016 02:53, Jordan Justen wrote: Juha-Pekka found this back in May 2015: <1430915727-28677-1-git-send-email-juhapekka.heikk...@gmail.com> From the discussion, obviously it

Re: [Mesa-dev] [PATCH 2/2] virgl: enable building on Android

2016-01-22 Thread Rob Herring
On Fri, Dec 18, 2015 at 11:01 AM, Emil Velikov wrote: > Thank you Rob ! > > On 17 December 2015 at 15:45, Rob Herring wrote: >> This is just a copy-n-paste and rename of vc4 Android makefiles. >> > Looks great. > > Rob, I take it that you've at least

Re: [Mesa-dev] [PATCH 1/2] i965: Use nir_lower_load_const_to_scalar().

2016-01-22 Thread Matt Turner
On Thu, Jan 21, 2016 at 4:37 PM, Kenneth Graunke wrote: > I don't know why, but we never hooked up this pass Eric wrote. > Otherwise, you can end up with stupid scalarized code such as: > >vec4 ssa_7 = load_const (0.0, 0.0, 0.0, 0.0) >vec4 ssa_8 = ... >vec1

Re: [Mesa-dev] [PATCH 2/2] i965: Do channel expressions on significantly fewer opcodes.

2016-01-22 Thread Matt Turner
On Fri, Jan 22, 2016 at 8:42 PM, Jason Ekstrand wrote: > On Fri, Jan 22, 2016 at 5:35 PM, Matt Turner wrote: >> On Thu, Jan 21, 2016 at 4:37 PM, Kenneth Graunke >> wrote: >> > nir_lower_alu_to_scalar() and

Re: [Mesa-dev] [PATCH 1/2] i965: Use nir_lower_load_const_to_scalar().

2016-01-22 Thread Jason Ekstrand
On Jan 21, 2016 4:37 PM, "Kenneth Graunke" wrote: > > I don't know why, but we never hooked up this pass Eric wrote. > Otherwise, you can end up with stupid scalarized code such as: > >vec4 ssa_7 = load_const (0.0, 0.0, 0.0, 0.0) >vec4 ssa_8 = ... >vec1 ssa_9 =

Re: [Mesa-dev] [PATCH 1/2] configure.ac: don't require EGL/DRM ang GBM if OpenGL is disabled

2016-01-22 Thread Emil Velikov
On 22 January 2016 at 16:50, Marek Olšák wrote: > On Fri, Jan 22, 2016 at 5:32 PM, Emil Velikov > wrote: >> Hi Marek, >> >> On 22 January 2016 at 12:24, Marek Olšák wrote: >>> Hi Emil, >>> >>> Do you have any comment on this series?

Re: [Mesa-dev] [PATCH 1/4] radeonsi: allow using all CUs for tessellation and on-chip GS (v2)

2016-01-22 Thread Nicolai Hähnle
This series is Reviewed-by: Nicolai Hähnle On 22.01.2016 09:18, Marek Olšák wrote: From: Marek Olšák v2: After more discussion with hw teams, the kernel already contains the optimal settings allowing us to use all CUs. ---

Re: [Mesa-dev] [PATCH] util/ralloc: Remove double zero'ing of rzalloc buffers

2016-01-22 Thread Nicolai Hähnle
On 22.01.2016 02:53, Jordan Justen wrote: Juha-Pekka found this back in May 2015: <1430915727-28677-1-git-send-email-juhapekka.heikk...@gmail.com> From the discussion, obviously it would be preferable to make ralloc_size no longer return zeroed memory, but Juha-Pekka found that it would break

Re: [Mesa-dev] [android-x86-devel] Re: need-help: how to change to newest mesa in android-x86?

2016-01-22 Thread Rob Clark
On Fri, Jan 22, 2016 at 10:29 AM, Rob Herring wrote: > On Mon, Jan 18, 2016 at 4:46 PM, Rob Clark wrote: >> On Mon, Jan 18, 2016 at 5:18 PM, Rob Herring wrote: >>> On Fri, Jan 15, 2016 at 3:10 PM, Dave Airlie

[Mesa-dev] [Bug 92687] Add support for ARB_internalformat_query2

2016-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92687 --- Comment #5 from Alejandro Piñeiro (freenode IRC: apinheiro) --- (In reply to Eduardo Lima Mitev from comment #1) > About time for an update! The "we" below refers to Antía, Alejandro and I, > as the team working

Re: [Mesa-dev] [PATCH 1/2] configure.ac: don't require EGL/DRM ang GBM if OpenGL is disabled

2016-01-22 Thread Marek Olšák
On Fri, Jan 22, 2016 at 6:02 PM, Emil Velikov wrote: > On 22 January 2016 at 16:50, Marek Olšák wrote: >> On Fri, Jan 22, 2016 at 5:32 PM, Emil Velikov >> wrote: >>> Hi Marek, >>> >>> On 22 January 2016 at 12:24, Marek Olšák

Re: [Mesa-dev] [PATCH 00/10] vbo: introduce a minmax_index cache (v3)

2016-01-22 Thread Nicolai Hähnle
On 11.01.2016 21:32, Nicolai Hähnle wrote: here is a new version of the series. I'm calling it v3 even though I never sent v2 because it contains v3 of the main patch. Changes relative to v1: - disable cache on USAGE_TEXTURE_BUFFER and bool/GLboolean nit - disable cache only temporarily when a

[Mesa-dev] [Bug 93813] Incorrect viewport range when GL_CLIP_ORIGIN is GL_UPPER_LEFT

2016-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=93813 --- Comment #3 from Ilia Mirkin --- A bit of potentially-relevant spec quote from ARB_clip_control: 12) Does setting the clip control origin to GL_UPPER_LEFT change the origin of the window coordinate system

[Mesa-dev] [PATCH 4/4] radeonsi: change LLVM intrinsics for BREV, CLAMP, EX2

2016-01-22 Thread Marek Olšák
From: Marek Olšák Requested by Matt Arsenault. --- src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c

[Mesa-dev] [PATCH 2/4] radeonsi: enable late VS allocation (v3)

2016-01-22 Thread Marek Olšák
From: Marek Olšák v2: take the number of CUs into account v3: change in LS allocation --- src/gallium/drivers/radeonsi/si_state.c | 26 +++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_state.c

[Mesa-dev] [PATCH 1/4] radeonsi: allow using all CUs for tessellation and on-chip GS (v2)

2016-01-22 Thread Marek Olšák
From: Marek Olšák v2: After more discussion with hw teams, the kernel already contains the optimal settings allowing us to use all CUs. --- src/gallium/drivers/radeonsi/si_state.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[Mesa-dev] [PATCH 3/4] radeonsi: add max waves / SIMD to shader stats (v2)

2016-01-22 Thread Marek Olšák
From: Marek Olšák v2: account for LDS usage in PS the limit is per SIMD, not per CU --- src/gallium/drivers/radeonsi/si_shader.c | 54 +--- 1 file changed, 49 insertions(+), 5 deletions(-) diff --git

Re: [Mesa-dev] [PATCH 2/2] gallium: always build glsl for gallium

2016-01-22 Thread Emil Velikov
On 12 January 2016 at 21:46, Marek Olšák wrote: > From: Jammy Zhou > > It is needed if the GL/ES build is disabled. Otherwise, there will > be an error that nir_opcodes.h is missing. The motivation is to allow > building Gallium VDPAU/OMX/VA without OpenGL.

[Mesa-dev] [Bug 93820] Change from Mesa 10 to 11 made remote opengl stop working

2016-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=93820 Mark Janes changed: What|Removed |Added CC|

Re: [Mesa-dev] [PATCH 1/2] configure.ac: don't require EGL/DRM ang GBM if OpenGL is disabled

2016-01-22 Thread Marek Olšák
On Fri, Jan 22, 2016 at 5:32 PM, Emil Velikov wrote: > Hi Marek, > > On 22 January 2016 at 12:24, Marek Olšák wrote: >> Hi Emil, >> >> Do you have any comment on this series? >> > I was secretly hoping that you'll forget about this patch because... >

[Mesa-dev] [PATCH 2/2] draw: use util_pstipple_* function for stipple pattern textures and samplers

2016-01-22 Thread Nicolai Hähnle
From: Nicolai Hähnle This reduces code duplication. Suggested-by: Jose Fonseca --- src/gallium/auxiliary/draw/draw_pipe_pstipple.c | 121 +++- src/gallium/auxiliary/util/u_pstipple.c | 4 +-

[Mesa-dev] [PATCH 1/2] draw: use util_pstipple_create_fragment_shader

2016-01-22 Thread Nicolai Hähnle
From: Nicolai Hähnle This reduces code duplication. It also adds support for drivers where the fragment position is a system value. Suggested-by: Jose Fonseca --- A basic polygon stippling test shows no regression on llvmpipe, but that's the extent

Re: [Mesa-dev] [PATCH] st/mesa: conditionally enable GL_NV_vdpau_interop

2016-01-22 Thread Emil Velikov
Form autofoo perspective things look great. Although I second Ilia's concern - we need a form of runtime detection here. Pretty much all distros ship the vdpau(+ other video driver backend) in a separate library. Thus this will likely get us nowhere we want - as I'm suspecting this is to assist

[Mesa-dev] [Bug 93628] Exception: attempt to use unavailable module DRM when building MesaGL 11.1.0 on windows

2016-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=93628 Emil Velikov changed: What|Removed |Added Status|NEW |RESOLVED

Re: [Mesa-dev] [PATCH 3/4] glsl: add support for GL_OES_geometry_shader

2016-01-22 Thread Lofstedt, Marta
> -Original Message- > From: ibmir...@gmail.com [mailto:ibmir...@gmail.com] On Behalf Of Ilia > Mirkin > Sent: Thursday, January 21, 2016 4:33 PM > To: Marta Lofstedt > Cc: mesa-dev@lists.freedesktop.org; Lofstedt, Marta > Subject: Re: [PATCH 3/4] glsl: add support for

Re: [Mesa-dev] [PATCH 1/2] configure.ac: don't require EGL/DRM ang GBM if OpenGL is disabled

2016-01-22 Thread Emil Velikov
Hi Marek, On 22 January 2016 at 12:24, Marek Olšák wrote: > Hi Emil, > > Do you have any comment on this series? > I was secretly hoping that you'll forget about this patch because... > Marek > > On Tue, Jan 12, 2016 at 8:46 PM, Marek Olšák wrote: >> From:

Re: [Mesa-dev] [PATCH] radeonsi: add ETC1 support for Stoney

2016-01-22 Thread Alex Deucher
On Fri, Jan 22, 2016 at 10:22 AM, Marek Olšák wrote: > From: Marek Olšák > > It's a subset of ETC2. Tested. > > For more information, see page 42 and onward: > http://www.graphicshardware.org/previous/www_2007/presentations/strom-etc2-gh07.pdf Reviewed-by:

Re: [Mesa-dev] [PATCH 1/2] i965: Use nir_lower_load_const_to_scalar().

2016-01-22 Thread Eduardo Lima Mitev
On 01/22/2016 01:37 AM, Kenneth Graunke wrote: > I don't know why, but we never hooked up this pass Eric wrote. > Otherwise, you can end up with stupid scalarized code such as: > >vec4 ssa_7 = load_const (0.0, 0.0, 0.0, 0.0) >vec4 ssa_8 = ... >vec1 ssa_9 = feq ssa_8, ssa_7 >vec1

Re: [Mesa-dev] [RFC 16/63] mesa: Add dispatch and extension XML for GL_ARB_internalformat_query2

2016-01-22 Thread Emil Velikov
Hi all, On 19 January 2016 at 16:41, Eduardo Lima Mitev wrote: > From: Alejandro Piñeiro > > Equivalent to commit bda540 (that added GL_ARB_internalformat_query) > --- > src/mapi/glapi/gen/ARB_internalformat_query2.xml | 119 > +++ >

Re: [Mesa-dev] [RFC 16/63] mesa: Add dispatch and extension XML for GL_ARB_internalformat_query2

2016-01-22 Thread Alejandro Piñeiro
On 22/01/16 18:34, Emil Velikov wrote: > Hi all, > > On 19 January 2016 at 16:41, Eduardo Lima Mitev wrote: >> From: Alejandro Piñeiro >> >> Equivalent to commit bda540 (that added GL_ARB_internalformat_query) >> --- >>

Re: [Mesa-dev] [PATCH 2/2] i965: Do channel expressions on significantly fewer opcodes.

2016-01-22 Thread Jason Ekstrand
On Fri, Jan 22, 2016 at 5:35 PM, Matt Turner wrote: > On Thu, Jan 21, 2016 at 4:37 PM, Kenneth Graunke > wrote: > > nir_lower_alu_to_scalar() and nir_lower_load_const_to_scalar() > > handle most cases quite well. They also create nir_ssa_defs rather >

Re: [Mesa-dev] [PATCH 00/10] vbo: introduce a minmax_index cache (v3)

2016-01-22 Thread Nicolai Hähnle
On 22.01.2016 15:17, Marek Olšák wrote: On Fri, Jan 22, 2016 at 6:17 PM, Nicolai Hähnle wrote: On 11.01.2016 21:32, Nicolai Hähnle wrote: here is a new version of the series. I'm calling it v3 even though I never sent v2 because it contains v3 of the main patch. Changes

Re: [Mesa-dev] [PATCH] winsys/amdgpu: optionally use buffer lists with all allocated buffers

2016-01-22 Thread Nicolai Hähnle
On 22.01.2016 15:19, Marek Olšák wrote: From: Marek Olšák Set RADEON_ALL_BOS=1 to use it. Reviewed-by: Nicolai Hähnle --- src/gallium/winsys/amdgpu/drm/amdgpu_bo.c | 21 + src/gallium/winsys/amdgpu/drm/amdgpu_bo.h |

Re: [Mesa-dev] [PATCH 0/7] radeonsi: geometry shader bug fix and cleanup

2016-01-22 Thread eocallaghan
This series is, Reviewed-by: Edward O'Callaghan On 2016-01-23 10:59, Nicolai Hähnle wrote: Hi, this series was prompted by a rendering bug reported for Dolphin. The bug is fixed in the first two patches, and the remainder is assorted cleanups that I noticed

Re: [Mesa-dev] [PATCH 1/4] radeonsi: allow using all CUs for tessellation and on-chip GS (v2)

2016-01-22 Thread eocallaghan
This series is, Reviewed-by: Edward O'Callaghan On 2016-01-23 01:18, Marek Olšák wrote: From: Marek Olšák v2: After more discussion with hw teams, the kernel already contains the optimal settings allowing us to use all CUs. ---

Re: [Mesa-dev] [PATCH 2/2] virgl: enable building on Android

2016-01-22 Thread Dave Airlie
On 23 January 2016 at 12:35, Dave Airlie wrote: > On 23 January 2016 at 09:22, Rob Herring wrote: >> On Fri, Dec 18, 2015 at 11:01 AM, Emil Velikov >> wrote: >>> Thank you Rob ! >>> >>> On 17 December 2015 at 15:45, Rob Herring

Re: [Mesa-dev] [PATCH 2/2] virgl: enable building on Android

2016-01-22 Thread Dave Airlie
On 23 January 2016 at 09:22, Rob Herring wrote: > On Fri, Dec 18, 2015 at 11:01 AM, Emil Velikov > wrote: >> Thank you Rob ! >> >> On 17 December 2015 at 15:45, Rob Herring wrote: >>> This is just a copy-n-paste and rename of vc4

Re: [Mesa-dev] [PATCH 2/2] i965: Do channel expressions on significantly fewer opcodes.

2016-01-22 Thread Matt Turner
On Thu, Jan 21, 2016 at 4:37 PM, Kenneth Graunke wrote: > nir_lower_alu_to_scalar() and nir_lower_load_const_to_scalar() > handle most cases quite well. They also create nir_ssa_defs rather > than ir_variables, which are much less memory intensive. > > This can mean losing