Searched refs:BITFIELD_BIT (Results 1 – 5 of 5) sorted by relevance
74 buf->data[id / 32] & BITFIELD_BIT(id % 32); in util_idalloc_exists()
382 #define BITFIELD_BIT(b) (1u << (b)) macro385 ((b) == 32 ? (~0u) : BITFIELD_BIT((b) % 32) - 1)
315 vi->bindings_valid |= BITFIELD_BIT(b); in vk_vertex_input_state_init()327 assert(vi->bindings_valid & BITFIELD_BIT(desc->binding)); in vk_vertex_input_state_init()330 vi->attributes_valid |= BITFIELD_BIT(a); in vk_vertex_input_state_init()345 assert(vi->bindings_valid & BITFIELD_BIT(desc->binding)); in vk_vertex_input_state_init()366 if (vi->bindings_valid & BITFIELD_BIT(b)) in vk_dynamic_graphics_state_init_vi()1000 color_write_enables |= BITFIELD_BIT(a); in vk_color_blend_state_init()2067 bindings_valid |= BITFIELD_BIT(b); in vk_common_CmdSetVertexInputEXT()2086 assert(bindings_valid & BITFIELD_BIT(desc->binding)); in vk_common_CmdSetVertexInputEXT()2089 attributes_valid |= BITFIELD_BIT(a); in vk_common_CmdSetVertexInputEXT()2716 color_write_enables |= BITFIELD_BIT(a); in vk_common_CmdSetColorWriteEnableEXT()
229 key.color_attachments_cleared |= BITFIELD_BIT(a); in vk_meta_clear_attachments()
681 push->stencil_bit = BITFIELD_BIT(i); in do_blit()