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:
parent
cb884d8ab2
commit
edd5b3126d
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue