summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2018-02-26 10:49:36 +0100
committerThierry Reding <treding@nvidia.com>2019-12-04 12:00:10 +0100
commitd17fb6b678ba16db885b4a3e670942aaa24c88f6 (patch)
tree7d0bc836c3a4c7c73bd1fefc5358ea766a167d59
parent7fff211998bc15ee8abb26c8c5dc4baf9dd9762a (diff)
WIP: nouveau: Support ASTC/ETC2 formats on GM200
Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r--src/gallium/drivers/nouveau/nvc0/nvc0_screen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
index d657dbb1e0c..389b7531756 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
@@ -83,7 +83,8 @@ nvc0_screen_is_format_supported(struct pipe_screen *pscreen,
* test further and figure out if it's a nouveau issue or a HW one.
nouveau_screen(pscreen)->class_3d < GM107_3D_CLASS &&
*/
- nouveau_screen(pscreen)->class_3d != NVEA_3D_CLASS)
+ nouveau_screen(pscreen)->class_3d != NVEA_3D_CLASS &&
+ nouveau_screen(pscreen)->class_3d != GM200_3D_CLASS)
return false;
/* shared is always supported */