Lines Matching refs:prog_id

1319                                     int prog_id,  in set_stream_out_varyings()  argument
1370 glTransformFeedbackVaryings(prog_id, n_outputs, in set_stream_out_varyings()
1534 GLuint prog_id; in add_cs_shader_program() local
1536 prog_id = glCreateProgram(); in add_cs_shader_program()
1537 glAttachShader(prog_id, cs->id); in add_cs_shader_program()
1538 glLinkProgram(prog_id); in add_cs_shader_program()
1540 glGetProgramiv(prog_id, GL_LINK_STATUS, &lret); in add_cs_shader_program()
1544 glGetProgramInfoLog(prog_id, 65536, &len, infolog); in add_cs_shader_program()
1549 glDeleteProgram(prog_id); in add_cs_shader_program()
1556 sprog->id = prog_id; in add_cs_shader_program()
1559 vrend_use_program(ctx->sub, prog_id); in add_cs_shader_program()
1579 GLuint prog_id; in add_shader_program() local
1586 prog_id = glCreateProgram(); in add_shader_program()
1587 glAttachShader(prog_id, vs->id); in add_shader_program()
1589 glAttachShader(prog_id, tcs->id); in add_shader_program()
1591 glAttachShader(prog_id, tes->id); in add_shader_program()
1595 glAttachShader(prog_id, gs->id); in add_shader_program()
1596 set_stream_out_varyings(sub_ctx, prog_id, &gs->sel->sinfo); in add_shader_program()
1598 set_stream_out_varyings(sub_ctx, prog_id, &tes->sel->sinfo); in add_shader_program()
1600 set_stream_out_varyings(sub_ctx, prog_id, &vs->sel->sinfo); in add_shader_program()
1601 glAttachShader(prog_id, fs->id); in add_shader_program()
1606 glBindFragDataLocationIndexed(prog_id, 0, 0, "fsout_c0"); in add_shader_program()
1607 glBindFragDataLocationIndexed(prog_id, 0, 1, "fsout_c1"); in add_shader_program()
1614 glBindFragDataLocationIndexed(prog_id, 0, 0, "fsout_c0"); in add_shader_program()
1615 glBindFragDataLocationIndexed(prog_id, 1, 0, "fsout_c1"); in add_shader_program()
1627 glBindAttribLocation(prog_id, i, name); in add_shader_program()
1631 glLinkProgram(prog_id); in add_shader_program()
1633 glGetProgramiv(prog_id, GL_LINK_STATUS, &lret); in add_shader_program()
1637 glGetProgramInfoLog(prog_id, 65536, &len, infolog); in add_shader_program()
1645 glDeleteProgram(prog_id); in add_shader_program()
1669 sprog->id = prog_id; in add_shader_program()
1674 sprog->fs_stipple_loc = glGetUniformLocation(prog_id, "pstipple_sampler"); in add_shader_program()
1678 sprog->fs_alpha_ref_val_loc = glGetUniformLocation(prog_id, "alpha_ref_val"); in add_shader_program()
1681 sprog->vs_ws_adjust_loc = glGetUniformLocation(prog_id, "winsys_adjust_y"); in add_shader_program()
1683 vrend_use_program(sub_ctx, prog_id); in add_shader_program()
1703 sprog->attrib_locs[i] = glGetAttribLocation(prog_id, name); in add_shader_program()
1713 sprog->clip_locs[i] = glGetUniformLocation(prog_id, name); in add_shader_program()