diff options
author | Brian <[email protected]> | 2007-03-11 17:00:39 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-03-11 17:00:39 -0600 |
commit | 1c09bcfdda4083636a3ac27d804a34ef87875ce7 (patch) | |
tree | 9d97cdcff44f9a789e0bec8c15609d61c3db2d17 /src/mesa/swrast/s_context.h | |
parent | d23dd812ad597ddbe82be5f95708ece9ad63a2fa (diff) |
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.
Diffstat (limited to 'src/mesa/swrast/s_context.h')
-rw-r--r-- | src/mesa/swrast/s_context.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_context.h b/src/mesa/swrast/s_context.h index a3f61cd5e54..3a9a48922ef 100644 --- a/src/mesa/swrast/s_context.h +++ b/src/mesa/swrast/s_context.h @@ -133,6 +133,10 @@ typedef struct GLboolean _FogEnabled; GLenum _FogMode; /* either GL_FOG_MODE or fragment program's fog mode */ + /** Multiple render targets */ + GLbitfield _ColorOutputsMask; + GLuint _NumColorOutputs; + /** Fragment attributes to compute during rasterization. * Mask of FRAG_BIT_* flags. */ |