Lines Matching refs:STATE

212 #define IS_DYNAMIC(STATE) \
213 BITSET_TEST(dynamic, MESA_VK_DYNAMIC_##STATE)
215 #define IS_NEEDED(STATE) \
216 BITSET_TEST(needed, MESA_VK_DYNAMIC_##STATE)
1004 #define FILL_HAS(STATE, type, s) \
1005 if (state->s != NULL) groups |= STATE
1222 #define FILTER_NEEDS(STATE, type, s) \
1223 if (state->s != NULL) needs &= ~STATE
1256 #define ENSURE_STATE_IF_NEEDED(STATE, type, s) \
1258 if (needs & STATE) { \
1327 #define INIT_STATE_IF_NEEDED(STATE, type, s) \
1328 if (needs & STATE) { \
1371 #define MERGE(STATE, type, state) \
1465 #define INIT_DYNAMIC_STATE(STATE, type, s) \
1468 groups |= STATE; \
1480 #define SET_DYN_VALUE(dst, STATE, state, value) do { \
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) \
1491 SET_DYN_VALUE(dst, STATE, state, (bool)value);
1493 #define SET_DYN_ARRAY(dst, STATE, state, start, count, src) do { \
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) \
1510 BITSET_TEST(src->set, MESA_VK_DYNAMIC_##STATE)
1512 #define COPY_MEMBER(STATE, state) \
1513 SET_DYN_VALUE(dst, STATE, state, src->state)
1515 #define COPY_ARRAY(STATE, state, count) \
1516 SET_DYN_ARRAY(dst, STATE, state, 0, count, src->state)
1518 #define COPY_IF_SET(STATE, state) \
1519 if (IS_SET_IN_SRC(STATE)) SET_DYN_VALUE(dst, STATE, state, src->state)