diff options
author | Francisco Jerez <[email protected]> | 2012-05-12 19:08:43 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2012-05-12 19:17:18 +0200 |
commit | ec848d2730afcc8a0c81bf74b7bb27936407c305 (patch) | |
tree | 10e860491b0702860922954e14b27b41db7c3b40 /src/gallium | |
parent | 406563931068a63d5207fc9962de1638e0da4b81 (diff) |
r600g: Handle compute caps.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 11f0fde177e..bb2336a37e4 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -432,6 +432,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_FRAGMENT_COLOR_CLAMPED: case PIPE_CAP_VERTEX_COLOR_CLAMPED: case PIPE_CAP_USER_VERTEX_BUFFERS: + case PIPE_CAP_COMPUTE: return 0; /* Stream output. */ @@ -560,6 +561,8 @@ static int r600_get_shader_param(struct pipe_screen* pscreen, unsigned shader, e return rscreen->glsl_feature_level >= 130; case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS: return 16; + case PIPE_SHADER_CAP_PREFERRED_IR: + return PIPE_SHADER_IR_TGSI; } return 0; } |