Skip to content

intel: Add support for split SEND instructions

Faith Ekstrand requested to merge gfxstrand/mesa:review/intel-sends into master

We've had split send instructions in the hardware since Sky Lake but haven't bothered to wire them up yet. In order to get there, this MR adds a new SHADER_OPCODE_SEND opcode which does a generic send without all the special-casing in fs_generator. At the end, it switches us to sends for surface writes where it's especially convenient. In future, we can easily start using SENDs for more stuff or even possibly add some sort of optimization pass to do automatic splitting. For now, this just gets everything we need in place.

Merge request reports