mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
a5xx: fix integer texture border colors
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
1acc101b3f
commit
a4eeb0c403
1 changed files with 2 additions and 4 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue