diff options
author | Tom Stellard <[email protected]> | 2014-06-17 08:52:34 -0700 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2014-07-02 15:31:52 -0400 |
commit | fea996c2aaf47707bd3f89ef493ae5760b4fe608 (patch) | |
tree | d14b8b72cf97d52918b57cfdc1fc5aaf05653c72 /src/gallium/drivers/r600 | |
parent | 2ab44f657e3c8800aa610d39a04e88d6bf3bad01 (diff) |
gallium: Add PIPE_SHADER_CAP_DOUBLES
This is for reporting whether or not double precision floating-point
operations are supported.
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 647d055a7cb..9fc4c98808e 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -447,6 +447,8 @@ static int r600_get_shader_param(struct pipe_screen* pscreen, unsigned shader, e } else { return PIPE_SHADER_IR_TGSI; } + case PIPE_SHADER_CAP_DOUBLES: + return 0; } return 0; } |