mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 12:50:10 +01:00
vtn/opencl: native divide support
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-By: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4811>
This commit is contained in:
parent
bce8a86b65
commit
594c49be08
1 changed files with 2 additions and 0 deletions
|
|
@ -85,6 +85,7 @@ nir_alu_op_for_opencl_opcode(struct vtn_builder *b,
|
|||
case OpenCLstd_Fmod: return nir_op_fmod;
|
||||
case OpenCLstd_Mix: return nir_op_flrp;
|
||||
case OpenCLstd_Native_cos: return nir_op_fcos;
|
||||
case OpenCLstd_Native_divide: return nir_op_fdiv;
|
||||
case OpenCLstd_Native_exp2: return nir_op_fexp2;
|
||||
case OpenCLstd_Native_log2: return nir_op_flog2;
|
||||
case OpenCLstd_Native_sin: return nir_op_fsin;
|
||||
|
|
@ -355,6 +356,7 @@ vtn_handle_opencl_instruction(struct vtn_builder *b, SpvOp ext_opcode,
|
|||
case OpenCLstd_UMin:
|
||||
case OpenCLstd_Mix:
|
||||
case OpenCLstd_Native_cos:
|
||||
case OpenCLstd_Native_divide:
|
||||
case OpenCLstd_Native_exp2:
|
||||
case OpenCLstd_Native_log2:
|
||||
case OpenCLstd_Native_sin:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue