[Mesa-dev] [PATCH 2/2] st/mesa: fail to alloc a renderbuffer if st_choose_renderbuffer_format fails

2011-03-05 Thread Marek Olšák
This fixes: state_tracker/st_format.c:401:st_pipe_format_to_mesa_format: Assertion `0' failed. --- src/mesa/state_tracker/st_cb_fbo.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c index 5ed

[Mesa-dev] [PATCH 1/2] mesa: invalidate framebuffer if internal format of renderbuffer is changed

2011-03-05 Thread Marek Olšák
RenderTexture doesn't have to be called in invalidate_rb, I guess. --- src/mesa/main/fbobject.c | 35 +-- src/mesa/main/mtypes.h |2 ++ 2 files changed, 31 insertions(+), 6 deletions(-) diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index

[Mesa-dev] [Bug 31256] S3TC libtxc_dxtn

2011-03-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31256 Marek Olšák changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

Re: [Mesa-dev] pipe-video

2011-03-05 Thread Christian König
> Does anybody have any serious objections to merging pipe-video to > master? (Aside from the merge conflicts which I'll try my best to > handle...) I would really like to push my changes from my personal branch into pipe-video first, but this will still need some work. I merge my personal branch

[Mesa-dev] [PATCH] gallium: add timeout parameter to fence_finish

2011-03-05 Thread Marek Olšák
This is a follow-up to the ARB_sync patch for st/mesa and completes the ARB_sync implementation. --- src/gallium/auxiliary/util/u_simple_screen.h |3 ++- src/gallium/drivers/cell/ppu/cell_fence.c |7 +-- src/gallium/drivers/cell/ppu/cell_fence.h |7 +--

[Mesa-dev] [PATCH] st/mesa: implement ARB_sync

2011-03-05 Thread Marek Olšák
The ServerWaitSync implementation matches Intel's driver. The extension is advertised when pipe_screen::fence_finish is set. --- src/mesa/SConscript|1 + src/mesa/sources.mak |1 + src/mesa/state_tracker/st_cb_syncobj.c | 122

Re: [Mesa-dev] [PATCH] gallium: split CAP_INSTANCE_DRAWING into INSTANCEID and INSTANCE_DIVISOR

2011-03-05 Thread Brian Paul
On Sat, Mar 5, 2011 at 8:49 AM, Jakob Bornecrantz wrote: > On Sat, Mar 5, 2011 at 5:44 PM, Marek Olšák wrote: >> ARB_instanced_arrays is a subset of D3D9. >> ARB_draw_instanced is a subset of D3D10. >> >> The point of this change is to allow D3D9-level drivers to enable >> ARB_instanced_arrays wi

Re: [Mesa-dev] [RFC][PATCH] gallium: Delay the creation of simple helper shaders

2011-03-05 Thread Brian Paul
On Sat, Mar 5, 2011 at 8:23 AM, Jakob Bornecrantz wrote: > The utility code and in some parts st/mesa creates a bunch of shaders on app > start that are never really used. This gives a very high noise to signal > ratio when trying to debug shaders in simple debug applications. > > Looking at trivi

[Mesa-dev] [RFC][PATCH] Add usage for resources that have a short lifes cycle

2011-03-05 Thread Jakob Bornecrantz
Hi all Short and simple patch series attached. Some drivers can treat one shot resources differently then resources that are expected to be used several times. Add a usage flag to allow the state tracker to mark such resources. The motivation behind this is to identify the glBitmap cache texture

Re: [Mesa-dev] [PATCH] gallium: split CAP_INSTANCE_DRAWING into INSTANCEID and INSTANCE_DIVISOR

2011-03-05 Thread Jakob Bornecrantz
On Sat, Mar 5, 2011 at 5:44 PM, Marek Olšák wrote: > ARB_instanced_arrays is a subset of D3D9. > ARB_draw_instanced is a subset of D3D10. > > The point of this change is to allow D3D9-level drivers to enable > ARB_instanced_arrays without ARB_draw_instanced. Thanks, I'm not to familiar with the s

[Mesa-dev] [PATCH] gallium: split CAP_INSTANCE_DRAWING into INSTANCEID and INSTANCE_DIVISOR

2011-03-05 Thread Marek Olšák
ARB_instanced_arrays is a subset of D3D9. ARB_draw_instanced is a subset of D3D10. The point of this change is to allow D3D9-level drivers to enable ARB_instanced_arrays without ARB_draw_instanced. --- src/gallium/drivers/i915/i915_screen.c |3 ++- src/gallium/drivers/llvmpipe/lp_screen.c |

[Mesa-dev] [RFC][PATCH] gallium: Delay the creation of simple helper shaders

2011-03-05 Thread Jakob Bornecrantz
The utility code and in some parts st/mesa creates a bunch of shaders on app start that are never really used. This gives a very high noise to signal ratio when trying to debug shaders in simple debug applications. Looking at trivial/tri with rbug shows us 12 shaders, after this patch only 3*. Th

Re: [Mesa-dev] Mesa (master): r600g: implement instanced drawing support

2011-03-05 Thread Christian König
Am Donnerstag, den 03.03.2011, 14:54 +0100 schrieb Michel Dänzer: > That fixes the worst problem, some vertices being stuck in the top left > corner. However, the parts of Aero that are supposed to look 'smoky' > still aren't but are mostly fully transparent. > > Below is the R600_DUMP_SHADERS=1 o