| commit | cd4f6caa0dbc6a9f5ebcd6b3dc9eac477f4beb2b | [log] [tgz] |
|---|---|---|
| author | Rob Clark <rob.clark@oss.qualcomm.com> | Wed Jun 11 09:02:23 2025 -0700 |
| committer | Marge Bot <marge-bot@fdo.invalid> | Wed Jun 11 17:48:10 2025 +0000 |
| tree | e88bbf93a4c5616d95704773002ede66c9cb8eb9 | |
| parent | d764e1c062f4d6c9cc5b63d30e6af03e610628af [diff] |
vtn: Handle non-32b tex dests With cl_khr_fp16 we can get texture instructions w/ f16 dest. Not all drivers handle this, so convert to 32b dest and insert alu conversion to the requested type. Drivers that can handle f16 texture loads would fold away the extra conversion with nir_opt_16bit_tex_image. Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35470>