diff options
author | Rob Clark <[email protected]> | 2016-07-29 14:58:39 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-07-29 14:58:39 -0400 |
commit | 591eeb7d1c98d85142453d6ba2b8128c9a5a554e (patch) | |
tree | aa3a843b8f8df8393f4b8870a126f1c929ad4a0b /src/gallium/drivers/freedreno/freedreno_screen.c | |
parent | 427771d1c71bfc43553d5e4b8a0683951b0b8d7a (diff) |
freedreno: limit non-user constant buffers to a4xx
Seems to mostly work on a3xx. Except when it doesn't and kills gpu
quite badly.
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index 568e6e28401..222f2881f01 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -172,7 +172,7 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return 1; case PIPE_CAP_USER_CONSTANT_BUFFERS: - return is_ir3(screen) ? 0 : 1; + return is_a4xx(screen) ? 0 : 1; case PIPE_CAP_SHADER_STENCIL_EXPORT: case PIPE_CAP_TGSI_TEXCOORD: |