|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int |
|
|
static int |
|
|
match_or_expand_immediate64( const unsigned *v, |
|
|
match_or_expand_immediate64( const unsigned *v, |
|
|
int type, |
|
|
|
|
|
unsigned nr, |
|
|
unsigned nr, |
|
|
unsigned *v2, |
|
|
unsigned *v2, |
|
|
unsigned *pnr2, |
|
|
unsigned *pnr2, |
|
|
|
|
|
|
|
|
if (type == TGSI_IMM_FLOAT64 || |
|
|
if (type == TGSI_IMM_FLOAT64 || |
|
|
type == TGSI_IMM_UINT64 || |
|
|
type == TGSI_IMM_UINT64 || |
|
|
type == TGSI_IMM_INT64) |
|
|
type == TGSI_IMM_INT64) |
|
|
return match_or_expand_immediate64(v, type, nr, v2, pnr2, swizzle); |
|
|
|
|
|
|
|
|
return match_or_expand_immediate64(v, nr, v2, pnr2, swizzle); |
|
|
|
|
|
|
|
|
*swizzle = 0; |
|
|
*swizzle = 0; |
|
|
|
|
|
|