summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2018-02-26 10:49:36 +0100
committerThierry Reding <treding@nvidia.com>2019-08-23 18:07:25 +0200
commitd2d6715843bb35a2434c80e38054ef8163a76f28 (patch)
tree2588e1f0ecb72145651032af25af6328e8c9fe3a
parentfb7749896747308dea6c21315d7f252c9e6fa3d9 (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 02a668161ab4..fa03b3e950d3 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 */