Searched refs:decl_size (Results 1 – 2 of 2) sorted by relevance
497 GLuint decl_size = p->decl - p->declarations; in i915_fini_program() local534 p->declarations[0] |= program_size + decl_size - 2; in i915_fini_program()542 GLuint decl_size = p->decl - p->declarations; in i915_upload_program() local549 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()
1268 unsigned long decl_size = (unsigned long) (p->decl - p->declarations); in i915_fini_compile() local1298 p->declarations[0] |= program_size + decl_size - 2; in i915_fini_compile()1306 = (uint *) MALLOC(decl_size * sizeof(uint)); in i915_fini_compile()1311 ifs->decl_len = decl_size; in i915_fini_compile()1315 decl_size * sizeof(uint)); in i915_fini_compile()