mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
r300g: re-enable SRGB formats
Ouch.
This commit is contained in:
parent
7da9da190f
commit
2a30c268bd
1 changed files with 2 additions and 1 deletions
|
|
@ -208,7 +208,8 @@ static INLINE uint32_t r300_translate_texformat(enum pipe_format format)
|
|||
switch (desc->channel[0].type) {
|
||||
case UTIL_FORMAT_TYPE_UNSIGNED:
|
||||
case UTIL_FORMAT_TYPE_SIGNED:
|
||||
if (!desc->channel[0].normalized) {
|
||||
if (!desc->channel[0].normalized &&
|
||||
desc->colorspace != UTIL_FORMAT_COLORSPACE_SRGB) {
|
||||
return ~0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue