mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
i965: Handle 16x MSAA in IMS dimension munging code.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Neil Roberts <neil@linux.intel.com> Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
parent
b9f8e729c8
commit
5048da974e
1 changed files with 6 additions and 2 deletions
|
|
@ -416,9 +416,13 @@ intel_miptree_create_layout(struct brw_context *brw,
|
|||
width0 = ALIGN(width0, 2) * 4;
|
||||
height0 = ALIGN(height0, 2) * 2;
|
||||
break;
|
||||
case 16:
|
||||
width0 = ALIGN(width0, 2) * 4;
|
||||
height0 = ALIGN(height0, 2) * 4;
|
||||
break;
|
||||
default:
|
||||
/* num_samples should already have been quantized to 0, 1, 2, 4, or
|
||||
* 8.
|
||||
/* num_samples should already have been quantized to 0, 1, 2, 4, 8
|
||||
* or 16.
|
||||
*/
|
||||
unreachable("not reached");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue