mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
panfrost: Implement sRGB texturing
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
31a4ef847c
commit
58c34e4a6c
1 changed files with 1 additions and 1 deletions
|
|
@ -2221,7 +2221,7 @@ panfrost_create_sampler_view(
|
|||
.swizzle = panfrost_translate_swizzle_4(desc->swizzle),
|
||||
.format = format,
|
||||
|
||||
.srgb = false,
|
||||
.srgb = desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB,
|
||||
.type = panfrost_translate_texture_type(texture->target),
|
||||
|
||||
.usage2 = usage2_layout
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue