[Mesa-dev] [PATCH] nouveau/codegen: allow tex offsets on non-TXF instructions (e.g. TXL)

2014-02-04 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- This fixes the bin/fs-textureOffset-2D piglit test on nv50. Have yet to re-run the full piglit suite with this change in place, but it seems pretty obvious. src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 8 1 file changed, 8 insertions(+) di

Re: [Mesa-dev] [PATCH] glsl: Initialize ubo_binding_mask flags to zero.

2014-02-04 Thread Jordan Justen
Sigh ... So that explains the "regression" I was seeing with my instanced GS branch. Reviewed-by: Jordan Justen On Mon, Feb 3, 2014 at 11:53 AM, Matt Turner wrote: > Missed in commit e63bb298. Caused sporadic test failures, like > incorrect-in-layout-qualifier-repeated-prim.geom. > > Cc: "10.0"

Re: [Mesa-dev] [PATCH 26/35] meta: Use common GLSL code for blits

2014-02-04 Thread Rogovin, Kevin
> I don't believe our hardware can support GL_ARB_shader_stencil_export. > The render target write message can take RGBA, depth, and sample masks, > but not stencil. Without that, it's not at all obvious how to implement it. There is a terrible hack-ish way to do it, but I stress the word terri

Re: [Mesa-dev] [PATCH 26/35] meta: Use common GLSL code for blits

2014-02-04 Thread Marek Olšák
On Tue, Feb 4, 2014 at 10:29 AM, Rogovin, Kevin wrote: > > >> I don't believe our hardware can support GL_ARB_shader_stencil_export. >> The render target write message can take RGBA, depth, and sample masks, >> but not stencil. Without that, it's not at all obvious how to implement it. > > There

Re: [Mesa-dev] r600g geometry shader and hence GL 3.3 support

2014-02-04 Thread Marc Dietrich
Hi Dave, Am Dienstag, 4. Februar 2014, 09:53:17 schrieb Dave Airlie: > These 30 patches comprise geometry shader support for r600->cayman GPUs, > > Since I last posted, I've fixed all the regressions caused by the initial > introduction of geometry shaders patch, this passes a large amount of the

[Mesa-dev] [Bug 74476] libGL complains about missing symbol __driDriverGetExtensions_radeonsi

2014-02-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74476 Marek Olšák changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 74010] mesa-10.0.2: z-buffer issue with opengl 3.3 context on intel

2014-02-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74010 --- Comment #5 from Evgeny Bobkin --- this bug is not fixed in mesa 10.0.3 Vendor: ... Intel Open Source Technology Center Renderer: . Mesa DRI Intel(R) Ivybridge Mobile Version: .. 3.3 (Core Profile) Mesa 10.0.3 GLSL ve

[Mesa-dev] [Bug 74508] New: Steam games not launching.

2014-02-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74508 Priority: medium Bug ID: 74508 Assignee: mesa-dev@lists.freedesktop.org Summary: Steam games not launching. Severity: critical Classification: Unclassified OS: Linux (All)

[Mesa-dev] [Bug 74508] Steam games not launching.

2014-02-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74508 --- Comment #1 from celletus --- I add a screenshot:http://imgur.com/NwfncYA -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesk

Re: [Mesa-dev] r600g geometry shader and hence GL 3.3 support

2014-02-04 Thread Alex Deucher
On Mon, Feb 3, 2014 at 6:53 PM, Dave Airlie wrote: > These 30 patches comprise geometry shader support for r600->cayman GPUs, > > Since I last posted, I've fixed all the regressions caused by the initial > introduction of geometry shaders patch, this passes a large amount of the > geometry tests,

[Mesa-dev] initial VCE support

2014-02-04 Thread Christian König
Hi everyone, here is the next major code drop for the radeon driver. It adds support for VCE2 as found on the newest CIK hardware generation. VCE1 as found on SI and Trinity hardware generation is currently not supported, but might get added in the future. VCE is basically a hardware H264 encodin

[Mesa-dev] [PATCH 03/14] vl/vlc: add function to limit the vlc size

2014-02-04 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/auxiliary/vl/vl_vlc.h | 53 ++- 1 file changed, 41 insertions(+), 12 deletions(-) diff --git a/src/gallium/auxiliary/vl/vl_vlc.h b/src/gallium/auxiliary/vl/vl_vlc.h index 401b50e..2f90595

[Mesa-dev] [Bug 74508] Steam games not launching.

2014-02-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74508 Alex Deucher changed: What|Removed |Added Attachment #93363|text/plain |image/png mime type|

[Mesa-dev] [PATCH 06/14] radeon/video: seperate common video functions

2014-02-04 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/r600/r600_pipe.c | 1 + src/gallium/drivers/r600/r600_uvd.c | 3 +- src/gallium/drivers/radeon/Makefile.sources | 1 + src/gallium/drivers/radeon/r600_pipe_common.c | 6 +- src/gallium/driv

[Mesa-dev] [PATCH 02/14] vl/vlc: add remove bits function

2014-02-04 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/auxiliary/vl/vl_vlc.h | 12 1 file changed, 12 insertions(+) diff --git a/src/gallium/auxiliary/vl/vl_vlc.h b/src/gallium/auxiliary/vl/vl_vlc.h index 451fd5e..401b50e 100644 --- a/src/gallium/auxiliary/vl/vl_vlc

[Mesa-dev] [PATCH 04/14] vl/rbsp: add H.264 RBSP implementation

2014-02-04 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/auxiliary/vl/vl_rbsp.h | 164 + 1 file changed, 164 insertions(+) create mode 100644 src/gallium/auxiliary/vl/vl_rbsp.h diff --git a/src/gallium/auxiliary/vl/vl_rbsp.h b/src/gallium/auxil

[Mesa-dev] [Bug 74508] Steam games not launching.

2014-02-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74508 celletus changed: What|Removed |Added Priority|medium |high -- You are receiving this mail because:

Re: [Mesa-dev] [PATCH 30/30] r600g: add support for geom shaders to r600/r700 chipsets

2014-02-04 Thread Alex Deucher
On Mon, Feb 3, 2014 at 6:53 PM, Dave Airlie wrote: > From: Dave Airlie > > This is my first attempt at enabling r600/r700 geometry shaders, > the basic tests pass on both my rv770 and my rv635, > > It requires this kernel patch: > http://www.spinics.net/lists/dri-devel/msg52745.html > > Signed-of

[Mesa-dev] [PATCH 11/14] radeon/winsys: add VCE support v3

2014-02-04 Thread Christian König
From: Christian König v2: add fw version query v3: add README.VCE Signed-off-by: Christian König --- docs/README.VCE | 43 +++ src/gallium/winsys/radeon/drm/radeon_drm_cs.c | 10 ++ src/gallium/winsys/radeon/drm/radeon_drm_winsys.c

[Mesa-dev] [PATCH 12/14] radeon/vce: initial VCE support v6

2014-02-04 Thread Christian König
From: Christian König v2 (chk): revert feedback buffer hack v3 (slava): fixed bitstream size calculation v4 (chk): always create buffers in the right domain v5 (chk): flush async v6 (chk): rework fw interface add version check Signed-off-by: Christian König Signed-off-by: Leo Liu Signed-off-by

Re: [Mesa-dev] [PATCH] R600/SI: Add pattern for zero-extending i1 to i32

2014-02-04 Thread Tom Stellard
On Tue, Feb 04, 2014 at 12:56:39PM +0900, Michel Dänzer wrote: > From: Michel Dänzer > > Fixes opencl-example if_* tests with radeonsi. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74469 > Signed-off-by: Michel Dänzer Reviewed-by: Tom Stellard > --- > lib/Target/R600/SIInstructi

[Mesa-dev] [PATCH 09/14] radeon: just don't map VRAM buffers at all

2014-02-04 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/radeon/r600_texture.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c index 878b26f..eb1e191 100644 --- a/s

[Mesa-dev] [PATCH 01/14] radeon: update legal notes on UVD

2014-02-04 Thread Christian König
From: Christian König Signed-off-by: Christian König --- docs/README.UVD | 31 +++ 1 file changed, 31 insertions(+) diff --git a/docs/README.UVD b/docs/README.UVD index 36b467e..38ea864 100644 --- a/docs/README.UVD +++ b/docs/README.UVD @@ -11,3 +11,34 @@ INFORMATIO

[Mesa-dev] [PATCH 10/14] vl: add H264 encoding interface

2014-02-04 Thread Christian König
From: Christian König Signed-off-by: Christian König Signed-off-by: Leo Liu --- src/gallium/auxiliary/vl/vl_decoder.c | 2 +- src/gallium/drivers/radeon/radeon_video.c | 5 ++-- src/gallium/include/pipe/p_video_codec.h | 13 + src/gallium/include/pipe/p_video_enums.h | 4 +--

[Mesa-dev] [PATCH 14/14] st/omx: add workaround for bug in Bellagio

2014-02-04 Thread Christian König
From: Christian König Not blocking for the message thread can lead to accessing freed up memory. Signed-off-by: Christian König --- src/gallium/state_trackers/omx/entrypoint.c | 13 + src/gallium/state_trackers/omx/entrypoint.h | 2 ++ src/gallium/state_trackers/omx/vid_dec.c|

Re: [Mesa-dev] [PATCH 27/30] r600g: calculate a better value for array_size

2014-02-04 Thread Grigori Goronzy
On 04.02.2014 00:53, Dave Airlie wrote: From: Dave Airlie attempt to calculate a better value for array size to avoid breaking apps. Signed-off-by: Dave Airlie --- src/gallium/drivers/r600/r600_shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers

[Mesa-dev] [PATCH 07/14] radeon/video: directly create buffers in the right domain

2014-02-04 Thread Christian König
From: Christian König Avoid moving things around on start of stream. Signed-off-by: Christian König --- src/gallium/drivers/radeon/radeon_uvd.c | 6 +++--- src/gallium/drivers/radeon/radeon_video.c | 9 ++--- src/gallium/drivers/radeon/radeon_video.h | 4 +++- 3 files changed, 12 inserti

[Mesa-dev] [PATCH 08/14] r600/video: disable tilling for now

2014-02-04 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/r600/r600_uvd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/r600/r600_uvd.c b/src/gallium/drivers/r600/r600_uvd.c index e0db492..c3da7f8 100644 --- a/src/gallium/drive

[Mesa-dev] [PATCH 13/14] st/omx: initial OpenMAX H264 encoder v4

2014-02-04 Thread Christian König
From: Christian König v2 (chk): fix eos handling v3 (leo): implement scaling configuration support v4 (leo): fix bitrate bug Signed-off-by: Christian König Signed-off-by: Leo Liu --- src/gallium/drivers/radeon/radeon_vce_40_2_2.c | 2 +- src/gallium/state_trackers/omx/Makefile.am | 3

[Mesa-dev] [PATCH] centroid affects interpolation

2014-02-04 Thread Kevin Rogovin
Place centroid keyword as an interpolation qualifier. Previously was a storage qualifier. Fixes front end to accept input of the form "centroid in type variable" --- src/glsl/glsl_parser.yy | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/glsl/glsl_parser.yy b

[Mesa-dev] Potential fix for #70410

2014-02-04 Thread Krzysztof A. Sobiecki
A small patch to work around a llvm-config-3.5 change, with a newline hack. Signed-off-by: Krzysztof Sobiecki gmail.com> Tested-by: Kai Wasserbäch --- LLVM 3.5 added --system-libs to llvm-config, fix build failure. Fixes #70410 diff --git a/configure.ac b/configure.ac index ba158e8..c31d962 10

Re: [Mesa-dev] Potential fix for #70410

2014-02-04 Thread Aaron Watry
On Tue, Feb 4, 2014 at 10:28 AM, Armin K. wrote: > On 02/04/2014 05:24 PM, Krzysztof A. Sobiecki wrote: >> A small patch to work around a llvm-config-3.5 change, with a newline >> hack. >> > > This would be easier to fix in LLVM. The newline is rather unnecessary > in the output. > I fully agree.

Re: [Mesa-dev] [PATCH 09/14] radeon: just don't map VRAM buffers at all

2014-02-04 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Tue, Feb 4, 2014 at 4:17 PM, Christian König wrote: > From: Christian König > > Signed-off-by: Christian König > --- > src/gallium/drivers/radeon/r600_texture.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/gallium/drivers/

[Mesa-dev] [Bug 70410] egl-static/Makefile: linking fails with llvm >= 3.4

2014-02-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=70410 --- Comment #19 from Krzysztof A. Sobiecki --- Patch sent to mesa-dev, if included I will close this bug, for now. -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-de

Re: [Mesa-dev] Potential fix for #70410

2014-02-04 Thread Armin K.
On 02/04/2014 05:24 PM, Krzysztof A. Sobiecki wrote: > A small patch to work around a llvm-config-3.5 change, with a newline > hack. > > > > > > > ___ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/li

Re: [Mesa-dev] Potential fix for #70410

2014-02-04 Thread Krzysztof A. Sobiecki
"Armin K." writes: > This would be easier to fix in LLVM. The newline is rather unnecessary > in the output. I'm neither able or willing to hack LLVM, but https://bugs.freedesktop.org/attachment.cgi?id=91751 looks nice? -- X was an interactive protocol: alpha blending a full-screen image looked

[Mesa-dev] [Bug 74508] Steam games not launching.

2014-02-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74508 Kenneth Graunke changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop. |i...@freedesktop.org

Re: [Mesa-dev] [PATCH 30/30] i965/cs: Allow ARB_compute_shader to be enabled via env var.

2014-02-04 Thread Paul Berry
On 1 February 2014 23:21, Jordan Justen wrote: > On Thu, Jan 9, 2014 at 6:19 PM, Paul Berry > wrote: > > This will allow testing of compute shader functionality before it is > > completed. > > > > To enable ARB_compute_shader functionality in the i965 driver, set > > INTEL_COMPUTE_SHADER=1. > >

Re: [Mesa-dev] [PATCH] gallivm: allow large numbers of temporaries

2014-02-04 Thread Brian Paul
On 02/03/2014 07:43 PM, Zack Rusin wrote: The number of allowed temporaries increases almost with every iteration of an api. We used to support 128, then we started increasing and the newer api's support 4096+. So if we notice that the number of temporaries is larger than our statically allocated

Re: [Mesa-dev] Potential fix for #70410

2014-02-04 Thread Aaron Watry
Yup, that's the same exact patch that I sent to the LLVM list. It's been working just fine along with the mesa patch in: https://bugs.freedesktop.org/attachment.cgi?id=91764 I've been using that on my own system for a while now. It could probably use more eyes/testing, but it seems ok from my us

[Mesa-dev] [PATCH] mesa: remove stray bits of GL_EXT_cull_vertex

2014-02-04 Thread Brian Paul
GL_EXT_cull_vertex was removed back in 2010 in commit 02984e3536 but these bits still lingered. --- src/mesa/main/matrix.c | 13 + src/mesa/main/mtypes.h |3 --- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/src/mesa/main/matrix.c b/src/mesa/main/matrix.c index b

Re: [Mesa-dev] [PATCH 30/30] i965/cs: Allow ARB_compute_shader to be enabled via env var.

2014-02-04 Thread Jordan Justen
On Tue, Feb 4, 2014 at 8:43 AM, Paul Berry wrote: > On 1 February 2014 23:21, Jordan Justen wrote: >> >> On Thu, Jan 9, 2014 at 6:19 PM, Paul Berry >> wrote: >> > This will allow testing of compute shader functionality before it is >> > completed. >> > >> > To enable ARB_compute_shader functiona

Re: [Mesa-dev] [PATCH 3/3] i965: Bump MaxTexMbytes from 1GB to 1.5GB.

2014-02-04 Thread Daniel Vetter
On Sun, Feb 02, 2014 at 03:16:45AM -0800, Kenneth Graunke wrote: > Even with the other limits raised, TestProxyTexImage would still reject > textures > 1GB in size. This is an artificial limit; nothing prevents > us from having a larger texture. I stayed shy of 2GB to avoid the > larger-than-aper

[Mesa-dev] [PATCH v2] loader: Get driver name from udev hwdb when available

2014-02-04 Thread Kristian Høgsberg
The udev hwdb is a mechanism for applying udev properties to devices at hotplug time. The hwdb text files are compiled into a binary database that lets udev efficiently look up and apply properties to devices that match a given modalias. This patch exports the mesa PCI ID tables as hwdb files and

Re: [Mesa-dev] [PATCH] mesa: remove stray bits of GL_EXT_cull_vertex

2014-02-04 Thread Eric Anholt
Brian Paul writes: > GL_EXT_cull_vertex was removed back in 2010 in commit 02984e3536 > but these bits still lingered. Reviewed-by: Eric Anholt pgpQggYJFrIcn.pgp Description: PGP signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org htt

[Mesa-dev] [PATCH] gallivm: fix F2U opcode

2014-02-04 Thread sroland
From: Roland Scheidegger Previously, we were really doing F2I. And also move it to generic section. (Note that for llvmpipe the code generated is definitely bad, due to lack of unsigned conversions with sse. I think though what llvm does (using scalar conversions to 64bit signed either with x87 f

[Mesa-dev] [PATCH] configure: Use LLVM shared libraries by default

2014-02-04 Thread Tom Stellard
From: Tom Stellard Linking with LLVM static libraries is easily broken by changes to the llvm-config program or when LLVM adds, removes, or changes library components. Keeping up with these changes requires a lot of maintanence effort to keep the build working on the master and stable branches.

[Mesa-dev] [PATCH] r600g,radeonsi: set domains in one place; put DRI2 tiled textures in VRAM

2014-02-04 Thread Marek Olšák
From: Marek Olšák This is a rework of "r600g,radeonsi: force VRAM placement for DRI2 buffers". It mainly consolidates the code determining resource placements. It also takes Prime into account. --- src/gallium/drivers/r600/r600_state_common.c| 4 +- src/gallium/drivers/radeon/r600_buffer_co

Re: [Mesa-dev] [PATCH] r600g,radeonsi: set domains in one place; put DRI2 tiled textures in VRAM

2014-02-04 Thread Christian König
Am 04.02.2014 20:42, schrieb Marek Olšák: From: Marek Olšák This is a rework of "r600g,radeonsi: force VRAM placement for DRI2 buffers". It mainly consolidates the code determining resource placements. It also takes Prime into account. --- src/gallium/drivers/r600/r600_state_common.c| 4

Re: [Mesa-dev] [PATCH] centroid affects interpolation

2014-02-04 Thread Chris Forbes
`centroid` has never been an interpolation qualifier, though. In GLSL 1.20, `centroid varying` is a storage qualifier. In GLSL 1.30, `centroid in`, `centroid out` are added as storage qualifiers. In GLSL 4.20 (or ARB_shading_language_420pack), `centroid`, `sample`, and `patch` are split from `in`

Re: [Mesa-dev] [PATCH 26/35] meta: Use common GLSL code for blits

2014-02-04 Thread Roland Scheidegger
Am 04.02.2014 13:19, schrieb Marek Olšák: > On Tue, Feb 4, 2014 at 10:29 AM, Rogovin, Kevin > wrote: >> >> >>> I don't believe our hardware can support GL_ARB_shader_stencil_export. >>> The render target write message can take RGBA, depth, and sample masks, >>> but not stencil. Without that, it'

Re: [Mesa-dev] [PATCH 05/14] st/omx: initial OpenMAX support v3

2014-02-04 Thread Matt Turner
On Tue, Feb 4, 2014 at 7:17 AM, Christian König wrote: > diff --git a/configure.ac b/configure.ac > index ba158e8..98007f9 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -2011,6 +2037,7 @@ AC_CONFIG_FILES([Makefile > src/gallium/state_trackers/gbm/Makefile >

Re: [Mesa-dev] [PATCH RFC 00/11] glsl: add Single Static Assignment (SSA)

2014-02-04 Thread Connor Abbott
On Fri, Jan 31, 2014 at 3:34 PM, Paul Berry wrote: > On 22 January 2014 09:16, Connor Abbott wrote: > >> This series enables GLSL IR support for SSA, including passes to convert >> to and from SSA form. SSA is a form of the intermediate representation >> of a compiler in which each variable is a

Re: [Mesa-dev] [PATCH] gallivm: allow large numbers of temporaries

2014-02-04 Thread Roland Scheidegger
Am 04.02.2014 03:43, schrieb Zack Rusin: > The number of allowed temporaries increases almost with every > iteration of an api. We used to support 128, then we started > increasing and the newer api's support 4096+. So if we notice > that the number of temporaries is larger than our statically > al

Re: [Mesa-dev] [PATCH] gallivm: allow large numbers of temporaries

2014-02-04 Thread Jose Fonseca
Sounds great to me. Jose - Original Message - > The number of allowed temporaries increases almost with every > iteration of an api. We used to support 128, then we started > increasing and the newer api's support 4096+. So if we notice > that the number of temporaries is larger than our

Re: [Mesa-dev] [PATCH] gallivm: fix F2U opcode

2014-02-04 Thread Jose Fonseca
Looks good to me. Jose - Original Message - > From: Roland Scheidegger > > Previously, we were really doing F2I. And also move it to generic section. > (Note that for llvmpipe the code generated is definitely bad, due to lack > of unsigned conversions with sse. I think though what llvm

Re: [Mesa-dev] [PATCH] gallivm: fix F2U opcode

2014-02-04 Thread Zack Rusin
Looks good. Reviewed-by: Zack Rusin - Original Message - > From: Roland Scheidegger > > Previously, we were really doing F2I. And also move it to generic section. > (Note that for llvmpipe the code generated is definitely bad, due to lack > of unsigned conversions with sse. I think tho

Re: [Mesa-dev] [PATCH 26/35] meta: Use common GLSL code for blits

2014-02-04 Thread Marek Olšák
On Tue, Feb 4, 2014 at 9:06 PM, Roland Scheidegger wrote: > Am 04.02.2014 13:19, schrieb Marek Olšák: >> On Tue, Feb 4, 2014 at 10:29 AM, Rogovin, Kevin >> wrote: >>> >>> I don't believe our hardware can support GL_ARB_shader_stencil_export. The render target write message can take RGB

[Mesa-dev] [Bug 72895] Missing trees in flightgear 2.12.1 with r600 driver and mesa 10.0.1

2014-02-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=72895 --- Comment #8 from Barto --- the problem of missing trees in flightgear is still here in mesa 10.0.3, but I notice if I type : "export LIBGL_ALWAYS_SOFTWARE=1" the bug is still here in flightgear, so even with software rendering mode I get the

Re: [Mesa-dev] [PATCH 2/2] st/mesa: add support for GL_ARB_viewport_array (v0.2)

2014-02-04 Thread Ilia Mirkin
On Tue, Jan 21, 2014 at 1:09 AM, Dave Airlie wrote: > From: Dave Airlie > > this just ties the mesa code to the pre-existing gallium interface, > I'm not sure what to do with the CSO stuff yet. > > 0.2: fix min/max bounds > > Signed-off-by: Dave Airlie Series is Acked-by: Ilia Mirkin Don't kn

[Mesa-dev] [Bug 72895] Missing trees in flightgear 2.12.1 with r600 driver and mesa 10.0.1

2014-02-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=72895 --- Comment #9 from Fredrik Höglund --- I believe this is a bug in mesa core, not in a specific driver. I haven't been able to isolate the code that renders the trees (there are no trees visible anywhere near the airport in the version packaged

[Mesa-dev] [PATCH 2/2] r600g, radeonsi: set resource domains in one place (v2)

2014-02-04 Thread Marek Olšák
From: Marek Olšák v2: This doesn't change the behavior. It only moves the tiling check to r600_init_resource and removes the usage parameter. --- src/gallium/drivers/r600/r600_state_common.c| 4 +-- src/gallium/drivers/radeon/r600_buffer_common.c | 33 - src/gall

[Mesa-dev] [PATCH 1/2] r600g, radeonsi: query the buffer domain from the kernel for DRI2 buffers

2014-02-04 Thread Marek Olšák
From: Marek Olšák Better then guessing it. Yeah we have had this query for a long time... --- src/gallium/drivers/radeon/r600_texture.c | 2 +- src/gallium/winsys/radeon/drm/radeon_drm_bo.c | 23 +++ src/gallium/winsys/radeon/drm/radeon_winsys.h | 5 + 3 files chan

[Mesa-dev] [PATCH v3 1/9] glsl: convert GS input primitive to use ast_type_qualifier

2014-02-04 Thread Jordan Justen
This allows the use of merge_qualifier, which will be needed for supporting multiple input qualifiers, such as the primitive type type being specified separately from the invocations count (ARB_gpu_shader5). state->gs_input_prim_type is moved into state->in_qualifier->prim_type state->gs_input_pr

[Mesa-dev] [PATCH v3 0/9] i965/gen7 instanced GS support for ARB_gpu_shader5

2014-02-04 Thread Jordan Justen
v3: * Fix major brokenness of dual instance mode operation using Paul's suggestions * Update parsing to allow separate primitive and invocation declarations. Fixes piglit test: spec/arb_gpu_shader5/execution/invocation-id-in-separate-gs * New: glsl: Generate error for invalid input layo

[Mesa-dev] [PATCH v3 6/9] main/shaderapi: GL_GEOMETRY_SHADER_INVOCATIONS GetProgramiv support

2014-02-04 Thread Jordan Justen
v3: * Add check for ARB_gpu_shader5 Signed-off-by: Jordan Justen Reviewed-by: Paul Berry --- src/mesa/main/shaderapi.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index a8336c9..1b2158f 100644 --- a/src/mesa/main/shaderapi.c +

[Mesa-dev] [PATCH v3 5/9] mesa: initialize gl_geometry_program Invocations field

2014-02-04 Thread Jordan Justen
Signed-off-by: Jordan Justen Reviewed-by: Paul Berry --- src/mesa/main/mtypes.h | 1 + src/mesa/main/shaderapi.c | 1 + src/mesa/program/program.c | 1 + src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 1 + src/mesa/state_tracker/st_program.c

[Mesa-dev] [PATCH v3 2/9] glsl: Generate error for invalid input layout declarations

2014-02-04 Thread Jordan Justen
Fixes various piglit tests: spec/glsl-1.50/compiler/incorrect-in-layout-qualifier-*.geom Signed-off-by: Jordan Justen --- src/glsl/ast_type.cpp | 11 +++ 1 file changed, 11 insertions(+) diff --git a/src/glsl/ast_type.cpp b/src/glsl/ast_type.cpp index 7f3737b..f1c59da 100644 --- a/src/g

[Mesa-dev] [PATCH v3 3/9] glsl: parse invocations layout qualifier for ARB_gpu_shader5

2014-02-04 Thread Jordan Justen
_mesa_glsl_parse_state in_qualifier->invocations will store the invocations count. v3: * Use in_qualifier to allow the primitive to be specied separately from the invocations count (merge_qualifiers) Signed-off-by: Jordan Justen --- src/glsl/ast.h | 8 src/glsl/ast_type.c

[Mesa-dev] [PATCH v3 4/9] glsl/linker: produce gl_shader_program Geom.Invocations

2014-02-04 Thread Jordan Justen
Grab the parsed invocation count, check for consistency during linking, and finally save the result in gl_shader_program Geom.Invocations. Signed-off-by: Jordan Justen Reviewed-by: Paul Berry --- src/glsl/glsl_parser_extras.cpp | 4 src/glsl/linker.cpp | 18 ++

[Mesa-dev] [PATCH v3 9/9] i965: support instanced GS on gen7

2014-02-04 Thread Jordan Justen
v3: * Properly prevent dual object mode execution when the invocation count > 1 Signed-off-by: Jordan Justen Reviewed-by: Paul Berry --- src/mesa/drivers/dri/i965/brw_context.h | 2 ++ src/mesa/drivers/dri/i965/brw_defines.h | 1 + src/mesa/drivers/dri/i965/brw_vec4_gs.c

[Mesa-dev] [PATCH v3 8/9] i965: support gl_InvocationID for gen7

2014-02-04 Thread Jordan Justen
v2: * Make gl_InstanceID a system value v3: * Properly shift from R0.1 into DST.4 by adding GS_OPCODE_GET_INSTANCE_ID Signed-off-by: Jordan Justen --- src/mesa/drivers/dri/i965/brw_defines.h | 12 src/mesa/drivers/dri/i965/brw_shader.cpp | 2 ++ src/mesa/dr

[Mesa-dev] [PATCH v3 7/9] glsl: add gl_InvocationID variable for ARB_gpu_shader5

2014-02-04 Thread Jordan Justen
v2: * Make gl_InstanceID a system value Signed-off-by: Jordan Justen Reviewed-by: Paul Berry --- src/glsl/builtin_variables.cpp | 2 ++ src/mesa/main/mtypes.h | 1 + 2 files changed, 3 insertions(+) diff --git a/src/glsl/builtin_variables.cpp b/src/glsl/builtin_variables.cpp index d6b

[Mesa-dev] [Bug 72895] Missing trees in flightgear 2.12.1 with r600 driver and mesa 10.0.1

2014-02-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=72895 --- Comment #10 from Barto --- (In reply to comment #9) > I believe this is a bug in mesa core, not in a specific driver. > > I haven't been able to isolate the code that renders the trees (there are no > trees visible anywhere near the airport

[Mesa-dev] [PATCH 1/3] gallium: remove PIPE_RESOURCE_FLAG_GEN_MIPS

2014-02-04 Thread Marek Olšák
From: Marek Olšák Unused. --- src/gallium/include/pipe/p_defines.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index 02f507c..52c12df 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/include/pi

[Mesa-dev] [PATCH 2/3] gallium: define the behavior of PIPE_USAGE_* flags properly

2014-02-04 Thread Marek Olšák
From: Marek Olšák STATIC will be removed in the following commit. --- src/gallium/docs/source/screen.rst | 18 -- src/gallium/include/pipe/p_defines.h | 13 +++-- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/src/gallium/docs/source/screen.rst b/src/

Re: [Mesa-dev] [PATCH] glsl-compiler: ast: Precise locations positions.

2014-02-04 Thread Carl Worth
Sir Anthony writes: > 1. Change locations setup in glsl_parser.yy from yylloc to appropriate token > locations. > 2. Addition of two fields in ast_node location to hold end position of token. > 3. Addition of ast_node method to setup range locations (for aggregate > tokens). > 4. Fix for glcpp-l

[Mesa-dev] [PATCH 1/3] gallivm: handle huge number of immediates

2014-02-04 Thread Zack Rusin
We only supported up to 256 immediates, which isn't enough. We had code which was allocating immediates as an allocated array, but it was always used along a statically backed array for performance reasons. This commit adds code to skip that performance optimization and always use just the dynamica

[Mesa-dev] [PATCH 2/3] gallivm: make sure analysis works with large number of immediates

2014-02-04 Thread Zack Rusin
We need to handle a lot more immediates and in order to do that we also switch from allocating this structure on the stack to allocating it on the heap. Signed-off-by: Zack Rusin --- src/gallium/auxiliary/gallivm/lp_bld_tgsi_info.c | 17 + 1 file changed, 9 insertions(+), 8 delet

[Mesa-dev] [PATCH 3/3] tgsi/ureg: increase the number of immediates

2014-02-04 Thread Zack Rusin
ureg_program is allocated on the heap so we can just bump the number of immediates that it can handle. It's needed for d3d10. Signed-off-by: Zack Rusin --- src/gallium/auxiliary/tgsi/tgsi_ureg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_u

Re: [Mesa-dev] [PATCH 27/30] r600g: calculate a better value for array_size

2014-02-04 Thread Dave Airlie
On Wed, Feb 5, 2014 at 12:19 AM, Grigori Goronzy wrote: > On 04.02.2014 00:53, Dave Airlie wrote: >> >> From: Dave Airlie >> >> attempt to calculate a better value for array size to avoid breaking apps. >> >> Signed-off-by: Dave Airlie >> --- >> src/gallium/drivers/r600/r600_shader.c | 2 +- >>

Re: [Mesa-dev] [PATCH 3/3] tgsi/ureg: increase the number of immediates

2014-02-04 Thread Brian Paul
On 02/04/2014 05:34 PM, Zack Rusin wrote: ureg_program is allocated on the heap so we can just bump the number of immediates that it can handle. It's needed for d3d10. Signed-off-by: Zack Rusin --- src/gallium/auxiliary/tgsi/tgsi_ureg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [Mesa-dev] [PATCH 2/3] gallivm: make sure analysis works with large number of immediates

2014-02-04 Thread Brian Paul
On 02/04/2014 05:34 PM, Zack Rusin wrote: We need to handle a lot more immediates and in order to do that we also switch from allocating this structure on the stack to allocating it on the heap. Signed-off-by: Zack Rusin Reviewed-by: Brian Paul _

Re: [Mesa-dev] [PATCH 1/3] gallivm: handle huge number of immediates

2014-02-04 Thread Brian Paul
On 02/04/2014 05:34 PM, Zack Rusin wrote: We only supported up to 256 immediates, which isn't enough. We had code which was allocating immediates as an allocated array, but it was always used along a statically backed array for performance "along with a" reasons. This commit adds code to ski

Re: [Mesa-dev] [PATCH v3 7/9] glsl: add gl_InvocationID variable for ARB_gpu_shader5

2014-02-04 Thread Dave Airlie
On Wed, Feb 5, 2014 at 9:07 AM, Jordan Justen wrote: > v2: > * Make gl_InstanceID a system value typo ^^ I assume you mean gl_InvocationID. Dave. > > Signed-off-by: Jordan Justen > Reviewed-by: Paul Berry > --- > src/glsl/builtin_variables.cpp | 2 ++ > src/mesa/main/mtypes.h | 1 + >

Re: [Mesa-dev] [PATCH 3/3] tgsi/ureg: increase the number of immediates

2014-02-04 Thread Roland Scheidegger
Am 05.02.2014 01:34, schrieb Zack Rusin: > ureg_program is allocated on the heap so we can just bump the > number of immediates that it can handle. It's needed for d3d10. > > Signed-off-by: Zack Rusin > --- > src/gallium/auxiliary/tgsi/tgsi_ureg.c | 2 +- > 1 file changed, 1 insertion(+), 1 dele

[Mesa-dev] Use hwdb in loader

2014-02-04 Thread Kristian Høgsberg
This series fixes a few problems in the v2 udev hwdb patch (it broke on Kens recent #ifdef PRELIMINARY addition) and then cleans up the loader logic a bit with the goal of making the loader use modalias strings to find drivers. modalias strings are of the form : and allows the loader to look

[Mesa-dev] [PATCH v3 3/8] loader: Factor out code to map PCI ID to driver name

2014-02-04 Thread Kristian Høgsberg
Making this its own function cleans up loader_get_driver_for_fd() a bit and simplifies the control flow. Signed-off-by: Kristian Høgsberg --- src/loader/loader.c | 51 +++ 1 file changed, 27 insertions(+), 24 deletions(-) diff --git a/src/loader/l

[Mesa-dev] [PATCH v3 7/8] loader: Move loader_get_driver_for_fd() into the three different #ifdef cases

2014-02-04 Thread Kristian Høgsberg
Having one function that tries to accomodate the different decision trees for the three different #ifdef cases makes the logic hard to follow. Now that most of the complexity in loader_get_driver_for_fd() has been split out in helper functions, we can just move loader_get_driver_for_fd() into the

[Mesa-dev] [PATCH v3 5/8] loader: Invert __NOT_HAVE_DRM_H to __HAVE_DRM_H

2014-02-04 Thread Kristian Høgsberg
Fix up double negations for easier readability. Signed-off-by: Kristian Høgsberg --- src/loader/Makefile.am | 8 src/loader/loader.c| 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/loader/Makefile.am b/src/loader/Makefile.am index f407c78..1e0a140 10064

[Mesa-dev] [PATCH v3 8/8] loader: Switch loader to match modalias strings instead of PCI IDs

2014-02-04 Thread Kristian Høgsberg
This lets us match any device on any bus, including platform devices. Signed-off-by: Kristian Høgsberg --- include/pci_ids/pci_id_driver_map.h | 81 - src/loader/Makefile.am | 10 +++-- src/loader/Makefile.sources | 3 +- src/loader/dump-

[Mesa-dev] [PATCH v3 6/8] loader: Move debug logging to where we find the driver

2014-02-04 Thread Kristian Høgsberg
Trying to figure out where a driver name comes from by looking at whether or not chip_id is -1 isn't very roboust. Signed-off-by: Kristian Høgsberg --- src/loader/loader.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/src/loader/loader.c b/src/loade

[Mesa-dev] [PATCH v3 2/8] gallium-loader: Don't worry about PCI IDs in gallium-loader

2014-02-04 Thread Kristian Høgsberg
There's no reason to look this up in the gallium loader code now that the generic loader handles all this. This allows us to not export loader_get_pci_id_for_fd() from loader.c. Signed-off-by: Kristian Høgsberg --- src/gallium/auxiliary/pipe-loader/pipe_loader.h | 16 src/g

[Mesa-dev] [PATCH v3 4/8] loader: Factor out drmGetVersion() fallback code

2014-02-04 Thread Kristian Høgsberg
Signed-off-by: Kristian Høgsberg --- src/loader/loader.c | 44 +--- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/src/loader/loader.c b/src/loader/loader.c index 88210df..7c38f94 100644 --- a/src/loader/loader.c +++ b/src/loader/loader.c @

[Mesa-dev] [PATCH v3 1/8] loader: Get driver name from udev hwdb when available

2014-02-04 Thread Kristian Høgsberg
The udev hwdb is a mechanism for applying udev properties to devices at hotplug time. The hwdb text files are compiled into a binary database that lets udev efficiently look up and apply properties to devices that match a given modalias. This patch exports the mesa PCI ID tables as hwdb files and

Re: [Mesa-dev] [PATCH 3/3] i965: Bump MaxTexMbytes from 1GB to 1.5GB.

2014-02-04 Thread Kenneth Graunke
On 02/04/2014 10:37 AM, Daniel Vetter wrote: > On Sun, Feb 02, 2014 at 03:16:45AM -0800, Kenneth Graunke wrote: >> Even with the other limits raised, TestProxyTexImage would still reject >> textures > 1GB in size. This is an artificial limit; nothing prevents >> us from having a larger texture. I

Re: [Mesa-dev] [PATCH 3/3] tgsi/ureg: increase the number of immediates

2014-02-04 Thread Zack Rusin
Yes, they simply always behave as if they were accessed indirectly from our code, but llvm seems to be pretty good at moving all of those accesses to registers (aka. eliminating alloca's) if they're not actually indirectly indexed, so it all ends up pretty. z - Original Message - > Am

Re: [Mesa-dev] [PATCH 1/3] gallivm: handle huge number of immediates

2014-02-04 Thread Zack Rusin
> > reasons. This commit adds code to skip that performance optimization > > and always use just the dynamically allocated immediates if the > > number of them is too great. > > So is there any limit on the number of immediates now? Technically not. Practically other parts of the code will max ou

Re: [Mesa-dev] [PATCH 01/10] glsl: memory_writer helper class for data serialization

2014-02-04 Thread Paul Berry
On 29 January 2014 01:24, Tapani Pälli wrote: > Class will be used by the shader binary cache implementation. > > Signed-off-by: Tapani Pälli > --- > src/glsl/memory_writer.h | 188 > +++ > 1 file changed, 188 insertions(+) > create mode 100644 src/g

Re: [Mesa-dev] [PATCH 01/10] glsl: memory_writer helper class for data serialization

2014-02-04 Thread Paul Berry
Whoops, I discovered another issue: On 29 January 2014 01:24, Tapani Pälli wrote: > Class will be used by the shader binary cache implementation. > > Signed-off-by: Tapani Pälli > --- > src/glsl/memory_writer.h | 188 > +++ > 1 file changed, 188 ins

  1   2   >