mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
st/mesa: don't do srgb->linear conversion in decompress_with_blit
This fixes piglit/getteximage-formats on r600g.
NOTE: This is a candidate for stable branches.
Reviewed-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit 5e7e7d96b3)
This commit is contained in:
parent
0d38468098
commit
827c99e1a0
1 changed files with 1 additions and 0 deletions
|
|
@ -639,6 +639,7 @@ decompress_with_blit(struct gl_context * ctx,
|
|||
|
||||
u_sampler_view_default_template(&sv_temp, stObj->pt, stObj->pt->format);
|
||||
|
||||
sv_temp.format = util_format_linear(sv_temp.format);
|
||||
sv_temp.u.tex.first_level =
|
||||
sv_temp.u.tex.last_level = texImage->Level;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue