diff options
author | Marek Olšák <[email protected]> | 2012-10-11 21:35:45 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-10-11 21:36:26 +0200 |
commit | 7b01bc1e4c9675d3b7519c8743cecc09ffb4317a (patch) | |
tree | 634e441b8857062339bab61f5f2cb75ec3f6599c /src/gallium | |
parent | dd9274df4f0bd2e13476686bfdd66fcd3239b322 (diff) |
radeonsi: handle unhandled CAPs
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeonsi/radeonsi_pipe.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.c b/src/gallium/drivers/radeonsi/radeonsi_pipe.c index dcdbe2ae1d8..e069f1f2203 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_pipe.c +++ b/src/gallium/drivers/radeonsi/radeonsi_pipe.c @@ -344,6 +344,8 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION: case PIPE_CAP_USER_VERTEX_BUFFERS: case PIPE_CAP_TEXTURE_MULTISAMPLE: + case PIPE_CAP_COMPUTE: + case PIPE_CAP_QUERY_TIMESTAMP: return 0; /* Stream output. */ @@ -465,6 +467,8 @@ static int r600_get_shader_param(struct pipe_screen* pscreen, unsigned shader, e return 0; case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS: return 16; + case PIPE_SHADER_CAP_PREFERRED_IR: + return PIPE_SHADER_IR_TGSI; } return 0; } |