radeonsi: Stop exposing PIPE_SHADER_CAP_FP16
authorKristian H. Kristensen <hoegsberg@google.com>
Wed, 25 Mar 2020 17:06:32 +0000 (10:06 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 25 Mar 2020 22:43:41 +0000 (22:43 +0000)
Not fully supported.

Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4321>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4321>

src/gallium/drivers/radeonsi/si_get.c

index d3fa08f91f2e4e24981eb6e42ead388bd19f862d..f0a00b17e7efc1c35f53b79f99d0ebce8a35cd30 100644 (file)
@@ -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: