• Home
  • Raw
  • Download

Lines Matching refs:STATE

212 #define IS_DYNAMIC(STATE) \  argument
213 BITSET_TEST(dynamic, MESA_VK_DYNAMIC_##STATE)
215 #define IS_NEEDED(STATE) \ argument
216 BITSET_TEST(needed, MESA_VK_DYNAMIC_##STATE)
1004 #define FILL_HAS(STATE, type, s) \ in vk_graphics_pipeline_state_groups() argument
1005 if (state->s != NULL) groups |= STATE in vk_graphics_pipeline_state_groups()
1222 #define FILTER_NEEDS(STATE, type, s) \ in vk_graphics_pipeline_state_fill() argument
1223 if (state->s != NULL) needs &= ~STATE in vk_graphics_pipeline_state_fill()
1256 #define ENSURE_STATE_IF_NEEDED(STATE, type, s) \ in vk_graphics_pipeline_state_fill() argument
1258 if (needs & STATE) { \ in vk_graphics_pipeline_state_fill()
1327 #define INIT_STATE_IF_NEEDED(STATE, type, s) \ in vk_graphics_pipeline_state_fill() argument
1328 if (needs & STATE) { \ in vk_graphics_pipeline_state_fill()
1371 #define MERGE(STATE, type, state) \ in vk_graphics_pipeline_state_merge() argument
1465 #define INIT_DYNAMIC_STATE(STATE, type, s) \ in vk_dynamic_graphics_state_fill() argument
1468 groups |= STATE; \ in vk_dynamic_graphics_state_fill()
1480 #define SET_DYN_VALUE(dst, STATE, state, value) do { \ argument
1481 if (!BITSET_TEST((dst)->set, MESA_VK_DYNAMIC_##STATE) || \
1485 BITSET_SET(dst->set, MESA_VK_DYNAMIC_##STATE); \
1486 BITSET_SET(dst->dirty, MESA_VK_DYNAMIC_##STATE); \
1490 #define SET_DYN_BOOL(dst, STATE, state, value) \ argument
1491 SET_DYN_VALUE(dst, STATE, state, (bool)value);
1493 #define SET_DYN_ARRAY(dst, STATE, state, start, count, src) do { \ argument
1497 if (!BITSET_TEST((dst)->set, MESA_VK_DYNAMIC_##STATE) || \
1500 BITSET_SET(dst->set, MESA_VK_DYNAMIC_##STATE); \
1501 BITSET_SET(dst->dirty, MESA_VK_DYNAMIC_##STATE); \
1509 #define IS_SET_IN_SRC(STATE) \ in vk_dynamic_graphics_state_copy() argument
1510 BITSET_TEST(src->set, MESA_VK_DYNAMIC_##STATE) in vk_dynamic_graphics_state_copy()
1512 #define COPY_MEMBER(STATE, state) \ in vk_dynamic_graphics_state_copy() argument
1513 SET_DYN_VALUE(dst, STATE, state, src->state) in vk_dynamic_graphics_state_copy()
1515 #define COPY_ARRAY(STATE, state, count) \ in vk_dynamic_graphics_state_copy() argument
1516 SET_DYN_ARRAY(dst, STATE, state, 0, count, src->state) in vk_dynamic_graphics_state_copy()
1518 #define COPY_IF_SET(STATE, state) \ in vk_dynamic_graphics_state_copy() argument
1519 if (IS_SET_IN_SRC(STATE)) SET_DYN_VALUE(dst, STATE, state, src->state) in vk_dynamic_graphics_state_copy()