mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 03:18:08 +02:00
iris: Map FXT1 texture formats
This exposes GL_TDFX_texture_compression_FXT1 support. It's ancient, only Intel GPUs appear to support it, and I seriously doubt anybody uses it. But i965 supports it, and it's trivial to do, so we may as well support it in the new iris driver as well. Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
1bdd342b60
commit
1d416ffd09
1 changed files with 2 additions and 0 deletions
|
|
@ -283,6 +283,8 @@ iris_isl_format_for_pipe_format(enum pipe_format pf)
|
|||
[PIPE_FORMAT_ETC2_RG11_UNORM] = ISL_FORMAT_EAC_RG11,
|
||||
[PIPE_FORMAT_ETC2_RG11_SNORM] = ISL_FORMAT_EAC_SIGNED_RG11,
|
||||
|
||||
[PIPE_FORMAT_FXT1_RGB] = ISL_FORMAT_FXT1,
|
||||
[PIPE_FORMAT_FXT1_RGBA] = ISL_FORMAT_FXT1,
|
||||
|
||||
[PIPE_FORMAT_ASTC_4x4] = ISL_FORMAT_ASTC_LDR_2D_4X4_FLT16,
|
||||
[PIPE_FORMAT_ASTC_5x4] = ISL_FORMAT_ASTC_LDR_2D_5X4_FLT16,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue