mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
jay: allow cmod on cvt
it's just a MOV saves an instruction on dEQP-GLES31.functional.compute.basic.image_atomic_op_local_size_8 Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40960>
This commit is contained in:
parent
9df62df55e
commit
1b029f3279
1 changed files with 2 additions and 1 deletions
|
|
@ -84,7 +84,8 @@ op('cmp', 2, 'u32', Props.NEGATE | Props.CMOD)
|
|||
# With an 8/16-bit type, `index` specifies the element index of the source
|
||||
# within the 32-bit word. For example, if src_type == U16 and index == 1, this
|
||||
# converts the upper 16-bits of the input.
|
||||
op('cvt', 1, 'u8 s8 u16 s16 u32 s32 u64 s64 f32 f64 f16 bf16', Props.NEGATE | Props.SAT, [
|
||||
op('cvt', 1, 'u8 s8 u16 s16 u32 s32 u64 s64 f32 f64 f16 bf16',
|
||||
Props.NEGATE | Props.SAT | Props.CMOD, [
|
||||
'enum jay_type src_type',
|
||||
'enum jay_rounding_mode rounding_mode',
|
||||
'uint8_t index',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue