summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_screen.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2014-12-21 11:52:44 -0500
committerRob Clark <[email protected]>2015-02-24 14:23:38 -0500
commitdaccbd27ce2f838e855ade1216445c8dba7731f3 (patch)
tree3412742e0639572ee831a9bcd128cdec70eeab65 /src/gallium/drivers/freedreno/freedreno_screen.c
parente13398714c29903577601df7cfb4cacfc35e73eb (diff)
freedreno/a4xx: add ARB_instanced_arrays support
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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c
index 97bab9dd242..29734585c0a 100644
--- a/src/gallium/drivers/freedreno/freedreno_screen.c
+++ b/src/gallium/drivers/freedreno/freedreno_screen.c
@@ -170,10 +170,8 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_SM3:
case PIPE_CAP_PRIMITIVE_RESTART:
case PIPE_CAP_TGSI_INSTANCEID:
- return is_a3xx(screen) || is_a4xx(screen);
-
case PIPE_CAP_VERTEX_ELEMENT_INSTANCE_DIVISOR:
- return is_a3xx(screen) && glsl130;
+ return is_a3xx(screen) || is_a4xx(screen);
case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT:
return 256;