summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_screen.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2016-07-29 14:58:39 -0400
committerRob Clark <[email protected]>2016-07-29 14:58:39 -0400
commit591eeb7d1c98d85142453d6ba2b8128c9a5a554e (patch)
treeaa3a843b8f8df8393f4b8870a126f1c929ad4a0b /src/gallium/drivers/freedreno/freedreno_screen.c
parent427771d1c71bfc43553d5e4b8a0683951b0b8d7a (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.c2
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: