diff options
author | Marek Olšák <[email protected]> | 2016-10-02 22:01:38 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-10-04 16:12:16 +0200 |
commit | 71a5cf6f3b8c6baee8ec71f1a2bef3b2efa5b91a (patch) | |
tree | 219371e779730622f9143c03686ef1f263567cf3 /src/gallium/drivers/radeonsi/si_pipe.c | |
parent | b2a694f079d6fc7c313c4e5882ea4154b307f984 (diff) |
radeonsi: don't declare LDS in PS when ds_bpermute is used
I guess this is not needed because dead code elimination removes
the declaration.
Reviewed-by: Nicolai Hähnle <[email protected]>
Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index 43d63772add..2aa679c61b5 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -817,6 +817,9 @@ struct pipe_screen *radeonsi_screen_create(struct radeon_winsys *ws) sscreen->b.info.pfp_fw_version >= 121 && sscreen->b.info.me_fw_version >= 87); + sscreen->has_ds_bpermute = HAVE_LLVM >= 0x0309 && + sscreen->b.chip_class >= VI; + sscreen->b.has_cp_dma = true; sscreen->b.has_streamout = true; pipe_mutex_init(sscreen->shader_parts_mutex); |