r600/sfn: Disable FP64 for pre-CEDAR

There is no point in trying to get the softfp to work here,
since these cards don't support tesselation shaders, they will
never get OpenGL 4.0.

v2: Fix formatting (Filip)

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Filip Gawin <filip@gawin.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17822>
This commit is contained in:
Gert Wollny 2022-08-01 09:24:18 +02:00 committed by Marge Bot
parent 13b1069a87
commit 14ab267c76

View file

@ -414,8 +414,9 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
rscreen->b.family == CHIP_CYPRESS ||
rscreen->b.family == CHIP_HEMLOCK)
return 1;
if (is_nir_enabled(&rscreen->b))
return 1;
if (is_nir_enabled(&rscreen->b) &&
rscreen->b.family >= CHIP_CEDAR)
return 1;
return 0;
case PIPE_CAP_TWO_SIDED_COLOR: