freedreno/a6xx: fix ssbo alignment

Fixes a bunch of deqp ssbo tests that use multiple ssbo blocks packed
into a single buffer.

Note the a5xx value seems suspicious, but this is what blob seems to
advertise.

Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
Rob Clark 2019-02-25 10:15:29 -05:00
parent cb884d8ab2
commit edd5b3126d
1 changed files with 2 additions and 1 deletions

View File

@ -279,7 +279,8 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
return is_ir3(screen) ? 140 : 120;
case PIPE_CAP_SHADER_BUFFER_OFFSET_ALIGNMENT:
if (is_a5xx(screen) || is_a6xx(screen))
if (is_a6xx(screen)) return 64;
if (is_a5xx(screen)) return 4;
return 4;
return 0;