panfrost: Implement sRGB texturing
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user