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/r600/r600_pipe.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/r600') diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 2d1ed765e35..2e5008c8d4d 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -570,6 +570,7 @@ static int r600_get_shader_param(struct pipe_screen* pscreen, case PIPE_SHADER_CAP_INDIRECT_CONST_ADDR: return 1; case PIPE_SHADER_CAP_SUBROUTINES: + case PIPE_SHADER_CAP_FP16: return 0; case PIPE_SHADER_CAP_INTEGERS: case PIPE_SHADER_CAP_TGSI_ANY_INOUT_DECL_RANGE: -- cgit v1.2.3