mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
i965: Add brw_imm_uv().
This commit is contained in:
parent
ce11d4f369
commit
4b15281295
1 changed files with 9 additions and 0 deletions
|
|
@ -622,6 +622,15 @@ brw_imm_v(unsigned v)
|
|||
return imm;
|
||||
}
|
||||
|
||||
/** Construct vector of eight unsigned half-byte values */
|
||||
static inline struct brw_reg
|
||||
brw_imm_uv(unsigned uv)
|
||||
{
|
||||
struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_UV);
|
||||
imm.ud = uv;
|
||||
return imm;
|
||||
}
|
||||
|
||||
/** Construct vector of four 8-bit float values */
|
||||
static inline struct brw_reg
|
||||
brw_imm_vf(unsigned v)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue