Skip to content

intel/brw: Disallow scalar byte to float conversions on DG2+

Kenneth Graunke requested to merge kwg/mesa:scalar-byte-fix into main

intel/brw: Disallow scalar byte to float conversions on DG2+

I haven't been able to find this restriction mentioned anywhere in the hardware documentation, but the simulator has code to reject this case as invalid, and it doesn't appear to work on hardware anymore.

Having lower_regioning() handle this takes care of the issue so we don't have to worry about generating it in random places.

Closes: #11489 (closed)

(This is an updated version of the patch from https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27876/diffs?commit_id=a7d6effc58d6015cc4159b9e9296ca187d52c9f9&diff_id=3762602#65837fb65758499c393c8801c3b17cd9abd7bee3_344_347 which @idr rightfully noted would not have worked.)

Merge request reports