342471e93d
This patch creates a new header file, brw_isa_info.h, which will contains all the functions related to opcode encoding on various generations. Opcode numbers may have different meanings on different hardware, so we remap them between an enum we can easily work with and the hardware encoding. We move the brw_inst setters and getters to brw_inst.h. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17309>