intel/fs: Use BRW_OPCODE_HALT for discards
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 30 Nov 2020 23:24:51 +0000 (17:24 -0600)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 1 Dec 2020 22:19:08 +0000 (16:19 -0600)
commitf9d549b2bf94434efb7ef3ff390dd887adb9c9a4
tree3f0794cd97fb80e71f34bd66be83a04b8258cad1
parente76e3590072a60a20115cf69ca0b3aa442269f99
intel/fs: Use BRW_OPCODE_HALT for discards

We're about to start using it to implement nir_jump_halt which has
nothing inherently to do with fragment shaders or discards.  May as well
name it for the HW instruction it generates.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5071>
src/intel/compiler/brw_eu_defines.h
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_fs.h
src/intel/compiler/brw_fs_cse.cpp
src/intel/compiler/brw_fs_generator.cpp
src/intel/compiler/brw_fs_nir.cpp
src/intel/compiler/brw_ir_performance.cpp
src/intel/compiler/brw_schedule_instructions.cpp
src/intel/compiler/brw_shader.cpp