spirv: Don't use libclc for rotate
We have a nir lowering for drivers that do not support urol. Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25660>
This commit is contained in:

committed by
Marge Bot

parent
70de5d098b
commit
fe0965afa6
@@ -553,6 +553,8 @@ handle_special(struct vtn_builder *b, uint32_t opcode,
|
||||
if (nb->shader->options->lower_ffma32 && srcs[0]->bit_size == 32)
|
||||
break;
|
||||
return nir_ffma(nb, srcs[0], srcs[1], srcs[2]);
|
||||
case OpenCLstd_Rotate:
|
||||
return nir_urol(nb, srcs[0], nir_u2u32(nb, srcs[1]));
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user