diff options
author | Michel Dänzer <[email protected]> | 2014-06-13 12:23:33 +0900 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2014-06-16 15:56:29 +0900 |
commit | d6fd8a97711eb065603a8d667ff5dbe68a246439 (patch) | |
tree | 848e171915ba1478c33d4aa47b1c4d2ffa63f9ca /src/gallium/drivers/radeon | |
parent | 5cb8fdb397333fc13b6c5d6992c5a8cde4e050dd (diff) |
r600g/radeonsi: Remove default case from PIPE_COMPUTE_CAP_* switch
This way, the compiler warns about unhandled caps.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r-- | src/gallium/drivers/radeon/r600_pipe_common.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c b/src/gallium/drivers/radeon/r600_pipe_common.c index 1911cdef3de..46e8a7913fd 100644 --- a/src/gallium/drivers/radeon/r600_pipe_common.c +++ b/src/gallium/drivers/radeon/r600_pipe_common.c @@ -526,11 +526,10 @@ static int r600_get_compute_param(struct pipe_screen *screen, *max_compute_units = MAX2(rscreen->info.max_compute_units, 1); } return sizeof(uint32_t); - - default: - fprintf(stderr, "unknown PIPE_COMPUTE_CAP %d\n", param); - return 0; } + + fprintf(stderr, "unknown PIPE_COMPUTE_CAP %d\n", param); + return 0; } static uint64_t r600_get_timestamp(struct pipe_screen *screen) |