Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_encode.c249 int str_total_size = 65536; in virgl_encode_shader_state() local
253 str = CALLOC(1, str_total_size); in virgl_encode_shader_state()
260 bret = tgsi_dump_str(tokens, TGSI_DUMP_FLOAT_AS_HEX, str, str_total_size); in virgl_encode_shader_state()
263 old_size = str_total_size; in virgl_encode_shader_state()
264 str_total_size = 65536 * ++retry_size; in virgl_encode_shader_state()
265 str = REALLOC(str, old_size, str_total_size); in virgl_encode_shader_state()
/external/virglrenderer/tests/
Dtestvirgl_encode.c242 int str_total_size = 65536; in virgl_encode_shader_state() local
248 str = CALLOC(1, str_total_size); in virgl_encode_shader_state()
252 ret = tgsi_dump_str(shader->tokens, TGSI_DUMP_FLOAT_AS_HEX, str, str_total_size); in virgl_encode_shader_state()