diff options
author | Marek Olšák <[email protected]> | 2017-10-05 01:24:52 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-10-07 18:26:35 +0200 |
commit | f1eb9a9c273e1da89994dce97a6f8d81c3eb2940 (patch) | |
tree | 01c461d4707296af693d88fdd72a2f919463640b /src/gallium/drivers/radeon/r600_pipe_common.h | |
parent | c4ed39f85b1ebd062eaa51880fcc79cfbcb4e5c3 (diff) |
gallium/radeon: remove old r600g code checking chip_class and family
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/r600_pipe_common.h')
-rw-r--r-- | src/gallium/drivers/radeon/r600_pipe_common.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.h b/src/gallium/drivers/radeon/r600_pipe_common.h index 597ff0280e0..074b321de16 100644 --- a/src/gallium/drivers/radeon/r600_pipe_common.h +++ b/src/gallium/drivers/radeon/r600_pipe_common.h @@ -927,26 +927,6 @@ static inline unsigned r600_tex_aniso_filter(unsigned filter) return 4; } -static inline unsigned r600_wavefront_size(enum radeon_family family) -{ - switch (family) { - case CHIP_RV610: - case CHIP_RS780: - case CHIP_RV620: - case CHIP_RS880: - return 16; - case CHIP_RV630: - case CHIP_RV635: - case CHIP_RV730: - case CHIP_RV710: - case CHIP_PALM: - case CHIP_CEDAR: - return 32; - default: - return 64; - } -} - static inline enum radeon_bo_priority r600_get_sampler_view_priority(struct r600_resource *res) { |