summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2018-02-26 10:49:36 +0100
committerThierry Reding <treding@nvidia.com>2018-04-04 16:24:16 +0200
commitc755e7be689e89ecfe72ec1965098820247b51c7 (patch)
treef9065f52d55d09f86e7246193e5231bf0cec69fc
parent77d41722cf1f21577a7f19218d7dec4e8770cc2c (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 adc50598354..9199d3501a0 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
@@ -80,7 +80,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 */