summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_screen.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2016-12-07 17:15:43 -0500
committerRob Clark <[email protected]>2016-12-18 13:47:18 -0500
commitc768461c1f22c412255ab7f1ef2e335015ff8500 (patch)
tree7fe1368448222e6068619fd787db67f89c211fd9 /src/gallium/drivers/freedreno/freedreno_screen.h
parentabcf8f5b58736c21d350e1b6ac2cfc69ed1fed6f (diff)
freedreno/a5xx: fixup caps
Might not be 100% accurate, mostly just copy from a4xx to get started. We are defn lying about occlusion query at this point (not implemented yet) but need it to expose anything higher than gl1.4 (glamor needs gl2.1) Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_screen.h')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_screen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.h b/src/gallium/drivers/freedreno/freedreno_screen.h
index 8319539e9a9..087b07e0b09 100644
--- a/src/gallium/drivers/freedreno/freedreno_screen.h
+++ b/src/gallium/drivers/freedreno/freedreno_screen.h
@@ -124,7 +124,7 @@ is_a5xx(struct fd_screen *screen)
static inline boolean
is_ir3(struct fd_screen *screen)
{
- return is_a3xx(screen) || is_a4xx(screen);
+ return is_a3xx(screen) || is_a4xx(screen) || is_a5xx(screen);
}
#endif /* FREEDRENO_SCREEN_H_ */