mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
fix f/u mix-up in micro_trunc()
This commit is contained in:
parent
1a18ebc6b3
commit
df235f33a6
1 changed files with 4 additions and 4 deletions
|
|
@ -809,10 +809,10 @@ micro_trunc(
|
|||
union tgsi_exec_channel *dst,
|
||||
const union tgsi_exec_channel *src0 )
|
||||
{
|
||||
dst->f[0] = (float) (int) src0->u[0];
|
||||
dst->f[1] = (float) (int) src0->u[1];
|
||||
dst->f[2] = (float) (int) src0->u[2];
|
||||
dst->f[3] = (float) (int) src0->u[3];
|
||||
dst->f[0] = (float) (int) src0->f[0];
|
||||
dst->f[1] = (float) (int) src0->f[1];
|
||||
dst->f[2] = (float) (int) src0->f[2];
|
||||
dst->f[3] = (float) (int) src0->f[3];
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue