pan/bi: Fix ms_idx type to catch missing ms_index source

nir_tex_instr_src_index() returns a negative result when the requested
source does not exist, but we cast that to an unsigned type thus losing
this information.

Fixes: b83c2936 ("pan/bi: Add basic support for txf_ms")
Signed-off-by: Boris Brezillon <>
Reviewed-by: Alyssa Rosenzweig <>
Part-of: <!7314>
45 jobs for !7314 with bifrost-misc-fixes in 36 minutes and 49 seconds (queued for 3 seconds)
merge request