Re: [Mesa-dev] [PATCH] In emit_math1 check for a zero writemask before emitting the preliminary MOV on gen 6 and up.

2011-12-03 Thread Eric Anholt
On Fri, 2 Dec 2011 11:29:38 -0800, Stuart Abercrombie wrote: > Previously a zero writemask would result in dst_chan == -1, meaning an > unnecessary MOV with the destination register dictated by undefined > memory contents would be emitted before returning. This caused > intermittent GPU hangs,

[Mesa-dev] [PATCH 4/4] swrast: remove dead accum buffer context fields

2011-12-03 Thread Brian Paul
--- src/mesa/swrast/s_context.c |6 +- src/mesa/swrast/s_context.h |5 - 2 files changed, 1 insertions(+), 10 deletions(-) diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c index 98702f0..9246125 100644 --- a/src/mesa/swrast/s_context.c +++ b/src/mesa/swrast/s

[Mesa-dev] [PATCH 3/4] mesa: remove dead swrast and state tracker accum buffer code

2011-12-03 Thread Brian Paul
--- src/mesa/state_tracker/st_cb_accum.c | 347 src/mesa/state_tracker/st_cb_accum.h | 63 src/mesa/swrast/s_accum.c| 598 -- src/mesa/swrast/s_accum.h| 38 --- src/mesa/swrast/swrast.h |3 - 5

[Mesa-dev] [PATCH 2/4] mesa: rewrite accum buffer support

2011-12-03 Thread Brian Paul
Implemented in terms of renderbuffer mapping/unmapping and format packing/unpacking functions. The swrast and state tracker code for implementing accumulation are unused and will be removed in the next commit. --- src/mesa/SConscript |2 - src/mesa/drivers/common/driverfu

[Mesa-dev] [PATCH 2/2] mesa: remove the ctx->Driver.IsTextureResident() hook

2011-12-03 Thread Brian Paul
No driver implemented this and we always returned "True" for residence queries. --- src/mesa/drivers/common/driverfuncs.c |1 - src/mesa/main/dd.h|5 - src/mesa/main/texobj.c| 23 +++ src/mesa/main/texparam.c |6

[Mesa-dev] [PATCH 1/2] mesa: remove TextureMemCpy driver hook

2011-12-03 Thread Brian Paul
There's probably no reason to use a special version of memcpy() anymore. --- src/mesa/drivers/common/driverfuncs.c |1 - src/mesa/main/dd.h | 13 src/mesa/main/texstore.c |5 +-- src/mesa/state_tracker/st_cb_texture.c | 52 ---

Re: [Mesa-dev] [PATCH] nvc0/nvfx:PIPE_SHADER_CAP_OUTPUT query returns 0.

2011-12-03 Thread Christoph Bumiller
On 03.12.2011 17:14, Vincent Lejeune wrote: >glsl to tgsi pass now queries for reading output register cap >from drivers. This made nvc0/nvfx complain about unknow >PIPE_CAP that breaks piglit tests. This patch fix this. > --- > src/gallium/drivers/nv50/nv50_screen.c |2 ++ > src/g

[Mesa-dev] [PATCH] nvc0/nvfx:PIPE_SHADER_CAP_OUTPUT query returns 0.

2011-12-03 Thread Vincent Lejeune
glsl to tgsi pass now queries for reading output register cap from drivers. This made nvc0/nvfx complain about unknow PIPE_CAP that breaks piglit tests. This patch fix this. --- src/gallium/drivers/nv50/nv50_screen.c |2 ++ src/gallium/drivers/nvc0/nvc0_screen.c |2 ++ 2 files cha

[Mesa-dev] LLVM-3.0 patches in the 7.11 branch

2011-12-03 Thread Matt Turner
Hi, It looks like there are a lot of LLVM-3.0 patches missing from the 7.11 branch, causing mesa-7.11.x to fail to build. See https://bugs.gentoo.org/show_bug.cgi?id=393013 A users reports in that bug that when the following commits are applied to mesa-7.11.2 that mesa builds with llvm-3.0. b61e