Home
last modified time | relevance | path

Searched refs:max_decl_count (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/ilo/core/
Dilo_state_sol.c209 uint8_t max_decl_count) in sol_set_gen7_3DSTATE_SO_DECL_LIST() argument
219 memset(decl_list, 0, sizeof(decl_list[0]) * max_decl_count); in sol_set_gen7_3DSTATE_SO_DECL_LIST()
224 assert(stream->decl_count <= max_decl_count); in sol_set_gen7_3DSTATE_SO_DECL_LIST()
261 memcpy(sol->decl, decl_list, sizeof(sol->decl[0]) * max_decl_count); in sol_set_gen7_3DSTATE_SO_DECL_LIST()
262 sol->decl_count = max_decl_count; in sol_set_gen7_3DSTATE_SO_DECL_LIST()
394 uint8_t max_decl_count, i; in ilo_state_sol_init() local
396 max_decl_count = info->streams[0].decl_count; in ilo_state_sol_init()
398 if (max_decl_count < info->streams[i].decl_count) in ilo_state_sol_init()
399 max_decl_count = info->streams[i].decl_count; in ilo_state_sol_init()
402 assert(ilo_state_sol_data_size(dev, max_decl_count) <= info->data_size); in ilo_state_sol_init()
[all …]
Dilo_state_sol.h136 ilo_state_sol_data_size(const struct ilo_dev *dev, uint8_t max_decl_count) in ilo_state_sol_data_size() argument
140 sizeof(so->decl[0]) * max_decl_count : 0; in ilo_state_sol_data_size()