projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1acc101
)
a5xx: fix integer texture border colors
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Sat, 8 Jul 2017 12:32:32 +0000
(08:32 -0400)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Sun, 9 Jul 2017 01:14:58 +0000
(21:14 -0400)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/freedreno/a5xx/fd5_emit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/a5xx/fd5_emit.c
b/src/gallium/drivers/freedreno/a5xx/fd5_emit.c
index 2939aaca86820e4e5f4e682f99042ebab2a11da0..a018bb699607210077a73f64e16cf53ddd9d7d8a 100644
(file)
--- a/
src/gallium/drivers/freedreno/a5xx/fd5_emit.c
+++ b/
src/gallium/drivers/freedreno/a5xx/fd5_emit.c
@@
-212,10
+212,8
@@
setup_border_colors(struct fd_texture_stateobj *tex, struct bcolor_entry *entrie
continue;
if (desc->channel[c].pure_integer) {
- float f = bc->i[c];
-
- e->fp32[j] = fui(f);
- e->fp16[j] = util_float_to_half(f);
+ e->fp32[j] = bc->ui[c];
+ e->fp16[j] = bc->ui[c];
e->ui16[j] = bc->ui[c];
e->si16[j] = bc->i[c];
e->ui8[j] = bc->ui[c];