Implement support for GL_ARB_draw_buffers with GL_MAX_DRAW_BUFFERS > 1.
authorBrian <brian@nostromo.localnet.net>
Sun, 11 Mar 2007 23:00:39 +0000 (17:00 -0600)
committerBrian <brian@nostromo.localnet.net>
Sun, 11 Mar 2007 23:00:39 +0000 (17:00 -0600)
commit1c09bcfdda4083636a3ac27d804a34ef87875ce7
tree9d97cdcff44f9a789e0bec8c15609d61c3db2d17
parentd23dd812ad597ddbe82be5f95708ece9ad63a2fa
Implement support for GL_ARB_draw_buffers with GL_MAX_DRAW_BUFFERS > 1.

GL_MAX_DRAW_BUFFERS is currently 4.
Added gl_FragData[] output for fragment programs.
In _swrast_write_rgba_span() loop over the color outputs/renderbuffers.
src/mesa/main/config.h
src/mesa/main/mtypes.h
src/mesa/shader/slang/slang_codegen.c
src/mesa/swrast/s_context.c
src/mesa/swrast/s_context.h
src/mesa/swrast/s_fragprog.c
src/mesa/swrast/s_span.c