diff options
author | Marek Olšák <[email protected]> | 2015-08-30 14:13:10 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-09-01 21:51:15 +0200 |
commit | a9971e85d9a4038645bdc7496d73906fc324b805 (patch) | |
tree | f2258bd2f71b042892c97f659c4066ded6fde143 /src/gallium/drivers/radeonsi/si_pm4.h | |
parent | 5e2619ef3078fe4f9c3e0780ee520fbfb727ee54 (diff) |
radeonsi: rework uploading border colors
The border colors are uploaded only once when the state is created.
This brings truly immutable sampler descriptors, because they don't have
to be updated every time a sampler state is re-bound.
It also moves the TA_BC_BASE_ADDR registers to init_config, removing one
more state. The catch is there is now a limit: only 4096 border colors can
be used by one context. I don't think that will be a problem.
Reviewed-by: Alex Deucher <[email protected]>
Acked-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pm4.h')
0 files changed, 0 insertions, 0 deletions