gallium: accum buffer fixes
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 7 Apr 2008 20:53:49 +0000 (14:53 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 7 Apr 2008 20:53:49 +0000 (14:53 -0600)
commit0dd596fbc7f88b88467529a7f176aca70d70f731
treedf063e03f96e0315974c0f1707a677b7cf8dea9d
parent29b65a709cae779debc4bcdbfaa66cfe72f7074f
gallium: accum buffer fixes

If the driver can't create a PIPE_FORMAT_R16G16B16A16_SNORM surface, create
an accum surface using a shallower format and taller height.  Since only the
accum buffer code accesses the surface the actual format doesn't really
matter, just that there's enough memory.
src/mesa/state_tracker/st_cb_accum.c
src/mesa/state_tracker/st_cb_fbo.c
src/mesa/state_tracker/st_cb_fbo.h
src/mesa/state_tracker/st_framebuffer.c