Re: [Mesa-dev] [PATCH 2/3] mesa: build up a mask of active shader stages in a pipeline

2015-12-07 Thread Tapani Pälli
On 12/08/2015 07:28 AM, Timothy Arceri wrote: On Tue, 2015-12-08 at 07:09 +0200, Tapani Pälli wrote: On 12/08/2015 06:55 AM, Timothy Arceri wrote: On Tue, 2015-12-08 at 15:21 +1100, Timothy Arceri wrote: On Tue, 2015-12-08 at 10:55 +1100, Timothy Arceri wrote: On Mon, 2015-12-07 at 11:29 +020

Re: [Mesa-dev] [PATCH 3/3] mesa: add more draw time validation for separate shader programs

2015-12-07 Thread Timothy Arceri
On Tue, 2015-12-08 at 08:11 +0200, Tapani Pälli wrote: > On 12/08/2015 07:15 AM, Timothy Arceri wrote: > > On Mon, 2015-12-07 at 11:29 +0200, Tapani Pälli wrote: > > > Validation checks that we do not have active shader stages that > > > are > > > not used by the pipeline. > > > > > > This fixes a

Re: [Mesa-dev] [PATCH 3/3] mesa: add more draw time validation for separate shader programs

2015-12-07 Thread Tapani Pälli
On 12/08/2015 07:15 AM, Timothy Arceri wrote: On Mon, 2015-12-07 at 11:29 +0200, Tapani Pälli wrote: Validation checks that we do not have active shader stages that are not used by the pipeline. This fixes a subtest in following CTS test: ES31-CTS.sepshaderobjs.StateInteraction Signed-

Re: [Mesa-dev] [PATCH 1/7] i965/vec4: Use byte offsets for UBO pulls on Sandy Bridge

2015-12-07 Thread Jason Ekstrand
On Mon, Dec 7, 2015 at 5:18 PM, Kenneth Graunke wrote: > On Monday, December 07, 2015 04:52:21 PM Jason Ekstrand wrote: >> Previously, the VS_OPCODE_PULL_CONSTANT_LOAD opcode operated on >> vec4-aligned byte offsets on Iron Lake and below and worked in terms of >> vec4 offsets on Sandy Bridge. On

Re: [Mesa-dev] [PATCH 2/3] mesa: build up a mask of active shader stages in a pipeline

2015-12-07 Thread Timothy Arceri
On Tue, 2015-12-08 at 07:09 +0200, Tapani Pälli wrote: > On 12/08/2015 06:55 AM, Timothy Arceri wrote: > > On Tue, 2015-12-08 at 15:21 +1100, Timothy Arceri wrote: > > > On Tue, 2015-12-08 at 10:55 +1100, Timothy Arceri wrote: > > > > On Mon, 2015-12-07 at 11:29 +0200, Tapani Pälli wrote: > > > > >

Re: [Mesa-dev] [PATCH 2/3] mesa: build up a mask of active shader stages in a pipeline

2015-12-07 Thread Tapani Pälli
On 12/08/2015 06:21 AM, Timothy Arceri wrote: On Tue, 2015-12-08 at 10:55 +1100, Timothy Arceri wrote: On Mon, 2015-12-07 at 11:29 +0200, Tapani Pälli wrote: This will be used for validating SSO pipeline where all active stages in linked programs should be in use when rendering. Signed-off-by:

Re: [Mesa-dev] [PATCH 3/3] mesa: add more draw time validation for separate shader programs

2015-12-07 Thread Timothy Arceri
On Mon, 2015-12-07 at 11:29 +0200, Tapani Pälli wrote: > Validation checks that we do not have active shader stages that are > not used by the pipeline. > > This fixes a subtest in following CTS test: > ES31-CTS.sepshaderobjs.StateInteraction > > Signed-off-by: Tapani Pälli > --- > src/me

Re: [Mesa-dev] [PATCH 2/3] mesa: build up a mask of active shader stages in a pipeline

2015-12-07 Thread Tapani Pälli
On 12/08/2015 06:55 AM, Timothy Arceri wrote: On Tue, 2015-12-08 at 15:21 +1100, Timothy Arceri wrote: On Tue, 2015-12-08 at 10:55 +1100, Timothy Arceri wrote: On Mon, 2015-12-07 at 11:29 +0200, Tapani Pälli wrote: This will be used for validating SSO pipeline where all active stages in linked

Re: [Mesa-dev] [PATCH 2/3] mesa: build up a mask of active shader stages in a pipeline

2015-12-07 Thread Timothy Arceri
On Tue, 2015-12-08 at 15:21 +1100, Timothy Arceri wrote: > On Tue, 2015-12-08 at 10:55 +1100, Timothy Arceri wrote: > > On Mon, 2015-12-07 at 11:29 +0200, Tapani Pälli wrote: > > > This will be used for validating SSO pipeline where all active > > > stages > > > in linked programs should be in use

Re: [Mesa-dev] Mesa 11.1.0 release candidate 3

2015-12-07 Thread Timothy Arceri
On Mon, 2015-12-07 at 14:05 +, Emil Velikov wrote: > The third release candidate for Mesa 11.1.0 is now available. > Hi Emil, 76c09c1792ff1209bd34e1ae0e17b9c4929a892f 618612f867ed8140409796535314d9b9ed58440b 8117f46f496fb31339fc97a2501d5b3325a1fefb 2ab9cd0c4dcefb3e63266cadc1e06079e67c3962

Re: [Mesa-dev] [PATCH 2/3] mesa: build up a mask of active shader stages in a pipeline

2015-12-07 Thread Timothy Arceri
On Tue, 2015-12-08 at 10:55 +1100, Timothy Arceri wrote: > On Mon, 2015-12-07 at 11:29 +0200, Tapani Pälli wrote: > > This will be used for validating SSO pipeline where all active > > stages > > in linked programs should be in use when rendering. > > > > Signed-off-by: Tapani Pälli > > --- > >

Re: [Mesa-dev] [PATCH 00/10] Rework of pb_cache_manager for removal of radeon_winsys_cs_handle

2015-12-07 Thread Michel Dänzer
On 07.12.2015 09:00, Marek Olšák wrote: > Hi, > > This series addresses the weirdness in radeon drivers that every buffer has 2 > handles: > - pb_buffer (== pb_cache_buffer) > - radeon_winsys_cs_handle (winsys-specific pb_buffer) > > The inefficiency of converting pb_cache_buffer into the winsys

[Mesa-dev] [Bug 91806] configure does not test whether assembler supports sse4.1

2015-12-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91806 --- Comment #4 from Jonathan Gray --- As mentioned in the initial report I tried that. It seems the test somehow returns 0 not 1? configure:19269: /usr/local/bin/egcc -o conftest -msse4.1 -g -O2 -Wall -std=c99 -Werror=implicit-function-declarat

[Mesa-dev] [PATCH] mesa: detect inefficient buffer use and report through debug output

2015-12-07 Thread Brian Paul
When a buffer is created with GL_STATIC_DRAW, its contents should not be changed frequently. But that's exactly what one application I'm debugging does. This patch adds code to try to detect inefficient buffer use in a couple places. The GL_ARB_debug_output mechanism is used to report the issue.

Re: [Mesa-dev] [PATCH 7/7] i965: Make uniform offsets be in terms of bytes

2015-12-07 Thread Kenneth Graunke
On Monday, December 07, 2015 04:52:27 PM Jason Ekstrand wrote: > This commit pushes makes uniform offsets be terms of bytes starting with > nir_lower_io. They get converted to be in terms of vec4s or floats when we > cram them in the UNIFORM register file but reladdr remains in terms of > bytes al

Re: [Mesa-dev] [PATCH 1/7] i965/vec4: Use byte offsets for UBO pulls on Sandy Bridge

2015-12-07 Thread Kenneth Graunke
On Monday, December 07, 2015 04:52:21 PM Jason Ekstrand wrote: > Previously, the VS_OPCODE_PULL_CONSTANT_LOAD opcode operated on > vec4-aligned byte offsets on Iron Lake and below and worked in terms of > vec4 offsets on Sandy Bridge. On Ivy Bridge, we add a new *LOAD_GEN7 > variant which works in

Re: [Mesa-dev] [PATCH 3/7] i965/vec4: Use a stride of 1 and byte offsets for UBOs

2015-12-07 Thread Kenneth Graunke
On Monday, December 07, 2015 04:52:23 PM Jason Ekstrand wrote: > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93185 That's not the bug. You mean: Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92909 signature.asc Description: This is a digitally signed message part. _

[Mesa-dev] [PATCH 5/7] i965/nir: Remove unused indirect handling

2015-12-07 Thread Jason Ekstrand
The one and only place where the FS backend allows reladdr is on uniforms. For locals, inputs, and outputs, we lower it away before the backend ever sees it. This commit gets rid of the dead indirect handling code. --- src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 44

[Mesa-dev] [PATCH 1/7] i965/vec4: Use byte offsets for UBO pulls on Sandy Bridge

2015-12-07 Thread Jason Ekstrand
Previously, the VS_OPCODE_PULL_CONSTANT_LOAD opcode operated on vec4-aligned byte offsets on Iron Lake and below and worked in terms of vec4 offsets on Sandy Bridge. On Ivy Bridge, we add a new *LOAD_GEN7 variant which works in terms of vec4s. We're about to change the GEN7 version to work in ter

[Mesa-dev] [PATCH 3/7] i965/vec4: Use a stride of 1 and byte offsets for UBOs

2015-12-07 Thread Jason Ekstrand
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93185 --- src/mesa/drivers/dri/i965/brw_vec4_nir.cpp | 16 +++- src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 13 +++-- src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 5 + 3 files changed, 7 insertions(+

[Mesa-dev] [PATCH 4/7] i965/state: Get rid of dword_pitch arguments to buffer functions

2015-12-07 Thread Jason Ekstrand
--- src/mesa/drivers/dri/i965/brw_context.h | 9 +++-- src/mesa/drivers/dri/i965/brw_gs_surface_state.c | 6 ++ src/mesa/drivers/dri/i965/brw_state.h| 3 +-- src/mesa/drivers/dri/i965/brw_vs_surface_state.c | 16 src/mesa/drivers/dri/i965/brw_wm_sur

[Mesa-dev] [PATCH 6/7] i965/nir_uniforms: Replace comps_per_component with an is_scalar boolean

2015-12-07 Thread Jason Ekstrand
--- src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp | 28 ++ 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp b/src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp index 21caca5..155a9c6 100644 --- a/src/mesa/drivers/

[Mesa-dev] [PATCH 2/7] i965/fs: Use a stride of 1 and byte offsets for UBOs

2015-12-07 Thread Jason Ekstrand
--- src/mesa/drivers/dri/i965/brw_fs.cpp | 16 src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 11 --- src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 2 +- 3 files changed, 13 insertions(+), 16 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs

[Mesa-dev] [PATCH 7/7] i965: Make uniform offsets be in terms of bytes

2015-12-07 Thread Jason Ekstrand
This commit pushes makes uniform offsets be terms of bytes starting with nir_lower_io. They get converted to be in terms of vec4s or floats when we cram them in the UNIFORM register file but reladdr remains in terms of bytes all the way down to the point where we lower it to a pull constant load.

Re: [Mesa-dev] [Mesa-stable] [PATCH 1/3] glsl: Allow binding of image variables with 420pack.

2015-12-07 Thread Ian Romanick
On 12/07/2015 04:12 PM, Matt Turner wrote: > On Mon, Dec 7, 2015 at 4:10 PM, Ian Romanick wrote: >> On 12/07/2015 03:35 PM, Matt Turner wrote: >>> This interaction was missed in the addition of ARB_image_load_store. >>> >>> Cc: "11.0 11.1" >>> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?i

Re: [Mesa-dev] [Mesa-stable] [PATCH 1/3] glsl: Allow binding of image variables with 420pack.

2015-12-07 Thread Matt Turner
On Mon, Dec 7, 2015 at 4:10 PM, Ian Romanick wrote: > On 12/07/2015 03:35 PM, Matt Turner wrote: >> This interaction was missed in the addition of ARB_image_load_store. >> >> Cc: "11.0 11.1" >> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93266 >> --- >> src/glsl/ast_to_hir.cpp | 4 +++

Re: [Mesa-dev] [Mesa-stable] [PATCH 1/3] glsl: Allow binding of image variables with 420pack.

2015-12-07 Thread Ian Romanick
On 12/07/2015 03:35 PM, Matt Turner wrote: > This interaction was missed in the addition of ARB_image_load_store. > > Cc: "11.0 11.1" > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93266 > --- > src/glsl/ast_to_hir.cpp | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > dif

Re: [Mesa-dev] [PATCH 3/3] glsl: Relax qualifier ordering restriction in ES 3.1.

2015-12-07 Thread Kenneth Graunke
On Monday, December 07, 2015 03:35:17 PM Matt Turner wrote: > ... and allow the "binding" qualifier in ES 3.1 as well. > > GLSL ES 3.1 incorporates only a few features from the extension > ARB_shading_language_420pack: the relaxed qualifier ordering > requirements and the binding qualifier. > > C

Re: [Mesa-dev] [PATCH 3/3] mesa: add more draw time validation for separate shader programs

2015-12-07 Thread Timothy Arceri
On Mon, 2015-12-07 at 11:29 +0200, Tapani Pälli wrote: > Validation checks that we do not have active shader stages that are > not used by the pipeline. > > This fixes a subtest in following CTS test: > ES31-CTS.sepshaderobjs.StateInteraction > > Signed-off-by: Tapani Pälli > --- > src/me

Re: [Mesa-dev] [PATCH 2/3] mesa: build up a mask of active shader stages in a pipeline

2015-12-07 Thread Timothy Arceri
On Mon, 2015-12-07 at 11:29 +0200, Tapani Pälli wrote: > This will be used for validating SSO pipeline where all active stages > in linked programs should be in use when rendering. > > Signed-off-by: Tapani Pälli > --- > src/mesa/main/mtypes.h | 2 ++ > src/mesa/main/pipelineobj.c | 39 > +

Re: [Mesa-dev] [PATCH 00/26] i965: Tessellation shaders for Gen8+!

2015-12-07 Thread Kenneth Graunke
On Thursday, December 03, 2015 12:03:42 PM Matt Turner wrote: > On Wed, Dec 2, 2015 at 4:15 PM, Kenneth Graunke wrote: > > Happy reviewing! > > Patches 3-8 are > > Reviewed-by: Matt Turner Thanks! I've pushed 3-8. > I sent a few small comments on 9. The only real question I have is > about t

Re: [Mesa-dev] [RFC] i965: Resolve color for all active shader images in intel_update_state().

2015-12-07 Thread Kristian Høgsberg
On Sat, Sep 5, 2015 at 11:30 AM, Jordan Justen wrote: > From: Francisco Jerez > > Fixes > arb_shader_image_load_store/execution/load-from-cleared-image.shader_test > > Cc: Chris Wilson > Cc: Jason Ekstrand > Tested-by: Jordan Justen This patch is required for correct behavior and looks strai

Re: [Mesa-dev] [PATCH 2/3] glsl: Use has_420pack().

2015-12-07 Thread Ilia Mirkin
Reviewed-by: Ilia Mirkin On Mon, Dec 7, 2015 at 6:35 PM, Matt Turner wrote: > These features would not have been enabled with #version 420 otherwise. > > Cc: "11.1" > --- > src/glsl/ast_function.cpp| 6 +++--- > src/glsl/ast_to_hir.cpp | 4 ++-- > src/glsl/hir_field_selection.

Re: [Mesa-dev] [PATCH 1/3] glsl: Allow binding of image variables with 420pack.

2015-12-07 Thread Ilia Mirkin
On Mon, Dec 7, 2015 at 6:35 PM, Matt Turner wrote: > This interaction was missed in the addition of ARB_image_load_store. > > Cc: "11.0 11.1" > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93266 > --- > src/glsl/ast_to_hir.cpp | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-)

[Mesa-dev] [PATCH 3/3] glsl: Relax qualifier ordering restriction in ES 3.1.

2015-12-07 Thread Matt Turner
... and allow the "binding" qualifier in ES 3.1 as well. GLSL ES 3.1 incorporates only a few features from the extension ARB_shading_language_420pack: the relaxed qualifier ordering requirements and the binding qualifier. Cc: "11.1" --- src/glsl/glsl_parser.yy | 20 ++-- s

[Mesa-dev] [PATCH 2/3] glsl: Use has_420pack().

2015-12-07 Thread Matt Turner
These features would not have been enabled with #version 420 otherwise. Cc: "11.1" --- src/glsl/ast_function.cpp| 6 +++--- src/glsl/ast_to_hir.cpp | 4 ++-- src/glsl/hir_field_selection.cpp | 3 +-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/glsl/ast_fun

[Mesa-dev] [PATCH 1/3] glsl: Allow binding of image variables with 420pack.

2015-12-07 Thread Matt Turner
This interaction was missed in the addition of ARB_image_load_store. Cc: "11.0 11.1" Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93266 --- src/glsl/ast_to_hir.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp i

Re: [Mesa-dev] [PATCH] [v2] i965: Fix texture views of 2d array surfaces

2015-12-07 Thread Anuj Phogat
On Mon, Nov 2, 2015 at 2:57 PM, Ben Widawsky wrote: > > It is legal to have a texture view of a single layer from a 2D array texture; > you can sample from it, or render to it. Intel hardware needs to be made aware > when it is using a 2d array surface in the surface state. The texture view is > j

Re: [Mesa-dev] [PATCH] radeonsi: last_gfx_fence is a winsys fence

2015-12-07 Thread Marek Olšák
Ouch, thanks for that. Reviewed-by: Marek Olšák Marek On Mon, Dec 7, 2015 at 9:41 PM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > Cc: "11.1" > --- > src/gallium/drivers/radeonsi/si_debug.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/gallium/drivers/rade

[Mesa-dev] [PATCH] radeonsi: last_gfx_fence is a winsys fence

2015-12-07 Thread Nicolai Hähnle
From: Nicolai Hähnle Cc: "11.1" --- src/gallium/drivers/radeonsi/si_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_debug.c b/src/gallium/drivers/radeonsi/si_debug.c index 0a4e0f9..cce665e 100644 --- a/src/gallium/drivers/radeonsi/si_

[Mesa-dev] [Bug 91806] configure does not test whether assembler supports sse4.1

2015-12-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91806 --- Comment #3 from Matt Turner --- It might be as simple as changing AC_COMPILE_IFELSE -> AC_LINK_IFELSE -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.

[Mesa-dev] [PATCH 2/3] mesa: docs: i965: Use correct doxygen groupings syntax

2015-12-07 Thread Sarah Sharp
When reading the source code, it's useful to indicate that a group of fields in a struct are related in someway. The convention in Mesa seems to be: struct foo { /** * Related fields description * @{ */ int bar; char baz; */@} long qux; } However, the doxygen sy

[Mesa-dev] [PATCH 1/3] mesa: docs: Add link to planet.freedesktop.org

2015-12-07 Thread Sarah Sharp
The freedesktop.org blog feeds aren't mentioned on either mesa3d.org or any of the graphics project wikis (including the DRI wiki) on freedeskop.org. Fix that by linking to it from the sidebar. Signed-off-by: Sarah Sharp --- docs/contents.html | 1 + 1 file changed, 1 insertion(+) diff --git a

[Mesa-dev] [PATCH 3/3] mesa: docs: Intel i965 hardware limits.

2015-12-07 Thread Sarah Sharp
This should help the next person working on hardware enabling figure out where in the Intel PRMs to find the magic platform hardware values. Signed-off-by: Sarah Sharp --- src/mesa/drivers/dri/i965/brw_device_info.h | 51 ++--- 1 file changed, 46 insertions(+), 5 deletion

[Mesa-dev] AppVeyor: Build completed: mesa 59

2015-12-07 Thread AppVeyor
Build mesa 59 completed Commit a2c5200a4b by Christian König on 11/23/2015 2:21 PM: st/va: disable MPEG4 by default v2\n\nThe workarounds are too hacky to enable them by default\nand otherwise MPEG4 doesn't work reliably.\n\nv2: add docs/envvars.html, CC stable

[Mesa-dev] [Bug 93278] Configure should not have hardcoded list of {dri, gallium} drivers

2015-12-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=93278 --- Comment #3 from Matt Turner --- (In reply to Emil Velikov from comment #2) > Fwiw I would like to get things to the point of either: > - enable the drivers that have their dependencies resolved > - or, enable all drivers by default. > > I'

Re: [Mesa-dev] [PATCH demos] util: Remove unused glstate.[ch]

2015-12-07 Thread Brian Paul
Reviewed-by: Brian Paul On 12/07/2015 12:10 PM, Andreas Boll wrote: > Unused and not built for years. Cc: Brian Paul Signed-off-by: Andreas Boll --- src/util/README| 1 - src/util/glstate.c | 502 - src/util/glstate.h | 51 -

Re: [Mesa-dev] [PATCH][mesa-demos] configure.ac: fix AC_WITH(glut) so that --without-glut works

2015-12-07 Thread Andreas Boll
Pushed, thanks for the patch. Andreas 2015-12-07 10:18 GMT+01:00 Burton, Ross : > > On 6 December 2015 at 13:21, Andreas Boll > wrote: >> >> Do you need someone to push this for you? > > > I do, yes. Much appreciated! > > Ross ___ mesa-dev mailing list

[Mesa-dev] Plan to release mesa-demos 8.3.0

2015-12-07 Thread Andreas Boll
Hi, indeed I'm preparing for a new release. I'd like to make a new mesa-demos release mainly to pick up the build fix against mesa >= 10.6.0 and the latest glxinfo. I'm planning to make the release on Wednesday 9th December if there are no objections. Thanks, Andreas 2015-12-07 11:45 GMT+01:00

Re: [Mesa-dev] [PATCH v2 1/2] i965: use _mesa_is_array_texture instead of _mesa_tex_target_is_array

2015-12-07 Thread Alejandro Piñeiro
On 07/12/15 17:00, Brian Paul wrote: > On 12/05/2015 12:51 PM, Alejandro Piñeiro wrote: >> Both methods provide the same functionality, so one would be >> removed. >> >> v2: use _mesa_is_array_texture and not the other way (Brian Paul) >> --- >> src/mesa/drivers/dri/i965/gen7_wm_surface_state.c

[Mesa-dev] [PATCH demos] util: Remove unused glstate.[ch]

2015-12-07 Thread Andreas Boll
Unused and not built for years. Cc: Brian Paul Signed-off-by: Andreas Boll --- src/util/README| 1 - src/util/glstate.c | 502 - src/util/glstate.h | 51 -- 3 files changed, 554 deletions(-) delete mode 100644 src/util/glstate.c d

Re: [Mesa-dev] AppVeyor: Build failed: mesa 58

2015-12-07 Thread Jose Fonseca
Once again sorry for the noise I'm going to disable the emails to the mailing lists, as the build script clearly need to be made more robust. I'll manually forward real failures when they happen. José From: mesa-dev [mesa-dev-boun...@lists.freedesktop.or

Re: [Mesa-dev] [PATCH v3 16/44] i965: Hook up L3 partitioning state atom.

2015-12-07 Thread Kristian Høgsberg
On Tue, Dec 1, 2015 at 12:19 AM, Jordan Justen wrote: > From: Francisco Jerez > > Reviewed-by: Samuel Iglesias Gonsálvez With or without the REG_MASK suggestion in patch 10, patches 1-16: Reviewed-by: Kristian Høgsberg > --- > src/mesa/drivers/dri/i965/brw_context.h | 4 ++-- > src/me

Re: [Mesa-dev] [PATCH 3/4] gallium: add GREMEDY_string_marker

2015-12-07 Thread Rob Clark
On Mon, Dec 7, 2015 at 1:42 PM, Emil Velikov wrote: > On 7 December 2015 at 16:45, Rob Clark wrote: >> From: Rob Clark >> >> Only exposed w/ ST_DEBUG=gremedy. >> > Perhaps a bit of a silly question - why expose the extension only for > debug mesa builds ? Afaict there isn't any noticeable perfor

[Mesa-dev] [PATCH] ir_to_mesa: Skip useless comparison instructions.

2015-12-07 Thread Matt Turner
--- With this, we generate the same number of Mesa IR instructions before and after my series. all() is the same as well. src/mesa/program/ir_to_mesa.cpp | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp in

Re: [Mesa-dev] [PATCH 3/4] gallium: add GREMEDY_string_marker

2015-12-07 Thread Emil Velikov
On 7 December 2015 at 16:45, Rob Clark wrote: > From: Rob Clark > > Only exposed w/ ST_DEBUG=gremedy. > Perhaps a bit of a silly question - why expose the extension only for debug mesa builds ? Afaict there isn't any noticeable performance implication (from infrastructural POV) is there ? If dri

Re: [Mesa-dev] [PATCH 1/4] mesa: add GREMEDY_string_marker

2015-12-07 Thread Emil Velikov
On 7 December 2015 at 16:45, Rob Clark wrote: > From: Rob Clark > > Signed-off-by: Rob Clark > --- > src/mapi/glapi/gen/GREMEDY_string_marker.xml | 18 ++ > src/mapi/glapi/gen/Makefile.am | 1 + > src/mapi/glapi/gen/gl_API.xml| 2 ++ > src/mapi/gl

[Mesa-dev] AppVeyor: Build failed: mesa 58

2015-12-07 Thread AppVeyor
Build mesa 58 failed Commit db072d2086 by Ilia Mirkin on 12/7/2015 6:26 PM: gk110/ir: fix imul hi emission with limm arg\n\nThe elemental demo hits this case.\n\nSigned-off-by: Ilia Mirkin \nCc: "11.0 11.1" Configure your notification preferences __

Re: [Mesa-dev] [PATCH v3 10/44] i965: Define and use REG_MASK macro to make masked MMIO writes slightly more readable.

2015-12-07 Thread Kristian Høgsberg
On Mon, Dec 7, 2015 at 4:24 AM, Francisco Jerez wrote: > Kristian Høgsberg writes: > >> On Tue, Dec 01, 2015 at 12:19:28AM -0800, Jordan Justen wrote: >>> From: Francisco Jerez >>> >>> Reviewed-by: Samuel Iglesias Gonsálvez >>> --- >>> src/mesa/drivers/dri/i965/brw_defines.h | 6 ++ >>

[Mesa-dev] [Bug 93261] GL/DRI3 over ssh broken

2015-12-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=93261 Jason Tibbitts changed: What|Removed |Added CC||ti...@math.uh.edu -- You are receiving

Re: [Mesa-dev] [PATCH v2 1/2] mesa: Add KBL PCI IDs and platform information.

2015-12-07 Thread Emil Velikov
On 20 November 2015 at 18:47, Sarah Sharp wrote: > On Fri, Nov 20, 2015 at 02:18:56PM +, Emil Velikov wrote: >> On 18 November 2015 at 21:59, Ilia Mirkin wrote: >> > On Wed, Nov 18, 2015 at 4:54 PM, Sarah Sharp >> > wrote: >> >>> There's not really a consensus I guess, but most people do lea

Re: [Mesa-dev] New stable-branch 11.0 candidate pushed

2015-12-07 Thread Ilia Mirkin
On Mon, Dec 7, 2015 at 12:56 PM, Emil Velikov wrote: > On 7 December 2015 at 17:46, Ilia Mirkin wrote: >> On Mon, Dec 7, 2015 at 12:42 PM, Emil Velikov >> wrote: >>> On 7 December 2015 at 15:09, Ilia Mirkin wrote: On Mon, Dec 7, 2015 at 9:58 AM, Emil Velikov wrote: > Hello list

Re: [Mesa-dev] New stable-branch 11.0 candidate pushed

2015-12-07 Thread Emil Velikov
On 7 December 2015 at 17:46, Ilia Mirkin wrote: > On Mon, Dec 7, 2015 at 12:42 PM, Emil Velikov > wrote: >> On 7 December 2015 at 15:09, Ilia Mirkin wrote: >>> On Mon, Dec 7, 2015 at 9:58 AM, Emil Velikov >>> wrote: Hello list, The candidate for the Mesa 11.0.7 is now available

Re: [Mesa-dev] [PATCH v2 1/2] mesa: Add KBL PCI IDs and platform information.

2015-12-07 Thread Sarah Sharp
Ping? I believe all the concerns about this patchset (and the DRM patch to add KBL) have been addressed. Can someone push this to master? Shall I rebase and resend the patches? Sarah Sharp On Tue, Nov 17, 2015 at 11:40:53AM -0800, Sarah Sharp wrote: > Add PCI IDs for the Intel Kabylake platforms.

Re: [Mesa-dev] [Mesa-stable] New stable-branch 11.0 candidate pushed

2015-12-07 Thread Emil Velikov
On 7 December 2015 at 15:20, Tom Stellard wrote: > On Mon, Dec 07, 2015 at 02:58:54PM +, Emil Velikov wrote: >> Tom Stellard (6): >> clover: Call clBuildProgram() notification function when build >> completes v2 >> gallium/drivers: Add threadsafe wrappers for pipe_context v2 >>

Re: [Mesa-dev] New stable-branch 11.0 candidate pushed

2015-12-07 Thread Ilia Mirkin
On Mon, Dec 7, 2015 at 12:42 PM, Emil Velikov wrote: > On 7 December 2015 at 15:09, Ilia Mirkin wrote: >> On Mon, Dec 7, 2015 at 9:58 AM, Emil Velikov >> wrote: >>> Hello list, >>> >>> The candidate for the Mesa 11.0.7 is now available. Currently we have: >>> - 43 queued >>> - 24 nominated (o

Re: [Mesa-dev] [PATCH] softpipe: implement some support for multiple viewports

2015-12-07 Thread Roland Scheidegger
So, which tests did it fail? Am 07.12.2015 um 14:31 schrieb Edward O'Callaghan: > Mostly related to making sure the rasterizer can correctly > pick out the correct scissor box for the current viewport. > > Signed-off-by: Edward O'Callaghan > --- > src/gallium/drivers/softpipe/sp_context.h

Re: [Mesa-dev] New stable-branch 11.0 candidate pushed

2015-12-07 Thread Emil Velikov
On 7 December 2015 at 15:09, Ilia Mirkin wrote: > On Mon, Dec 7, 2015 at 9:58 AM, Emil Velikov wrote: >> Hello list, >> >> The candidate for the Mesa 11.0.7 is now available. Currently we have: >> - 43 queued >> - 24 nominated (outstanding) >> - and 1 rejected/obsolete patches >> >> Nominated

Re: [Mesa-dev] New stable-branch 11.0 candidate pushed

2015-12-07 Thread Ilia Mirkin
On Mon, Dec 7, 2015 at 12:37 PM, Emil Velikov wrote: > On 7 December 2015 at 15:07, Ilia Mirkin wrote: >> On Mon, Dec 7, 2015 at 9:58 AM, Emil Velikov >> wrote: >>> Hello list, >>> >>> The candidate for the Mesa 11.0.7 is now available. Currently we have: >>> - 43 queued >>> - 24 nominated (o

Re: [Mesa-dev] New stable-branch 11.0 candidate pushed

2015-12-07 Thread Emil Velikov
On 7 December 2015 at 15:07, Ilia Mirkin wrote: > On Mon, Dec 7, 2015 at 9:58 AM, Emil Velikov wrote: >> Hello list, >> >> The candidate for the Mesa 11.0.7 is now available. Currently we have: >> - 43 queued >> - 24 nominated (outstanding) >> - and 1 rejected/obsolete patches >> >> Rejected (

Re: [Mesa-dev] [PATCH 00/10] Rework of pb_cache_manager for removal of radeon_winsys_cs_handle

2015-12-07 Thread eocallaghan
On 2015-12-07 11:00, Marek Olšák wrote: Hi, This series addresses the weirdness in radeon drivers that every buffer has 2 handles: - pb_buffer (== pb_cache_buffer) - radeon_winsys_cs_handle (winsys-specific pb_buffer) The inefficiency of converting pb_cache_buffer into the winsys-specific buffe

[Mesa-dev] [PATCH 2/4] mesa: wire up EmitStringMarker for KHR_debug

2015-12-07 Thread Rob Clark
From: Rob Clark The extension spec[1] describes DEBUG_TYPE_MARKER as "Annotation of the command stream". So for DEBUG_TYPE_MARKER, also pass the buf to the driver's EmitStringMarker() to be inserted in the command stream. [1] https://www.opengl.org/registry/specs/KHR/debug.txt Signed-off-by: R

[Mesa-dev] [PATCH 0/4] string-marker support

2015-12-07 Thread Rob Clark
From: Rob Clark Refresh of older GREMEDY_string_marker patchset, this time also wiring up KHR_debug. I suppose the KHR_debug part of this is the more useful part, but I think it doesn't hurt to include the GREMEDY part. Presumably there are some games/etc out there sitting around with support f

[Mesa-dev] [PATCH 1/4] mesa: add GREMEDY_string_marker

2015-12-07 Thread Rob Clark
From: Rob Clark Signed-off-by: Rob Clark --- src/mapi/glapi/gen/GREMEDY_string_marker.xml | 18 ++ src/mapi/glapi/gen/Makefile.am | 1 + src/mapi/glapi/gen/gl_API.xml| 2 ++ src/mapi/glapi/gen/gl_genexec.py | 1 + src/mesa/main/dd.h

[Mesa-dev] [PATCH 3/4] gallium: add GREMEDY_string_marker

2015-12-07 Thread Rob Clark
From: Rob Clark Only exposed w/ ST_DEBUG=gremedy. Signed-off-by: Rob Clark --- src/gallium/docs/source/screen.rst | 1 + src/gallium/drivers/freedreno/freedreno_screen.c | 1 + src/gallium/drivers/i915/i915_screen.c | 1 + src/gallium/drivers/ilo/ilo_screen.c

[Mesa-dev] [PATCH 4/4] freedreno: implement emit_string_marker

2015-12-07 Thread Rob Clark
From: Rob Clark Writes string to cmdstream in payload of a no-op packet. Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/freedreno_context.c | 27 +++ src/gallium/drivers/freedreno/freedreno_screen.c | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) dif

Re: [Mesa-dev] [PATCH demos 1/2] util/glstate.[ch]: Update FSF address in licence header

2015-12-07 Thread Brian Paul
On 12/06/2015 06:08 AM, Andreas Boll wrote: Found via the following Lintian (Debian package checker) warning: The /usr/share/doc/pkg/copyright file refers to the old postal address of the Free Software Foundation (FSF). The new address is: Free Software Foundation, Inc., 51 Franklin

Re: [Mesa-dev] [PATCH demos 2/2] demos: add missing binaries to .gitignore

2015-12-07 Thread Brian Paul
On 12/06/2015 06:08 AM, Andreas Boll wrote: Signed-off-by: Andreas Boll --- src/tests/.gitignore | 1 + src/trivial/.gitignore | 1 + 2 files changed, 2 insertions(+) diff --git a/src/tests/.gitignore b/src/tests/.gitignore index 8f9cb58..1e86e68 100644 --- a/src/tests/.gitignore +++ b/sr

Re: [Mesa-dev] [PATCH 2/2] st/mesa: fix GLSL uniform updates for glBitmap & glDrawPixels

2015-12-07 Thread Brian Paul
On 12/06/2015 04:34 PM, Marek Olšák wrote: From: Marek Olšák Spotted by luck. The GLSL uniform storage is only associated once in LinkShader and can't be reallocated afterwards, because that would break the association. --- src/mesa/state_tracker/st_cb_bitmap.c | 6 +- src/mesa/sta

[Mesa-dev] [PATCH] scons: support for llvm 3.7.

2015-12-07 Thread olivier . pena . 80
From: Olivier Pena --- scons/llvm.py | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/scons/llvm.py b/scons/llvm.py index c59b8cb..1fc8a3f 100644 --- a/scons/llvm.py +++ b/scons/llvm.py @@ -106,7 +106,19 @@ def generate(env): ]) env.Prepend(LIB

Re: [Mesa-dev] [PATCH] mesa-demos: xeglthreads needs to add "-lX11 -lpthread" itself

2015-12-07 Thread Stefan Dirsch
Hi Andreas Thanks for asking! Seems you're preparing a new release? That would be really cool! Indeed my patch is no longer needed. Even with 8.2.0 it wasn't. I just didn't notice when updating it. Also with current git I no longer need to disable egl. ;-) So I can revert this change again: We

Re: [Mesa-dev] [PATCH v2 1/2] i965: use _mesa_is_array_texture instead of _mesa_tex_target_is_array

2015-12-07 Thread Brian Paul
On 12/05/2015 12:51 PM, Alejandro Piñeiro wrote: Both methods provide the same functionality, so one would be removed. v2: use _mesa_is_array_texture and not the other way (Brian Paul) --- src/mesa/drivers/dri/i965/gen7_wm_surface_state.c | 2 +- src/mesa/drivers/dri/i965/gen8_surface_state.c

Re: [Mesa-dev] New stable-branch 11.0 candidate pushed

2015-12-07 Thread Tom Stellard
On Mon, Dec 07, 2015 at 02:58:54PM +, Emil Velikov wrote: > Hello list, > > The candidate for the Mesa 11.0.7 is now available. Currently we have: > - 43 queued > - 24 nominated (outstanding) > - and 1 rejected/obsolete patches > > Quite a few meta fixes (affecting i965), some driver fixes

Re: [Mesa-dev] New stable-branch 11.0 candidate pushed

2015-12-07 Thread Ilia Mirkin
On Mon, Dec 7, 2015 at 9:58 AM, Emil Velikov wrote: > Hello list, > > The candidate for the Mesa 11.0.7 is now available. Currently we have: > - 43 queued > - 24 nominated (outstanding) > - and 1 rejected/obsolete patches > > Rejected (2) > > > Kenneth Graunke (1): > i965: Fi

Re: [Mesa-dev] New stable-branch 11.0 candidate pushed

2015-12-07 Thread Ilia Mirkin
On Mon, Dec 7, 2015 at 9:58 AM, Emil Velikov wrote: > Hello list, > > The candidate for the Mesa 11.0.7 is now available. Currently we have: > - 43 queued > - 24 nominated (outstanding) > - and 1 rejected/obsolete patches > > Nominated (24) > == > > Ilia Mirkin (6): > freedren

[Mesa-dev] New stable-branch 11.0 candidate pushed

2015-12-07 Thread Emil Velikov
Hello list, The candidate for the Mesa 11.0.7 is now available. Currently we have: - 43 queued - 24 nominated (outstanding) - and 1 rejected/obsolete patches Quite a few meta fixes (affecting i965), some driver fixes for i965, nouveau, r600 and llvm. The video encoding for Stoney has been disa

Re: [Mesa-dev] [PATCH] i965: Add defines for gather push constants

2015-12-07 Thread Ilia Mirkin
On Mon, Dec 7, 2015 at 7:39 AM, Abdiel Janulgue wrote: > v2 (Francisco Jerez): >- Rename HSW_GATHER_CONSTANTS_RESERVED to > HSW_GATHER_POOL_ALLOC_MUST_BE_ONE. >- Rename BRW_GATHER_* prefix to HSW_GATHER_CONSTANTS_*. > > Signed-off-by: Abdiel Janulgue > --- > src/mesa/drivers/dri/i965/br

[Mesa-dev] Mesa 11.1.0 release candidate 3

2015-12-07 Thread Emil Velikov
The third release candidate for Mesa 11.1.0 is now available. Connor Abbott (1): i965: fix 64-bit immediates in brw_inst(_set)_bits Dave Airlie (5): r600: geometry shader gsvs itemsize workaround r600: rv670 use at least 16es/gs threads r600: workaround empty geom shader.

[Mesa-dev] r600g: ARB_copy_image support

2015-12-07 Thread Edward O'Callaghan
The follow passes piglit with 1358/1358 on AURBA. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH 2/2] r600: Add ARB_copy_image support

2015-12-07 Thread Edward O'Callaghan
Signed-off-by: Edward O'Callaghan --- docs/GL3.txt | 2 +- src/gallium/drivers/r600/r600_pipe.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/GL3.txt b/docs/GL3.txt index 50b429c..f564263 100644 --- a/docs/GL3.txt +++ b/docs/GL3.txt @@ -153,7

[Mesa-dev] [PATCH 1/2] r600g: allow copying between compatible un/compressed formats

2015-12-07 Thread Edward O'Callaghan
See: `commit e82c527f1fc2f8ddc64954ecd06b0de3cea92e93` which is where a block in src maps to a pixel in dst and vice versa. e.g. DXT1 <-> R32G32_UINT DXT5 <-> R32G32B32A32_UINT Signed-off-by: Edward O'Callaghan --- src/gallium/drivers/r600/r600_blit.c | 3 ++- 1 file changed, 2 ins

[Mesa-dev] [PATCH] softpipe: implement some support for multiple viewports

2015-12-07 Thread Edward O'Callaghan
Mostly related to making sure the rasterizer can correctly pick out the correct scissor box for the current viewport. Signed-off-by: Edward O'Callaghan --- src/gallium/drivers/softpipe/sp_context.h | 7 +++- src/gallium/drivers/softpipe/sp_quad_depth_test.c | 4 +- src/gallium/drivers/

[Mesa-dev] [RFC] softpipe: initial attempt at ARB_viewport_array

2015-12-07 Thread Edward O'Callaghan
The follow patch passes all but two tests on softpipe for ARB_viewport_array. Although, admittedly the tests it does fail are basically the most imported :p. There are a couple of things needed to polish this off but this gets most of the fluff out the way I guess. I was unsure how to handle the ge

[Mesa-dev] [Bug 93278] Configure should not have hardcoded list of {dri, gallium} drivers

2015-12-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=93278 Emil Velikov changed: What|Removed |Added Summary|Configure should|Configure should not have

[Mesa-dev] [PATCH] i965: Add defines for gather push constants

2015-12-07 Thread Abdiel Janulgue
v2 (Francisco Jerez): - Rename HSW_GATHER_CONSTANTS_RESERVED to HSW_GATHER_POOL_ALLOC_MUST_BE_ONE. - Rename BRW_GATHER_* prefix to HSW_GATHER_CONSTANTS_*. Signed-off-by: Abdiel Janulgue --- src/mesa/drivers/dri/i965/brw_defines.h | 19 +++ 1 file changed, 19 insertions(+)

Re: [Mesa-dev] [PATCH v3 10/44] i965: Define and use REG_MASK macro to make masked MMIO writes slightly more readable.

2015-12-07 Thread Francisco Jerez
Kristian Høgsberg writes: > On Tue, Dec 01, 2015 at 12:19:28AM -0800, Jordan Justen wrote: >> From: Francisco Jerez >> >> Reviewed-by: Samuel Iglesias Gonsálvez >> --- >> src/mesa/drivers/dri/i965/brw_defines.h | 6 ++ >> src/mesa/drivers/dri/i965/brw_state_upload.c | 2 +- >> src/me

[Mesa-dev] [Bug 93278] Configure should automatically disable Intel backends for ARM targets

2015-12-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=93278 Eero Tamminen changed: What|Removed |Added Priority|medium |low CC|

Re: [Mesa-dev] [PATCH] r600: apply SIMD workaround to cayman also.

2015-12-07 Thread Marek Olšák
On Mon, Dec 7, 2015 at 9:10 AM, wrote: > On 2015-12-07 19:00, Dave Airlie wrote: >> >> From: Dave Airlie >> >> At last on ARUBA this is required to stop tessellation hanging >> in heaven. >> >> This removes one of the SIMDs from use by the HS/LS. >> >> Signed-off-by: Dave Airlie >> --- >> src/

Re: [Mesa-dev] [PATCH 1/3] glsl: build up a mask of active shader stages in a program

2015-12-07 Thread Juha-Pekka Heikkila
small comment on patch 2, otherwise these are Reviewed-by: Juha-Pekka Heikkila /Juha-Pekka On 07.12.2015 11:29, Tapani Pälli wrote: This will be used for validating SSO pipeline where all active stages in linked programs should be in use when rendering. Signed-off-by: Tapani Pälli --- src

Re: [Mesa-dev] [PATCH 2/3] mesa: build up a mask of active shader stages in a pipeline

2015-12-07 Thread Juha-Pekka Heikkila
On 07.12.2015 11:29, Tapani Pälli wrote: This will be used for validating SSO pipeline where all active stages in linked programs should be in use when rendering. Signed-off-by: Tapani Pälli --- src/mesa/main/mtypes.h | 2 ++ src/mesa/main/pipelineobj.c | 39 +++

  1   2   >