turnip: Give D32_SFLOAT_S8_UINT a native format.

We won't actually use the native format here, as when sampling our image
we we just see the format for either the D or S aspect.  This syncs us up
with freedreno's table, though.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13046>
This commit is contained in:
Emma Anholt 2021-09-27 11:04:22 -07:00 committed by Marge Bot
parent 70ecd3a119
commit bfe36ad3f1

View file

@ -226,7 +226,7 @@ static const struct tu_native_format tu6_format_table[] = {
TU6_xTC(S8_UINT, 8_UINT, WZYX), /* 127 */
TU6_xxx(D16_UNORM_S8_UINT, X8Z16_UNORM, WZYX), /* 128 */
TU6_xTC(D24_UNORM_S8_UINT, 8_8_8_8_UNORM, WZYX), /* 129 */
TU6_xTC(D32_SFLOAT_S8_UINT, NONE, WZYX), /* 130 */
TU6_xTC(D32_SFLOAT_S8_UINT, 32_FLOAT, WZYX), /* 130 */
/* compressed */
TU6_xTx(BC1_RGB_UNORM_BLOCK, DXT1, WZYX), /* 131 */