[Mesa-dev] [PATCH 0/6] ARB_seamless_cube_map and AMD_draw_buffers_blend
Marek Olšák
maraeo at gmail.com
Mon May 2 06:03:00 PDT 2011
Hi,
this series adds ARB_seamless_cube_map to Gallium and implements one missing piece in mesa/main. There is a new state seamless_cube_map in pipe_rasterizer_state and a new CAP. It affects all samplers in all shader stages (vertex, geometry, fragment). There is only r600g support for now and it's been tested on RV670, RV730, and EG/REDWOOD. The used test was mesa/demos/cubemap.
In addition to that, I have added AMD_draw_buffers_blend trivially implemented by redirecting calls to the ARB variants.
Please review.
Marek Olšák (6):
mesa: add and use a dirty flag for GL_TEXTURE_CUBE_MAP_SEAMLESS
gallium: implement ARB_seamless_cube_map
r600g: implement ARB_seamless_cube_map for r600-r700
r600g: implement ARB_seamless_cube_map for evergreen
glapi: add functions for AMD_draw_buffers_blend
mesa: make AMD_draw_buffers_blend an alias of the ARB variant
src/gallium/drivers/r600/evergreen_state.c | 45 ++++++++++++++++++++++++-
src/gallium/drivers/r600/evergreend.h | 9 +++++
src/gallium/drivers/r600/r600_pipe.c | 1 +
src/gallium/drivers/r600/r600_pipe.h | 5 ++-
src/gallium/drivers/r600/r600_state.c | 9 ++++-
src/gallium/drivers/r600/r600_state_common.c | 1 +
src/gallium/drivers/r600/r600d.h | 3 ++
src/gallium/include/pipe/p_defines.h | 1 +
src/gallium/include/pipe/p_state.h | 1 +
src/mapi/glapi/gen/AMD_draw_buffers_blend.xml | 38 +++++++++++++++++++++
src/mapi/glapi/gen/Makefile | 1 +
src/mapi/glapi/gen/gl_API.xml | 1 +
src/mesa/main/enable.c | 1 +
src/mesa/main/extensions.c | 1 +
src/mesa/main/mtypes.h | 1 +
src/mesa/state_tracker/st_atom_rasterizer.c | 6 +++-
src/mesa/state_tracker/st_extensions.c | 4 ++
17 files changed, 123 insertions(+), 5 deletions(-)
create mode 100644 src/mapi/glapi/gen/AMD_draw_buffers_blend.xml
Marek
More information about the mesa-dev
mailing list