[Mesa-dev] [PATCH] r600g: simplify flushing

2012-09-08 Thread Marek Olšák
Based on the patch called "simplify and fix flushing and synchronization" by Jerome Glisse. Rebased, removed unneded code, simplified more and cleaned up. Also, SH_ACTION_ENA is not set when changing shaders (hw doesn't seem to need it). It's only used to flush constant buffers. --- src/gallium/

[Mesa-dev] Gallium: Moving BlitFramebuffer implementation into drivers

2012-09-08 Thread Marek Olšák
Hi everyone, I'd like to move the BlitFramebuffer implementation into gallium drivers. The pros are: - allowing MSAA resource blitting to be accelerated on any hardware - allowing stencil blitting to be accelerated on any hardware - drivers are more likely to take a faster codepath if they have th

[Mesa-dev] [PATCH 3/3] mesa: fix proxy texture error handling in glTexStorage()

2012-09-08 Thread Brian Paul
This is basically a follow-on to 1f5b1f98468d5e80be39e619ed15c422fbede8d3. Basically, generate GL errors for ordinary invalid parameters for proxy targets the same as for non-proxy targets. Only texture size and OOM errors should be handled specially for proxies. Note: This is a candidate for the

[Mesa-dev] [PATCH 2/3] mesa: make _mesa_get_proxy_target() non-static

2012-09-08 Thread Brian Paul
Needed for the next patch. Note: This is a candidate for the stable branches. --- src/mesa/main/teximage.c | 12 ++-- src/mesa/main/teximage.h |2 ++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 3cf74f2..02b

[Mesa-dev] [PATCH 1/3] mesa: do internal format error checking for glTexStorage()

2012-09-08 Thread Brian Paul
Turns out we weren't doing any format checking before. Now check the internal format and, in particular, make sure that unsized internal formats aren't accepted. Note: This is a candidate for the stable branches. --- src/mesa/main/texstorage.c | 48

Re: [Mesa-dev] [PATCH] Remove VAAPI support.

2012-09-08 Thread Christian König
On 07.09.2012 20:34, Matt Turner wrote: Not working and unmaintained. I still have it on my todo list to actually fix this one and bring it to an usable state, but till then I think it is a good idea to remove the current completely broken code. Reviewed-by: Christian König --- Only includ

Re: [Mesa-dev] tgsi tex instruction + cube map arrays.

2012-09-08 Thread Jose Fonseca
- Original Message - > On Sat, Sep 8, 2012 at 8:39 AM, Dave Airlie > wrote: > > Hi, > > > > so I've been working on ARB_texture_cube_map_array, and it requires > > that sometimes TEX takes an extra src, since for sampler compare > > values there isn't enough space in one src, so we need to

Re: [Mesa-dev] Building the xa-vmwgfx target

2012-09-08 Thread Thomas Hellström
On 9/7/12 11:09 PM, Matt Turner wrote: On Fri, Sep 7, 2012 at 1:49 PM, Thomas Hellström wrote: On 9/7/12 10:39 PM, Matt Turner wrote: I'm converting the remaining static Makefile to automake, so xa and xa-vmwgfx is on my todo list. I'm very confused by the build though. It seems that the xa s

Re: [Mesa-dev] tgsi tex instruction + cube map arrays.

2012-09-08 Thread Dave Airlie
On Sat, Sep 8, 2012 at 8:39 AM, Dave Airlie wrote: > Hi, > > so I've been working on ARB_texture_cube_map_array, and it requires > that sometimes TEX takes an extra src, since for sampler compare > values there isn't enough space in one src, so we need to add another. > > Now I've done a special c

[Mesa-dev] tgsi tex instruction + cube map arrays.

2012-09-08 Thread Dave Airlie
Hi, so I've been working on ARB_texture_cube_map_array, and it requires that sometimes TEX takes an extra src, since for sampler compare values there isn't enough space in one src, so we need to add another. Now I've done a special case in the GLSL->TGSI emitter else if (sampler_type->sampler_dim