Skip to content

lavapipe: add pass for converting 32bit tex ops to 16bit

Mike Blumenkrantz requested to merge zmike/mesa:lavapipe-16bit into main

this is supported by llvmpipe but prohibited by spirv, so if we can infer that the desired result is a 16bit tex op, then we can just do the op as a 16bit op instead of casting

this cleans up some really gross nir from nir_lower_fp16_casts

Merge request reports