diff options
author | Rob Clark <[email protected]> | 2019-02-25 10:15:29 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-02-26 13:19:44 -0500 |
commit | edd5b3126d891fe31c2f445b2d3cd89f368ab818 (patch) | |
tree | b496757a66594bfae0f9e6b7d7405e820e62f2e2 /src/gallium/drivers/freedreno/freedreno_screen.c | |
parent | cb884d8ab210b4793eb55852b4f07642c71a99a5 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_screen.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_screen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index d9918f45c37..5b107b87ba8 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -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; |