From 1af8fe4ed5225efa53a3ee0b105961aa29cdae3e Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sun, 10 May 2020 17:05:00 -0400 Subject: gallium: add shader caps INT16 and FP16_DERIVATIVES Reviewed-by: Rob Clark Part-of: --- src/gallium/drivers/panfrost/pan_screen.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers/panfrost') diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index 96d5b0d2c19..01a5355b87d 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -345,6 +345,8 @@ panfrost_get_shader_param(struct pipe_screen *screen, case PIPE_SHADER_CAP_FP16: return !(dev->quirks & MIDGARD_BROKEN_FP16) || is_fp16; + case PIPE_SHADER_CAP_FP16_DERIVATIVES: + case PIPE_SHADER_CAP_INT16: case PIPE_SHADER_CAP_INT64_ATOMICS: case PIPE_SHADER_CAP_TGSI_DROUND_SUPPORTED: case PIPE_SHADER_CAP_TGSI_DFRACEXP_DLDEXP_SUPPORTED: -- cgit v1.2.3