Searched refs:decl_size (Results 1 – 4 of 4) sorted by relevance
/third_party/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_program.c | 497 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()
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_fpc_translate.c | 912 unsigned long decl_size = (unsigned long)(p->decl - p->declarations); in i915_fini_compile() local 948 p->declarations[0] |= program_size + decl_size - 2; in i915_fini_compile() 954 ifs->program_len = decl_size + program_size; in i915_fini_compile() 956 memcpy(ifs->program, p->declarations, decl_size * sizeof(uint32_t)); in i915_fini_compile() 957 memcpy(&ifs->program[decl_size], p->program, in i915_fini_compile()
|
/third_party/mesa3d/src/broadcom/compiler/ |
D | nir_to_vir.c | 111 uint32_t decl_size) in resize_qreg_array() argument 113 if (*size >= decl_size) in resize_qreg_array() 117 *size = MAX2(*size * 2, decl_size); in resize_qreg_array() 132 uint32_t decl_size) in resize_interp_array() argument 134 if (*size >= decl_size) in resize_interp_array() 138 *size = MAX2(*size * 2, decl_size); in resize_interp_array()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_program.c | 58 uint32_t decl_size) in resize_qreg_array() argument 60 if (*size >= decl_size) in resize_qreg_array() 64 *size = MAX2(*size * 2, decl_size); in resize_qreg_array()
|