intel/brw: Define and use BRW_SWIZZLE_* instead of SWIZZLE_*
authorYonggang Luo <luoyonggang@gmail.com>
Wed, 2 Aug 2023 11:36:27 +0000 (19:36 +0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 3 Aug 2023 22:00:15 +0000 (22:00 +0000)
commit9eb8a0b16ac829397bba49818f41c454deb7394b
tree0380f0cabd14444f355cd2f8fd591d039ce8373c
parent846d620632b570e80850d316d8de687cfe3bcaa6
intel/brw: Define and use BRW_SWIZZLE_* instead of SWIZZLE_*

This is for avoid #include "program/prog_instrunction.h" in intel/brw code

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24438>
src/intel/compiler/brw_reg.h
src/intel/compiler/brw_vec4_nir.cpp
src/intel/compiler/brw_vec4_visitor.cpp
src/intel/compiler/test_vec4_copy_propagation.cpp