zink: use correct scope for subgroup vote ops

this is restricted to subgroup for vulkan use

Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16757>
This commit is contained in:
Mike Blumenkrantz 2022-05-27 17:03:43 -04:00 committed by Marge Bot
parent aaf0d4490e
commit 566033beb9

View file

@ -740,7 +740,7 @@ SpvId
spirv_builder_emit_vote(struct spirv_builder *b, SpvOp op, SpvId src)
{
return spirv_builder_emit_binop(b, op, spirv_builder_type_bool(b),
spirv_builder_const_uint(b, 32, SpvScopeWorkgroup), src);
spirv_builder_const_uint(b, 32, SpvScopeSubgroup), src);
}
static SpvId