mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +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>
(cherry picked from commit aaf0d4490e)
This commit is contained in:
parent
fbf27641f6
commit
114e48ec5e
2 changed files with 2 additions and 1 deletions
|
|
@ -812,7 +812,7 @@
|
|||
"description": "zink: emit spirv cap for subgroup vote ops",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"because_sha": null
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2635,6 +2635,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