mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 07:58:07 +02:00
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:
parent
a65da48b6c
commit
32f40b2e81
2 changed files with 6 additions and 6 deletions
|
|
@ -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];
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue