mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
iris: Advertise EXT_texture_sRGB_R8 support
Using the luminance format, like both brw and anv do.
This commit is contained in:
parent
59aa7c924d
commit
2812ef2a26
1 changed files with 1 additions and 0 deletions
|
|
@ -212,6 +212,7 @@ iris_isl_format_for_pipe_format(enum pipe_format pf)
|
|||
[PIPE_FORMAT_L32A32_FLOAT] = ISL_FORMAT_R32G32_FLOAT,
|
||||
|
||||
/* Sadly, we have to use luminance[-alpha] formats for sRGB decoding. */
|
||||
[PIPE_FORMAT_R8_SRGB] = ISL_FORMAT_L8_UNORM_SRGB,
|
||||
[PIPE_FORMAT_L8_SRGB] = ISL_FORMAT_L8_UNORM_SRGB,
|
||||
[PIPE_FORMAT_L8A8_SRGB] = ISL_FORMAT_L8A8_UNORM_SRGB,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue