Draft: anv: Add anv_nir_lower_deref_cast

Open Michael Skorokhodov requested to merge GL/mesa:nir/lower_deref_cast into main

This pass analyzes deref_cast(function_temp) instructions and converts them into simple pair of load_param and unpack_* instructions.

Merge request reports