diff options
author | Ian Romanick <[email protected]> | 2009-11-16 15:09:24 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2009-11-16 15:23:17 -0800 |
commit | fdfbae3381553fc93202560abe3b41b4d543f0bf (patch) | |
tree | a510b2b77df9048201fe8286199bae9ef8190bee /src/mesa/drivers/dri/i965 | |
parent | b1616b2a811b9a161d1ee2a8251e0efe32a8c192 (diff) |
i965: Use MESA_FORMAT_AL1616 when appropriate
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 e2f0a383e75..47035cc6fc1 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c +++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c @@ -86,6 +86,9 @@ static GLuint translate_tex_format( gl_format mesa_format, case MESA_FORMAT_AL88: return BRW_SURFACEFORMAT_L8A8_UNORM; + case MESA_FORMAT_AL1616: + return BRW_SURFACEFORMAT_L16A16_UNORM; + case MESA_FORMAT_RGB888: assert(0); /* not supported for sampling */ return BRW_SURFACEFORMAT_R8G8B8_UNORM; |