projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d9c3cb
)
st/mesa: don't do srgb->linear conversion in decompress_with_blit
author
Marek Olšák
<maraeo@gmail.com>
Fri, 15 Jun 2012 03:13:02 +0000
(
05:13
+0200)
committer
Marek Olšák
<maraeo@gmail.com>
Fri, 15 Jun 2012 16:54:14 +0000
(18:54 +0200)
This fixes piglit/getteximage-formats on r600g.
NOTE: This is a candidate for stable branches.
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_cb_texture.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_texture.c
b/src/mesa/state_tracker/st_cb_texture.c
index 9d1b7f672f5dc6917844119563986db0600097b6..67c3f9590123d9d943d197f577c70839e105ba0e 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_texture.c
+++ b/
src/mesa/state_tracker/st_cb_texture.c
@@
-600,6
+600,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;