Home
last modified time | relevance | path

Searched refs:BITFIELD_BIT (Results 1 – 5 of 5) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/
Du_idalloc.h74 buf->data[id / 32] & BITFIELD_BIT(id % 32); in util_idalloc_exists()
Dmacros.h382 #define BITFIELD_BIT(b) (1u << (b)) macro
385 ((b) == 32 ? (~0u) : BITFIELD_BIT((b) % 32) - 1)
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_graphics_state.c315 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()
Dvk_meta_clear.c229 key.color_attachments_cleared |= BITFIELD_BIT(a); in vk_meta_clear_attachments()
Dvk_meta_blit_resolve.c681 push->stencil_bit = BITFIELD_BIT(i); in do_blit()