mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 19:30:11 +01:00
etnaviv: expose real map buffer alignment
As we do not suballocate any buffers, the real map buffer alignment is determined by the GEM BO map alignment, which is at least 4KB. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17343>
This commit is contained in:
parent
b50aa918f4
commit
07369bf44d
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ etna_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||
case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT:
|
||||
return 256;
|
||||
case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT:
|
||||
return 4; /* XXX could easily be supported */
|
||||
return 4096;
|
||||
|
||||
case PIPE_CAP_NPOT_TEXTURES:
|
||||
return true; /* VIV_FEATURE(priv->dev, chipMinorFeatures1,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue