freedreno: limit non-user constant buffers to a4xx
authorRob Clark <robdclark@gmail.com>
Fri, 29 Jul 2016 18:58:39 +0000 (14:58 -0400)
committerRob Clark <robdclark@gmail.com>
Fri, 29 Jul 2016 18:58:39 +0000 (14:58 -0400)
Seems to mostly work on a3xx.  Except when it doesn't and kills gpu
quite badly.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_screen.c

index 568e6e2840171033b4d6201d4bb6bead4115fb5e..222f2881f0180ab791291eb591ce6c6eaf4fe85c 100644 (file)
@@ -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: