diff options
author | Eric Anholt <eric@anholt.net> | 2010-05-25 11:45:05 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-06-10 00:40:00 -0700 |
commit | 638342858894293246400d95a90d153c7f66719a (patch) | |
tree | 63ae5ef53ba48a4a9202726df65a433cb0a90fa9 /src/mesa/drivers/dri/i965 | |
parent | 262cdbd957b68878adf1fb3edcf478604ed9f171 (diff) |
i965: Add support for GL_ALPHA framebuffer objects.
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c index a9ad2ce371..3998054eb4 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c +++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c @@ -515,6 +515,9 @@ brw_update_renderbuffer_surface(struct brw_context *brw, case MESA_FORMAT_ARGB4444: key.surface_format = BRW_SURFACEFORMAT_B4G4R4A4_UNORM; break; + case MESA_FORMAT_A8: + key.surface_format = BRW_SURFACEFORMAT_A8_UNORM; + break; default: _mesa_problem(ctx, "Bad renderbuffer format: %d\n", irb->Base.Format); } |