Re: [Mesa-dev] [PATCH] docs: update FAQ

2012-10-09 Thread Andreas Boll
2012/10/8 Chad Versace : > On 10/06/2012 03:30 AM, Andreas Boll wrote: >> Reported-by: Fabio Pedretti >> >> v2: (Chad Versace chad.vers...@linux.intel.com) >> - Rewrite FAQ - proper place for installing mesa. >> --- >> docs/faq.html | 43 --- >> 1 files

[Mesa-dev] [RFC PATCH] Add support for ARB_vertex_type_2_10_10_10_rev on i965

2012-10-09 Thread Chris Forbes
This series almost adds support for ARB_vertex_type_2_10_10_10_rev on i965. Working from the Sandybridge and Ivybridge PRMs, this ought to work (what look like the correct dwords end up in the batch, etc). Details pieced together from both PRMs, since the Sandybridge PRM references surface format

[Mesa-dev] [PATCH 1/6] i965: add missing BRW_SURFACEFORMAT constants from Ivybridge PRM

2012-10-09 Thread Chris Forbes
>From the master surface formats list in the Sampler Engine chapter. The relevant formats for 2_10_10_10 are mentioned in the Sandybridge PRM as vertex attribute types, but the 0x1b*- encodings are missing from its list in the Sampler Engine chapter. --- src/mesa/drivers/dri/i965/brw_defines.h | 3

[Mesa-dev] [PATCH 2/6] i965: add format parameter to debug in get_surface_type

2012-10-09 Thread Chris Forbes
--- src/mesa/drivers/dri/i965/brw_draw_upload.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_draw_upload.c b/src/mesa/drivers/dri/i965/brw_draw_upload.c index f5f65ca..0a563ed 100644 --- a/src/mesa/drivers/dri/i965/brw_draw_upload.c +++ b/src

[Mesa-dev] [PATCH 3/6] i965: add debug in brw_draw_upload

2012-10-09 Thread Chris Forbes
--- src/mesa/drivers/dri/i965/brw_draw_upload.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_draw_upload.c b/src/mesa/drivers/dri/i965/brw_draw_upload.c index 0a563ed..aba1559 100644 --- a/src/mesa/drivers/dri/i965/brw_draw_upload.c +++ b/src/mesa/drivers

[Mesa-dev] [PATCH 4/6] i965: implement get_size for 2_10_10_10 formats

2012-10-09 Thread Chris Forbes
--- src/mesa/drivers/dri/i965/brw_draw_upload.c | 4 1 file changed, 4 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_draw_upload.c b/src/mesa/drivers/dri/i965/brw_draw_upload.c index aba1559..6b073ad 100644 --- a/src/mesa/drivers/dri/i965/brw_draw_upload.c +++ b/src/mesa/drivers/

[Mesa-dev] [PATCH 5/6] i965: support 2_10_10_10 formats in get_surface_type.

2012-10-09 Thread Chris Forbes
--- src/mesa/drivers/dri/i965/brw_draw_upload.c | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_draw_upload.c b/src/mesa/drivers/dri/i965/brw_draw_upload.c index 6b073ad..f2d177a 100644 --- a/src/mesa/drivers/dri/i965/brw

[Mesa-dev] [PATCH 6/6] i965: enable ARB_vertex_type_2_10_10_10_rev

2012-10-09 Thread Chris Forbes
TODO: determine exactly which gens can do this. At least 6+; perhaps as early as 4+? --- src/mesa/drivers/dri/intel/intel_extensions.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c index 8a46488..0

[Mesa-dev] [Bug 55801] New: [Mesa] git: cb72ec5fc55651af186e45942a1cd3e45eb5c359 breaks build

2012-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55801 Priority: medium Bug ID: 55801 Assignee: mesa-dev@lists.freedesktop.org Summary: [Mesa] git: cb72ec5fc55651af186e45942a1cd3e45eb5c359 breaks build Severity: normal Classi

[Mesa-dev] [Bug 55801] [Mesa] git: cb72ec5fc55651af186e45942a1cd3e45eb5c359 breaks build

2012-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55801 Krzysztof A. Sobiecki changed: What|Removed |Added Attachment #68333|0 |1 is patch|

[Mesa-dev] [Bug 55804] New: Broken build by commit cb72ec5fc55651af186e45942a1cd3e45eb5c359.

2012-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55804 Priority: medium Bug ID: 55804 Assignee: mesa-dev@lists.freedesktop.org Summary: Broken build by commit cb72ec5fc55651af186e45942a1cd3e45eb5c359. Severity: normal Classif

[Mesa-dev] [Bug 55801] [Mesa] git: cb72ec5fc55651af186e45942a1cd3e45eb5c359 breaks build

2012-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55801 Krzysztof A. Sobiecki changed: What|Removed |Added Attachment #68333|0 |1 is obsolete|

Re: [Mesa-dev] [PATCH] teximage: Remove unnecessary compressed format check

2012-10-09 Thread Marek Olšák
Thanks and sorry for breaking the build. I pushed the patch. Marek On Tue, Oct 9, 2012 at 5:41 AM, Daniel Stone wrote: > Ever since df4a88ac, the check for compressed formats has been > unnecessary. And ever since cb72ec5f, the build has been broken with > FEATURE_ES. Remove it, as it does no

[Mesa-dev] [Bug 55804] Broken build by commit cb72ec5fc55651af186e45942a1cd3e45eb5c359.

2012-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55804 Brian Paul changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 55801] [Mesa] git: cb72ec5fc55651af186e45942a1cd3e45eb5c359 breaks build

2012-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55801 Brian Paul changed: What|Removed |Added CC||ebl...@gmail.com --- Comment #1 from Brian

[Mesa-dev] [Bug 55801] [Mesa] git: cb72ec5fc55651af186e45942a1cd3e45eb5c359 breaks build

2012-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55801 Brian Paul changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] Mesa Intel driver build failure: trivial patch

2012-10-09 Thread Quentin Glidic
Hello, Since commit 006c1a3c652803e2ff8d5f7ea55c9cb5d8353279, the Intel driver fails to build due to a missing time.h include. Attached a trivial patch to fix that. -- Quentin “Sardem FF7” Glidic >From ed1508126e4ca28cf15729b3964d1e3054bec7ec Mon Sep 17 00:00:00 2001 From: Quentin Glidic Date:

Re: [Mesa-dev] [PATCH 3/4] r600g: frontcolor tracks its associated backcolor

2012-10-09 Thread Tom Stellard
On Mon, Sep 24, 2012 at 10:21:03AM -0400, Tom Stellard wrote: > On Mon, Sep 24, 2012 at 12:43:16AM +0200, Vincent Lejeune wrote: > > --- > > I'm not too familiar with this code, but this patch looks good to me. > Just make sure there are no regressions with the TGSI compiler. > > Reviewed-by: Tom

Re: [Mesa-dev] how to run gallium/tests/trivial/compute.c on r600

2012-10-09 Thread Tom Stellard
On Fri, Oct 05, 2012 at 10:24:00PM +0800, Liu Xin wrote: > Hi, Tom, > > thanks for your kind guidance. within a daunting day, we have made clover > work on our APU platform. for your information, we are running on ubuntu > 12-04, i386. > > out of curiosity, r600 driver relies on the newest llvm

Re: [Mesa-dev] [PATCH 1/2] radeon/llvm: use specialised R600.store.pixel.* for fragment shader

2012-10-09 Thread Tom Stellard
On Sun, Oct 07, 2012 at 09:11:15PM +0200, Vincent Lejeune wrote: > --- > src/gallium/drivers/radeon/AMDGPUISelLowering.cpp | 1 + > src/gallium/drivers/radeon/AMDGPUISelLowering.h| 1 + > .../radeon/MCTargetDesc/R600MCCodeEmitter.cpp | 11 +- > src/gallium/drivers/radeon/R600ISelLow

Re: [Mesa-dev] [PATCH] Don't fail if libX11 isn't installed

2012-10-09 Thread Dan Nicholson
On Oct 8, 2012 10:49 PM, "Matt Turner" wrote: > > On Mon, Oct 8, 2012 at 8:27 PM, Daniel Stone wrote: > > configure.ac would previously refuse to complete if libX11 wasn't > > installed, even if we'd disabled GLX and weren't building an X11 EGL > > platform. Make the check simply set the no_x va

Re: [Mesa-dev] [PATCH 2/2] r600g: make tgsi-to-llvm generates store.pixel* intrinsic for fs

2012-10-09 Thread Tom Stellard
On Sun, Oct 07, 2012 at 09:11:16PM +0200, Vincent Lejeune wrote: > --- > src/gallium/drivers/r600/eg_asm.c| 17 > src/gallium/drivers/r600/r600_asm.c | 17 > src/gallium/drivers/r600/r600_asm.h | 2 + > src/gallium/drivers/r600/r600_llvm.c | 66 > +

Re: [Mesa-dev] [PATCH 7/7] radeon/llvm: use trunc intrinsic instead of llvm.AMDGPU.trunc

2012-10-09 Thread Tom Stellard
On Mon, Oct 08, 2012 at 04:47:13PM +0200, Vincent Lejeune wrote: > --- > src/gallium/drivers/radeon/AMDGPUISelLowering.cpp | 3 +-- > src/gallium/drivers/radeon/AMDGPUIntrinsics.td | 1 - > src/gallium/drivers/radeon/AMDILIntrinsics.td | 2 -- > src/gallium/drivers/radeon/R600Instruct

Re: [Mesa-dev] [PATCH 4/7] radeon/llvm: use llvm fabs intrinsic

2012-10-09 Thread Tom Stellard
On Mon, Oct 08, 2012 at 04:47:10PM +0200, Vincent Lejeune wrote: > --- > src/gallium/drivers/radeon/AMDGPUISelLowering.cpp | 3 +-- > src/gallium/drivers/radeon/AMDILIntrinsics.td | 1 - > src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c | 6 +++--- > 3 files changed, 4 insertions(+), 6

Re: [Mesa-dev] automake-gallium testing

2012-10-09 Thread Andreas Boll
2012/10/8 Matt Turner : > On Mon, Oct 1, 2012 at 8:08 AM, Andreas Boll > wrote: >> 2012/9/21 Matt Turner : >>> On Mon, Sep 17, 2012 at 8:22 AM, Andreas Boll >>> wrote: Yep, vdpau is also affected. $ LD_LIBRARY_PATH="/home/andreas/mesa-testing/lib/vdpau" VDPAU_DRIVER=r600' vdp

[Mesa-dev] [PATCH 9.0] docs: add news item for 9.0 release

2012-10-09 Thread Andreas Boll
--- docs/news.html | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/docs/news.html b/docs/news.html index 541bde6..26e648b 100644 --- a/docs/news.html +++ b/docs/news.html @@ -9,6 +9,16 @@ News +October 8, 2012 + + +Mesa 9.0 is released. +This is the first ve

Re: [Mesa-dev] [PATCH 9.0] docs: add news item for 9.0 release

2012-10-09 Thread Brian Paul
On 10/09/2012 09:11 AM, Andreas Boll wrote: --- docs/news.html | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/docs/news.html b/docs/news.html index 541bde6..26e648b 100644 --- a/docs/news.html +++ b/docs/news.html @@ -9,6 +9,16 @@ News +October 8, 2012 +

Re: [Mesa-dev] [PATCH 9.0] docs: add news item for 9.0 release

2012-10-09 Thread Brian Paul
On 10/09/2012 09:17 AM, Brian Paul wrote: On 10/09/2012 09:11 AM, Andreas Boll wrote: --- docs/news.html | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/docs/news.html b/docs/news.html index 541bde6..26e648b 100644 --- a/docs/news.html +++ b/docs/news.html @@ -9,6

Re: [Mesa-dev] [PATCH 9.0] docs: add news item for 9.0 release

2012-10-09 Thread Andreas Boll
2012/10/9 Brian Paul : > On 10/09/2012 09:17 AM, Brian Paul wrote: >> >> On 10/09/2012 09:11 AM, Andreas Boll wrote: >>> >>> --- >>> docs/news.html | 10 ++ >>> 1 files changed, 10 insertions(+), 0 deletions(-) >>> >>> diff --git a/docs/news.html b/docs/news.html >>> index 541bde6..26e648b 1

Re: [Mesa-dev] Mesa Intel driver build failure: trivial patch

2012-10-09 Thread Kenneth Graunke
On 10/09/2012 06:15 AM, Quentin Glidic wrote: Hello, Since commit 006c1a3c652803e2ff8d5f7ea55c9cb5d8353279, the Intel driver fails to build due to a missing time.h include. Attached a trivial patch to fix that. That's odd. The build hasn't been broken here, so it must have gotten transitivel

[Mesa-dev] [Bug 55811] New: Build failure: nv50_ir_print.cpp:395:7: error: expected ‘?=)=?UTF-8?Q?’ before ‘PRIx64’

2012-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55811 Priority: medium Bug ID: 55811 Assignee: mesa-dev@lists.freedesktop.org Summary: Build failure: nv50_ir_print.cpp:395:7: error: expected ‘)’ before ‘PRIx64’ Severity: normal

[Mesa-dev] [Bug 54626] llvmpipe's Makefile: CXXFLAGS, CPPFLAGS and LDFLAGS are not properly propagated

2012-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54626 Alexandre Demers changed: What|Removed |Added Summary|llvmpipe's Makefile doesn't |llvmpipe's Makefile:

[Mesa-dev] [Bug 50754] Building 32 bit mesa on 64 bit OS fails since change for automake

2012-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50754 --- Comment #18 from Alexandre Demers --- (In reply to comment #14) > It looks like in general that we shouldn't modify the CFLAGS/CXXFLAGS in > configure.ac, but rather use AM_* (according to > http://www.gnu.org/software/automake/manual/automak

Re: [Mesa-dev] [PATCH 6/6] i965: enable ARB_vertex_type_2_10_10_10_rev

2012-10-09 Thread Matt Turner
On Tue, Oct 9, 2012 at 2:33 AM, Chris Forbes wrote: > TODO: determine exactly which gens can do this. At least 6+; > perhaps as early as 4+? > --- > src/mesa/drivers/dri/intel/intel_extensions.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c

Re: [Mesa-dev] [PATCH] mesa: Don't glPopAttrib() GL_POINT_SPRITE_COORD_ORIGIN on < OpenGL-2.0

2012-10-09 Thread Ian Romanick
On 10/06/2012 06:44 PM, Mario Kleiner wrote: The GL_POINT_BIT state attribute GL_POINT_SPRITE_COORD_ORIGIN is only supported on OpenGL-2.0 or later. Prevent glPopAttrib() from trying to restore it on OpenGL-1.4 implementations which support GL_ARB_POINT_SPRITE, as otherwise the sequence... glPus

Re: [Mesa-dev] [PATCH 01/14] r600g: remove the "atom" variable from r600_command_buffer

2012-10-09 Thread Jerome Glisse
On Sun, Oct 07, 2012 at 08:08:03PM +0200, Marek Olšák wrote: > r600_command_buffer is not an atom. > > The "atoms" have evolved into state slots (or groups of state slots) where > you can bind states. There is a fixed amount of atoms (state slots) > in the context. > > The command buffers are not

[Mesa-dev] [Bug 55817] New: Torchlight: Texture renders as garbage

2012-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55817 Priority: medium Bug ID: 55817 Assignee: mesa-dev@lists.freedesktop.org Summary: Torchlight: Texture renders as garbage Severity: normal Classification: Unclassified OS: All

[Mesa-dev] [Bug 55817] Torchlight: Texture renders as garbage

2012-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55817 --- Comment #1 from Sven Arvidsson --- Created attachment 68353 --> https://bugs.freedesktop.org/attachment.cgi?id=68353&action=edit Screenshot of bug with Mesa 8.0.4 -- You are receiving this mail because: You are the assignee for the bug. _

[Mesa-dev] [Bug 55817] Torchlight: Texture renders as garbage

2012-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55817 --- Comment #2 from Sven Arvidsson --- Created attachment 68354 --> https://bugs.freedesktop.org/attachment.cgi?id=68354&action=edit Screenshot of bug with Mesa git -- You are receiving this mail because: You are the assignee for the bug. ___

[Mesa-dev] [Bug 55445] Torchlight: crash due to texture error

2012-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55445 --- Comment #11 from Sven Arvidsson --- Bug 55817 is probably also of interest to anyone cc'ed to this one. -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-dev maili

Re: [Mesa-dev] [RFC PATCH] Add support for ARB_vertex_type_2_10_10_10_rev on i965

2012-10-09 Thread Kenneth Graunke
On 10/09/2012 02:33 AM, Chris Forbes wrote: This series almost adds support for ARB_vertex_type_2_10_10_10_rev on i965. Working from the Sandybridge and Ivybridge PRMs, this ought to work (what look like the correct dwords end up in the batch, etc). Details pieced together from both PRMs, since

Re: [Mesa-dev] [PATCH] i965: Delete some dead code from brw_eu_emit.c.

2012-10-09 Thread Eric Anholt
Kenneth Graunke writes: > Presumably some of this was used by the old fragment shader backend. > --- Acked-by: Eric Anholt We need to do dword scattered reads for array access in the FS, but I prefer setting up these messages right in the brw_*_emit.cpp. pgpMJVw6EvVso.pgp Description: PGP s

Re: [Mesa-dev] [PATCH] i965: Delete some dead code from brw_eu_emit.c.

2012-10-09 Thread Kenneth Graunke
On 10/09/2012 01:07 PM, Eric Anholt wrote: Kenneth Graunke writes: Presumably some of this was used by the old fragment shader backend. --- Acked-by: Eric Anholt We need to do dword scattered reads for array access in the FS, but I prefer setting up these messages right in the brw_*_emit.c

Re: [Mesa-dev] [PATCH 1/6] i965/fs: Make the register allocation class_sizes[] choice static.

2012-10-09 Thread Eric Anholt
Kenneth Graunke writes: > On 10/02/2012 07:52 PM, Eric Anholt wrote: >> Based on split_virtual_grfs(), we choose the same set every time, so set it >> in >> stone. This will help us avoid regenerating the somewhat expensive >> class/register set setup every compile. >> --- >> src/mesa/drivers

[Mesa-dev] [Bug 55817] Torchlight: Texture renders as garbage

2012-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55817 Tim Allen changed: What|Removed |Added CC||screwt...@froup.com -- You are receiving th

Re: [Mesa-dev] [PATCH 4/7] radeon/llvm: use llvm fabs intrinsic

2012-10-09 Thread Vincent
Le mardi 09 octobre 2012 à 10:49 -0400, Tom Stellard a écrit : > On Mon, Oct 08, 2012 at 04:47:10PM +0200, Vincent Lejeune wrote: > > --- > > src/gallium/drivers/radeon/AMDGPUISelLowering.cpp | 3 +-- > > src/gallium/drivers/radeon/AMDILIntrinsics.td | 1 - > > src/gallium/drivers/radeon/r

[Mesa-dev] [PATCH 1/4] st/mesa: remove useless checking in reset_cache

2012-10-09 Thread Marek Olšák
It's always NULL here. --- src/mesa/state_tracker/st_cb_bitmap.c |6 -- 1 file changed, 6 deletions(-) diff --git a/src/mesa/state_tracker/st_cb_bitmap.c b/src/mesa/state_tracker/st_cb_bitmap.c index 62e5712..e4d6c4a 100644 --- a/src/mesa/state_tracker/st_cb_bitmap.c +++ b/src/mesa/state

[Mesa-dev] [PATCH 2/4] st/mesa: use transfer_inline_write in st_texture_image_data

2012-10-09 Thread Marek Olšák
--- src/mesa/state_tracker/st_texture.c | 54 ++- 1 file changed, 8 insertions(+), 46 deletions(-) diff --git a/src/mesa/state_tracker/st_texture.c b/src/mesa/state_tracker/st_texture.c index 3670683..8984dc5 100644 --- a/src/mesa/state_tracker/st_texture.c +++

[Mesa-dev] [PATCH 3/4] softpipe: remove unused functions

2012-10-09 Thread Marek Olšák
--- src/gallium/drivers/softpipe/sp_tex_tile_cache.c | 19 --- src/gallium/drivers/softpipe/sp_tex_tile_cache.h |7 --- 2 files changed, 26 deletions(-) diff --git a/src/gallium/drivers/softpipe/sp_tex_tile_cache.c b/src/gallium/drivers/softpipe/sp_tex_tile_cache.c inde

[Mesa-dev] [PATCH 4/4] st/mesa: use the renderbuffer chosen by core Mesa in CopyTexSubImage

2012-10-09 Thread Marek Olšák
--- src/mesa/state_tracker/st_cb_texture.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index 473ff3a..a5d997e 100644 --- a/src/mesa/state_tracker/st_cb_texture.c +++ b/src/mesa/

[Mesa-dev] [PATCH] gallium: unify transfer functions

2012-10-09 Thread Marek Olšák
Hi, this is actually a very small cleanup that got unexpectedly big. I really underestimated the size of gallium. It's part of the plan discussed here: http://www.mail-archive.com/mesa-dev@lists.freedesktop.org/msg17930.html The idea is that get_transfer+transfer_map is folded into transfer_map,

[Mesa-dev] Nuking GL_NV_vertex_program

2012-10-09 Thread Eric Anholt
anholt@eliezer:mesa/src/mesa% loccount *~drivers | tail -n 1 251493 total anholt@eliezer:mesa/src/mesa% git diff origin/master HEAD -- *~drivers | diffstat| tail -n 1 48 files changed, 59 insertions(+), 2950 deletions(-) Over 1% of mesa core! I don't know of any consumers. i965 was the only h

[Mesa-dev] [PATCH 02/19] intel: Remove NV_vertex_program support.

2012-10-09 Thread Eric Anholt
We were holding on to this code because we were aware that NWN 1 had some support for vertex programs -- no other linux programs I've come across would use it (since other software also has ARB_vp or GLSL support). Only, it turns out that NWN doesn't even give us any vertex programs. Given that w

[Mesa-dev] [PATCH 03/19] r200: Remove support for software-only NV_vertex_program.

2012-10-09 Thread Eric Anholt
It wasn't supported in hardware, and the comments in the code indicated no known uses (similar to my experience on Intel) and a possible intent to remove it. --- src/mesa/drivers/dri/common/xmlpool/t_options.h |5 - src/mesa/drivers/dri/r200/r200_context.c|3 --- src/mesa/drive

[Mesa-dev] [PATCH 01/19] i965/vp: Remove more code for unused opcodes.

2012-10-09 Thread Eric Anholt
These don't appear in ARB_vp or NV_vp and I missed that fact on the first pass of removing dead opcodes. --- src/mesa/drivers/dri/i965/brw_vs_emit.c | 56 +-- 1 file changed, 1 insertion(+), 55 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_vs_emit.c b/src/

[Mesa-dev] [PATCH 04/19] gallium: Remove #if 0-ed enable of NV_vp. It's going away.

2012-10-09 Thread Eric Anholt
--- src/mesa/state_tracker/st_extensions.c |5 - 1 file changed, 5 deletions(-) diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index d6cb915..08a41c3 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensio

[Mesa-dev] [PATCH 09/19] mesa: Fix NV_fragment_program's display list opcode for RequestResident.

2012-10-09 Thread Eric Anholt
While nuking NV_vertex_program, I noticed that one of my opcodes was used in a strange place. --- src/mesa/main/dlist.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index ea158e4..45c123a 100644 --- a/src/mesa/main/dlist.c +++

[Mesa-dev] [PATCH 05/19] swrast: Remove support for GL_NV_vertex_program.

2012-10-09 Thread Eric Anholt
It's not supported in any hardware drivers, and doesn't appear to be useful on Linux. --- src/mesa/drivers/dri/swrast/swrast.c |1 - src/mesa/main/extensions.c |2 -- 2 files changed, 3 deletions(-) diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast

[Mesa-dev] [PATCH 07/19] mesa: Remove Mesa IR opcodes that existed only for NV_vertex_program.

2012-10-09 Thread Eric Anholt
--- src/mesa/drivers/dri/i915/i915_fragprog.c |1 - src/mesa/program/prog_execute.c | 44 - src/mesa/program/prog_instruction.c |7 - src/mesa/program/prog_instruction.h |7 - src/mesa/program/prog_optimize.c |2 -

[Mesa-dev] [PATCH 10/19] mesa: Remove support for NV_vertex_program's special attributes aliasing

2012-10-09 Thread Eric Anholt
--- src/mesa/main/api_arrayelt.c | 31 --- src/mesa/main/arrayobj.c |2 -- src/mesa/main/arrayobj.h | 12 src/mesa/main/mtypes.h|2 -- src/mesa/vbo/vbo_context.h|2 -- src/mesa/vbo/vbo_exec.h |1 - src/mesa/v

[Mesa-dev] [PATCH 06/19] mesa: Remove support for parsing NV vertex programs.

2012-10-09 Thread Eric Anholt
--- src/mesa/SConscript|1 - src/mesa/main/arbprogram.c | 34 +- src/mesa/main/getstring.c |1 - src/mesa/main/nvprogram.c | 25 +- src/mesa/program/nvvertparse.c | 1456 src/mesa/program/nvvertparse.h | 49 -- src/me

[Mesa-dev] [PATCH 13/19] mesa: Remove support for GL_VERTEX_STATE_PROGRAMs and their execution.

2012-10-09 Thread Eric Anholt
--- src/mesa/main/api_exec.c |1 - src/mesa/main/arbprogram.c |1 - src/mesa/main/dlist.c | 33 - src/mesa/main/nvprogram.c | 30 -- src/mesa/main/nvprogram.h |3 --- src/mesa/program/program.c |1 - 6 files c

[Mesa-dev] [PATCH 14/19] mesa: Remove prog_instruction.h field for never-supported NV_vertex_program3.

2012-10-09 Thread Eric Anholt
--- src/mesa/main/ffvertex_prog.c |1 - src/mesa/program/prog_instruction.h |9 - src/mesa/program/prog_optimize.c|1 - src/mesa/program/program_parse.y|5 - 4 files changed, 16 deletions(-) diff --git a/src/mesa/main/ffvertex_prog.c b/src/mesa/main/ffver

[Mesa-dev] [PATCH 08/19] mesa: Remove support for NV_vertex_program's tracked matrices.

2012-10-09 Thread Eric Anholt
--- src/mesa/main/api_exec.c |2 - src/mesa/main/dlist.c | 27 -- src/mesa/main/matrix.c| 16 -- src/mesa/main/mtypes.h|4 -- src/mesa/main/nvprogram.c | 108 - src/mesa/main/nvprogram

[Mesa-dev] [PATCH 11/19] mesa: Remove support for NV_vertex_program's attribute evaluation.

2012-10-09 Thread Eric Anholt
Note that the MAP2 getters were missing from the implementation. Neat. --- src/mesa/main/attrib.c | 12 -- src/mesa/main/enable.c | 97 -- src/mesa/main/eval.c | 66 src/mesa/main/get.c |

[Mesa-dev] [PATCH 12/19] mesa: Remove NV_vertex_program-specific parameters support.

2012-10-09 Thread Eric Anholt
--- src/mesa/main/api_exec.c |4 -- src/mesa/main/dlist.c | 26 - src/mesa/main/nvprogram.c | 133 - src/mesa/main/nvprogram.h | 14 - 4 files changed, 177 deletions(-) diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_

[Mesa-dev] [PATCH 18/19] mesa: Fix comments for NV_vp code that's now only used by other extensions.

2012-10-09 Thread Eric Anholt
--- src/mesa/main/attrib.c |6 +++--- src/mesa/main/dd.h |2 +- src/mesa/main/dlist.c| 10 +++--- src/mesa/tnl/t_context.h |2 +- 4 files changed, 8 insertions(+), 12 deletions(-) diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c index b8f0172..48df7f1 100

[Mesa-dev] [PATCH 17/19] mesa: Add notes about remaining NV_vertex_program code.

2012-10-09 Thread Eric Anholt
--- src/mesa/main/nvprogram.c |4 src/mesa/main/vtxfmt.c |2 +- src/mesa/vbo/vbo_exec_api.c |4 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/nvprogram.c b/src/mesa/main/nvprogram.c index 6ad846e3..4b24dde 100644 --- a/src/mesa/main/nvprog

[Mesa-dev] [PATCH 15/19] mesa: Remove API specific to GL_NV_vertex_program's aliased attribs.

2012-10-09 Thread Eric Anholt
--- src/mesa/main/api_exec.c |4 -- src/mesa/main/dlist.c | 91 - src/mesa/main/enable.c| 50 src/mesa/main/get.c | 32 --- src/mesa/main/nvprogram.c | 139 - src/mesa/main/nv

[Mesa-dev] [PATCH 16/19] mesa: Remove miscellaneous remains of NV_vertex_program.

2012-10-09 Thread Eric Anholt
--- src/mesa/main/enable.c | 12 ++-- src/mesa/main/extensions.c |2 -- src/mesa/main/get.c | 39 --- src/mesa/main/mtypes.h |3 --- src/mesa/main/nvprogram.c |3 +-- src/mesa/program/program.c |1 - src/mesa/tnl

[Mesa-dev] [PATCH 19/19] mesa: Remove defines for NV_vertex_program limits.

2012-10-09 Thread Eric Anholt
Note that _mesa_GetVertexAttribPointervNV() is actually glGetVertexAttribPointerv(), which operates on the generic attributes. The geometry shader initialization looks like arbitrary cruft to me. --- src/mesa/main/config.h|9 - src/mesa/main/context.c | 11 +++ src/mes

[Mesa-dev] [Bug 55811] Build failure: nv50_ir_print.cpp:395:7: error: expected ‘?=)=?UTF-8?Q?’ before ‘PRIx64’

2012-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55811 Darxus changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [Mesa-dev] [PATCH 07/19] mesa: Remove Mesa IR opcodes that existed only for NV_vertex_program.

2012-10-09 Thread Matt Turner
On Tue, Oct 9, 2012 at 6:06 PM, Eric Anholt wrote: > --- > src/mesa/drivers/dri/i915/i915_fragprog.c |1 - > src/mesa/program/prog_execute.c | 44 > - > src/mesa/program/prog_instruction.c |7 - > src/mesa/program/prog_instruction.h

[Mesa-dev] [Bug 55817] Torchlight: Texture renders as garbage

2012-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55817 Brian Rogers changed: What|Removed |Added CC||br...@xyzw.org -- You are receiving this

[Mesa-dev] [PATCH v3 1/2] intel: print debug either to stdout or `logcat' depending on platform.

2012-10-09 Thread Oliver McFadden
Signed-off-by: Oliver McFadden CC: Chad Versace --- v3: split the unconditional DEBUG_PERF printing for Android into a separate patch. The second patch doesn't necessarily need to be upstreamed; I'm open to feedback here... src/mesa/drivers/dri/Android.mk|3 ++- src/mesa/driver

[Mesa-dev] [PATCH v3 2/2] intel: always print performance debugging to `logcat' on Android.

2012-10-09 Thread Oliver McFadden
Signed-off-by: Oliver McFadden CC: Chad Versace --- v3: split the unconditional DEBUG_PERF printing for Android into a separate patch. The second patch doesn't necessarily need to be upstreamed; I'm open to feedback here... src/mesa/drivers/dri/intel/intel_context.c |5 + 1 files chang