intel/fs: Add SHADER_OPCODE_[IU]SUB_SAT pseudo-ops
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 19 Sep 2018 08:28:06 +0000 (01:28 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Jan 2020 00:18:57 +0000 (00:18 +0000)
commit58907568ec526df87fa87177441743fa0d1d0a66
treea94ac42e75698a0b50bfc5d353184220d90753b1
parent74cd0964d684d7b91207b442eb3237fee1e4b4e0
intel/fs: Add SHADER_OPCODE_[IU]SUB_SAT pseudo-ops

v2: Add a big comment explaining the [IU]SUB_SAT lowering.  Suggested by
Caio.

v3: Use get_fpu_lowered_simd_width in get_lowered_simd_width.  Suggested
by Ken on IRC.

v4: Fix a typo in a comment.  Noticed by Caio.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/767>
src/intel/compiler/brw_eu_defines.h
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_fs.h