mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
anv/pipeline: do not use BITFIELD64_BIT()
In the previous commit, forgot to apply v2 suggestions. Fixes:28d0c38(anv/pipeline: use unsigned long long constant to check enable vertex inputs) Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> (cherry picked from commit5cd4ece34e)
This commit is contained in:
parent
5ae901ee87
commit
1b55deeacd
1 changed files with 1 additions and 1 deletions
|
|
@ -1285,7 +1285,7 @@ anv_pipeline_init(struct anv_pipeline *pipeline,
|
|||
const VkVertexInputAttributeDescription *desc =
|
||||
&vi_info->pVertexAttributeDescriptions[i];
|
||||
|
||||
if (inputs_read & BITFIELD64_BIT(VERT_ATTRIB_GENERIC0 + desc->location))
|
||||
if (inputs_read & (1ull << (VERT_ATTRIB_GENERIC0 + desc->location)))
|
||||
pipeline->vb_used |= 1 << desc->binding;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue