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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user