[Mesa-dev] [PATCH 0/3] radeonsi: depth texture clamping and border color fixes

Nicolai Hähnle nhaehnle at gmail.com
Tue Sep 26 14:46:07 UTC 2017


Hi all,

radeonsi can transparently upgrade unorm depth textures to float,
which means that some of the depth value clamping that is usually
performed in hardware must be done manually.

Also, setting the border color for integer textures properly
requires doing it slightly differently. This is something that
I only noticed upon inspection.

Please review!

Thanks,
Nicolai
--
 src/amd/common/sid.h                         |   2 +
 .../drivers/radeon/r600_pipe_common.h        |   1 +
 src/gallium/drivers/radeon/r600_texture.c    |   5 +-
 .../drivers/radeonsi/si_descriptors.c        |  40 ++++-
 src/gallium/drivers/radeonsi/si_pipe.h       |   3 +
 .../drivers/radeonsi/si_shader_tgsi_mem.c    |  25 ++-
 src/gallium/drivers/radeonsi/si_state.c      | 143 ++++++++++-------
 7 files changed, 146 insertions(+), 73 deletions(-)



More information about the mesa-dev mailing list