diff options
author | Marek Olšák <[email protected]> | 2018-04-30 22:29:14 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-05-10 18:34:31 -0400 |
commit | 912b0163dc5d6929d8a9ae4c6d475807e764832a (patch) | |
tree | 115fb6be4b3eaa68306e94a442d4bcc6baeb3f17 /src/gallium/drivers/radeonsi/si_texture.c | |
parent | ee31762ef56a5af6caf9c056e2b7d88ae6d7664d (diff) |
ac/surface: add EQAA support
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_texture.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_texture.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_texture.c b/src/gallium/drivers/radeonsi/si_texture.c index 81a70153f32..1e328b90b62 100644 --- a/src/gallium/drivers/radeonsi/si_texture.c +++ b/src/gallium/drivers/radeonsi/si_texture.c @@ -301,8 +301,8 @@ static int si_init_surface(struct si_screen *sscreen, if (!(ptex->flags & SI_RESOURCE_FLAG_FORCE_TILING)) flags |= RADEON_SURF_OPTIMIZE_FOR_SPACE; - r = sscreen->ws->surface_init(sscreen->ws, ptex, flags, bpe, - array_mode, surface); + r = sscreen->ws->surface_init(sscreen->ws, ptex, ptex->nr_samples, + flags, bpe, array_mode, surface); if (r) { return r; } |