intel/fs: Add FS_OPCODE_SCHEDULING_FENCE
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 2 Jan 2020 23:27:58 +0000 (15:27 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 21 Jan 2020 23:41:35 +0000 (23:41 +0000)
commit18e72ee2108a9388b8d1890311dd22f69886438a
tree5a8d475fde9cdbd97b6b4b6872ed966748d84efc
parent9d964da19fb596dad68c9402c115d6c5784989ee
intel/fs: Add FS_OPCODE_SCHEDULING_FENCE

Like a SHADER_OPCODE_MEMORY_FENCE but doesn't doesn't generate any
assembly code.

Will be used when the compiler shouldn't reorder certain instructions
but there's no need to generate code for the HW to do it -- as the
ordering will be guaranteed by other means.

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