intel/fs: Add an ex_desc field to fs_inst for SHADER_OPCODE_SEND
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 27 Jan 2021 21:28:24 +0000 (15:28 -0600)
committerMarge Bot <eric+marge@anholt.net>
Thu, 28 Jan 2021 17:57:48 +0000 (17:57 +0000)
commitf3a43e36e016b296312cfa5dcc19042c12e4e5e7
tree0d62f04abfa7f2a80b2a0ba3d8bf2680885905f1
parent9003735b9141fb156d3b2e1133b94cdf14f63424
intel/fs: Add an ex_desc field to fs_inst for SHADER_OPCODE_SEND

I meant to do this years ago when I first added SHADER_OPCODE_SEND.  At
the time, the only use for the extended descriptor was bindless handles
which were always one thing and never non-constant.  However, it doesn't
actually require any extra instructions because we have to OR in ex_mlen
anyway.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8748>
src/intel/compiler/brw_eu_emit.c
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_fs_generator.cpp
src/intel/compiler/brw_ir.h