From d269fb33b0a88045c42ff0733304ddc1e0d8f6c5 Mon Sep 17 00:00:00 2001 From: "Kristian H. Kristensen" Date: Wed, 25 Mar 2020 10:06:32 -0700 Subject: [PATCH] radeonsi: Stop exposing PIPE_SHADER_CAP_FP16 Not fully supported. Tested-by: Marge Bot Part-of: --- src/gallium/drivers/radeonsi/si_get.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c index d3fa08f91f2..f0a00b17e7e 100644 --- a/src/gallium/drivers/radeonsi/si_get.c +++ b/src/gallium/drivers/radeonsi/si_get.c @@ -432,7 +432,6 @@ static int si_get_shader_param(struct pipe_screen* pscreen, case PIPE_SHADER_CAP_INDIRECT_CONST_ADDR: case PIPE_SHADER_CAP_INTEGERS: case PIPE_SHADER_CAP_INT64_ATOMICS: - case PIPE_SHADER_CAP_FP16: case PIPE_SHADER_CAP_TGSI_FMA_SUPPORTED: case PIPE_SHADER_CAP_TGSI_ANY_INOUT_DECL_RANGE: case PIPE_SHADER_CAP_TGSI_SKIP_MERGE_REGISTERS: @@ -463,6 +462,7 @@ static int si_get_shader_param(struct pipe_screen* pscreen, shader == PIPE_SHADER_TESS_CTRL; /* Unsupported boolean features. */ + case PIPE_SHADER_CAP_FP16: case PIPE_SHADER_CAP_SUBROUTINES: case PIPE_SHADER_CAP_SUPPORTED_IRS: case PIPE_SHADER_CAP_MAX_HW_ATOMIC_COUNTERS: -- 2.30.2