Home
last modified time | relevance | path

Searched refs:decl_size (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_program.c497 GLuint decl_size = p->decl - p->declarations; in i915_fini_program() local
534 p->declarations[0] |= program_size + decl_size - 2; in i915_fini_program()
542 GLuint decl_size = p->decl - p->declarations; in i915_upload_program() local
549 if (i915->state.ProgramSize != (program_size + decl_size) || in i915_upload_program()
550 memcmp(i915->state.Program + decl_size, p->program, in i915_upload_program()
553 memcpy(i915->state.Program, p->declarations, decl_size * sizeof(int)); in i915_upload_program()
554 memcpy(i915->state.Program + decl_size, p->program, in i915_upload_program()
556 i915->state.ProgramSize = decl_size + program_size; in i915_upload_program()
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_translate.c1116 unsigned long decl_size = (unsigned long) (p->decl - p->declarations); in i915_fini_compile() local
1146 p->declarations[0] |= program_size + decl_size - 2; in i915_fini_compile()
1154 = (uint *) MALLOC(decl_size * sizeof(uint)); in i915_fini_compile()
1159 ifs->decl_len = decl_size; in i915_fini_compile()
1163 decl_size * sizeof(uint)); in i915_fini_compile()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_tgsi_setup.c661 unsigned decl_size; in emit_declaration() local
665 decl_size = 4 * ((last - first) + 1); in emit_declaration()
708 for (i = 0; i < decl_size; ++i) { in emit_declaration()
737 for (i = 0; i < decl_size; ++i) { in emit_declaration()
/external/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c42 uint32_t decl_size) in resize_qreg_array() argument
44 if (*size >= decl_size) in resize_qreg_array()
48 *size = MAX2(*size * 2, decl_size); in resize_qreg_array()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_program.c57 uint32_t decl_size) in resize_qreg_array() argument
59 if (*size >= decl_size) in resize_qreg_array()
63 *size = MAX2(*size * 2, decl_size); in resize_qreg_array()