mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
zink: use 0 as default for spec constants
Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9258>
This commit is contained in:
parent
978d244114
commit
a6c72af908
1 changed files with 1 additions and 1 deletions
|
|
@ -1417,7 +1417,7 @@ SpvId
|
|||
spirv_builder_spec_const_uint(struct spirv_builder *b, int width)
|
||||
{
|
||||
assert(width <= 32);
|
||||
return spirv_builder_emit_unop(b, SpvOpSpecConstant, spirv_builder_type_uint(b, width), UINT_MAX);
|
||||
return spirv_builder_emit_unop(b, SpvOpSpecConstant, spirv_builder_type_uint(b, width), 0);
|
||||
}
|
||||
|
||||
SpvId
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue