New patch here:
gallium: add a CAP for mixed colorbuffer format support
Some GPUs can't do it (I think most of DX9 ones), so they should have
the option not to allow it.
diff --git a/src/gallium/include/pipe/p_defines.h
b/src/gallium/include/pipe/p_defines.h
index 1c1a8f2..0f0ca39 10
That's a shame. I use that feature and it works (Gallium says I have
an AMD RS780). As I read the GL_EXT_framebuffer_object it implies the
(internal) format is the same for each rendertarget, the
GL_ARB_framebuffer_object relaxes this. Both specs allow
implementation-dependent additional restrictio
On 28.03.2011 02:51, Marek Olšák wrote:
> Some GPUs can't do it (I think most of DX9 ones).
>
> We should later decide how Gallium will expose this feature.
How about you just add a PIPE_CAP_FRAMEBUFFE_MIXED_FORMATS and
PIPE_CAP_FRAMEBUFFER_MIXED_DIMENSIONS ?
And if those aren't present you only ex
Some GPUs can't do it (I think most of DX9 ones).
We should later decide how Gallium will expose this feature.
---
src/mesa/state_tracker/st_cb_fbo.c | 21 -
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/src/mesa/state_tracker/st_cb_fbo.c
b/src/mesa/state_