mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 06:00:10 +01:00
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:
parent
13b1069a87
commit
14ab267c76
1 changed files with 3 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue