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(-) _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev