Module: Mesa Branch: master Commit: aaecb65b89f304c187f223efa14e11b5b175a867 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aaecb65b89f304c187f223efa14e11b5b175a867
Author: Boris Brezillon <[email protected]> Date: Mon Nov 16 14:38:22 2020 +0100 panfrost: Don't expose fp16 support on Bifrost unless explicitly requested Signed-off-by: Boris Brezillon <[email protected]> Reviewed-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7636> --- src/gallium/drivers/panfrost/pan_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index 24ba288be13..2abe32a4275 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -344,7 +344,7 @@ panfrost_get_shader_param(struct pipe_screen *screen, case PIPE_SHADER_CAP_FP16: case PIPE_SHADER_CAP_GLSL_16BIT_CONSTS: - return (!is_nofp16 && (!is_bifrost || is_deqp)) || is_fp16; + return (!is_nofp16 && !is_bifrost) || is_fp16; case PIPE_SHADER_CAP_FP16_DERIVATIVES: case PIPE_SHADER_CAP_INT16: _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
