tgsi: use stdint.h types
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24002>
This commit is contained in:

committed by
Marge Bot

parent
a65da48b6c
commit
32f40b2e81
@@ -4467,10 +4467,10 @@ static void
|
||||
micro_f2u(union tgsi_exec_channel *dst,
|
||||
const union tgsi_exec_channel *src)
|
||||
{
|
||||
dst->u[0] = (uint)src->f[0];
|
||||
dst->u[1] = (uint)src->f[1];
|
||||
dst->u[2] = (uint)src->f[2];
|
||||
dst->u[3] = (uint)src->f[3];
|
||||
dst->u[0] = (uint32_t)src->f[0];
|
||||
dst->u[1] = (uint32_t)src->f[1];
|
||||
dst->u[2] = (uint32_t)src->f[2];
|
||||
dst->u[3] = (uint32_t)src->f[3];
|
||||
}
|
||||
|
||||
static void
|
||||
|
@@ -75,8 +75,8 @@ union tgsi_exec_channel
|
||||
{
|
||||
alignas(16)
|
||||
float f[TGSI_QUAD_SIZE];
|
||||
int i[TGSI_QUAD_SIZE];
|
||||
unsigned u[TGSI_QUAD_SIZE];
|
||||
int32_t i[TGSI_QUAD_SIZE];
|
||||
uint32_t u[TGSI_QUAD_SIZE];
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user