mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
zink: emit spirv cap for subgroup vote ops
cc: mesa-stable Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16757>
This commit is contained in:
parent
591da8cf5d
commit
aaf0d4490e
1 changed files with 1 additions and 0 deletions
|
|
@ -2838,6 +2838,7 @@ emit_vote(struct ntv_context *ctx, nir_intrinsic_instr *intr)
|
|||
default:
|
||||
unreachable("unknown vote intrinsic");
|
||||
}
|
||||
spirv_builder_emit_cap(&ctx->builder, SpvCapabilityGroupNonUniformVote);
|
||||
SpvId result = spirv_builder_emit_vote(&ctx->builder, op, get_src(ctx, &intr->src[0]));
|
||||
store_dest_raw(ctx, &intr->dest, result);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue