mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02: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:
|
default:
|
||||||
unreachable("unknown vote intrinsic");
|
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]));
|
SpvId result = spirv_builder_emit_vote(&ctx->builder, op, get_src(ctx, &intr->src[0]));
|
||||||
store_dest_raw(ctx, &intr->dest, result);
|
store_dest_raw(ctx, &intr->dest, result);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue