ab0b9b6792
The intention here is to detect ALU hardware instructions, but not virtual instructions that haven't been explicitly whitelisted. For some reason we had arbitrarily hardcoded 128 here, but our virtual opcodes don't start at 128. They start at NUM_BRW_OPCODES. So, use that instead. This prevents regressions later when we delete some opcodes, shifting some virtual opcodes into the 72-128 range. Cc: mesa-stable Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Reviewed-by: Rohan Garg <rohan.garg@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30828>