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.c495 int str_total_size = 65536; in virgl_encode_shader_state() local
499 str = CALLOC(1, str_total_size); in virgl_encode_shader_state()
506 bret = tgsi_dump_str(tokens, TGSI_DUMP_FLOAT_AS_HEX, str, str_total_size); in virgl_encode_shader_state()
510 old_size = str_total_size; in virgl_encode_shader_state()
511 str_total_size = 65536 * retry_size; in virgl_encode_shader_state()
513 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()