From 7b2c5547c31360c798db00ef4aa2d2f852363bca Mon Sep 17 00:00:00 2001 From: Jan Vesely Date: Fri, 1 Sep 2017 17:47:55 -0400 Subject: gallium: Add PIPE_SHADER_CAP_FP16 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Denotes native half precision float operations capability v2: PIPE_CAP_HALFS -> PIPE_SHADER_CAP_FP16 fix indentation Signed-off-by: Jan Vesely Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/nouveau/nv50/nv50_screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/nouveau/nv50') diff --git a/src/gallium/drivers/nouveau/nv50/nv50_screen.c b/src/gallium/drivers/nouveau/nv50/nv50_screen.c index fd100c60e8e..60b60373960 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_screen.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_screen.c @@ -345,6 +345,7 @@ nv50_screen_get_shader_param(struct pipe_screen *pscreen, return 1; case PIPE_SHADER_CAP_TGSI_SQRT_SUPPORTED: return 1; + case PIPE_SHADER_CAP_FP16: case PIPE_SHADER_CAP_SUBROUTINES: return 0; /* please inline, or provide function declarations */ case PIPE_SHADER_CAP_INTEGERS: -- cgit v1.2.3