mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
i965: Allow 8x MSAA on >= 64bpp formats on Gen8+.
See commit 3b0279a69 - this restriction is documented in the "Surface
Format" field of RENDER_SURFACE_STATE.
Looking at newer documentation, this restriction appears to exist on
Haswell, but no longer applies on Gen8+.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
parent
1eeec7ec41
commit
3aa51e02d6
1 changed files with 2 additions and 1 deletions
|
|
@ -806,7 +806,8 @@ brw_render_target_supported(struct brw_context *brw,
|
|||
/* Under some conditions, MSAA is not supported for formats whose width is
|
||||
* more than 64 bits.
|
||||
*/
|
||||
if (rb->NumSamples > 0 && _mesa_get_format_bytes(format) > 8) {
|
||||
if (brw->gen < 8 &&
|
||||
rb->NumSamples > 0 && _mesa_get_format_bytes(format) > 8) {
|
||||
/* Gen6: MSAA on >64 bit formats is unsupported. */
|
||||
if (brw->gen <= 6)
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue