projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7d239c
)
swrast/rgtc: fix rendering issues introduced when fix constants
author
Dave Airlie
<airlied@redhat.com>
Tue, 1 Mar 2011 23:41:38 +0000
(09:41 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 1 Mar 2011 23:41:38 +0000
(09:41 +1000)
The max value was wrong and this showed up in the piglit tests.
src/mesa/main/texcompress_rgtc.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texcompress_rgtc.c
b/src/mesa/main/texcompress_rgtc.c
index 2f3a0f214ad56a2ac4a850cb85b48cf96e2777c6..f6a1825216d34ae302f89a96e6040e1574207790 100644
(file)
--- a/
src/mesa/main/texcompress_rgtc.c
+++ b/
src/mesa/main/texcompress_rgtc.c
@@
-443,7
+443,7
@@
_mesa_fetch_texel_2d_f_signed_rg_rgtc2(const struct gl_texture_image *texImage,
#define TAG(x) signed_##x
#define TYPE GLbyte
#define T_MIN (GLbyte)-127
-#define T_MAX (GLbyte)12
7
+#define T_MAX (GLbyte)12
8
#include "texcompress_rgtc_tmp.h"