Home
last modified time | relevance | path

Searched refs:imm_contents (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_disk_cache.c106 v->uniforms.imm_contents = malloc(v->uniforms.imm_count * sizeof(v->uniforms.imm_contents)); in retrieve_variant()
109 …blob_copy_bytes(blob, v->uniforms.imm_contents, v->uniforms.imm_count * sizeof(v->uniforms.imm_con… in retrieve_variant()
122 blob_write_bytes(blob, v->uniforms.imm_contents, imm_count * sizeof(v->uniforms.imm_contents)); in store_variant()
Detnaviv_uniforms.c84 switch (uinfo->imm_contents[i]) { in etna_uniforms_write()
97 get_texrect_scale(ctx, frag, uinfo->imm_contents[i], val)); in etna_uniforms_write()
101 idx = uinfo->imm_contents[i] - ETNA_IMMEDIATE_UBO0_ADDR; in etna_uniforms_write()
125 switch (sobj->uniforms.imm_contents[i]) { in etna_set_shader_uniforms_dirty_flags()
Detnaviv_compiler_tgsi.c163 enum etna_immediate_contents imm_contents[ETNA_MAX_IMM]; member
379 if (c->imm_contents[idx] == contents && c->imm_data[idx] == value) in alloc_imm()
386 if (c->imm_contents[idx] == ETNA_IMMEDIATE_UNUSED) in alloc_imm()
396 c->imm_contents[idx] = contents; in alloc_imm()
427 if (c->imm_contents[idx + i] != contents || c->imm_data[idx + i] != values[i]) in alloc_imm_vec4u()
439 c->imm_contents[idx + i] = contents; in alloc_imm_vec4u()
507 c->imm_contents[idx] = ETNA_IMMEDIATE_CONSTANT; in etna_compile_parse_declarations()
2300 uinfo->imm_contents = malloc(count * sizeof(*c->imm_contents)); in copy_uniform_state_to_shader()
2302 uinfo->imm_contents[i] = ETNA_IMMEDIATE_UNIFORM; in copy_uniform_state_to_shader()
2303 …memcpy(&uinfo->imm_contents[c->imm_base], c->imm_contents, c->imm_size * sizeof(*c->imm_contents)); in copy_uniform_state_to_shader()
Detnaviv_context.h104 enum etna_immediate_contents *imm_contents; member
Detnaviv_shader.c80 shader->uniforms.imm_contents[idx]); in etna_dump_shader()
306 FREE(shader->uniforms.imm_contents); in etna_destroy_shader()
Detnaviv_compiler_nir.c187 uinfo->imm_contents = MALLOC(uinfo->imm_count * sizeof(*uinfo->imm_contents)); in copy_uniform_state_to_shader()
191 uinfo->imm_contents[i] = consts[i] >> 32; in copy_uniform_state_to_shader()