Searched refs:imm_contents (Results 1 – 6 of 6) sorted by relevance
106 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()
84 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()
163 enum etna_immediate_contents imm_contents[ETNA_MAX_IMM]; member379 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()
104 enum etna_immediate_contents *imm_contents; member
80 shader->uniforms.imm_contents[idx]); in etna_dump_shader()306 FREE(shader->uniforms.imm_contents); in etna_destroy_shader()
187 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()