mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
radeonsi: fix an assertion failure for sampler descriptor loads with LLVM
Reviewed-by: Pierre-Eric Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40589>
This commit is contained in:
parent
e1a845c042
commit
dee99b38c5
1 changed files with 1 additions and 1 deletions
|
|
@ -530,7 +530,7 @@ static bool lower_resource_tex(nir_builder *b, nir_tex_instr *tex,
|
|||
break;
|
||||
case nir_tex_src_sampler_handle:
|
||||
if (has_sampler) {
|
||||
sampler_handle = tex->src[i].src.ssa;
|
||||
sampler_handle = nir_u2u32(b, tex->src[i].src.ssa);
|
||||
} else {
|
||||
nir_tex_instr_remove_src(tex, i);
|
||||
i--;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue