Searched refs:vp (Results 1 - 25 of 255) sorted by relevance

1234567891011

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_viewport.h39 util_viewport_zmin_zmax(const struct pipe_viewport_state *vp, bool halfz, argument
44 a = vp->translate[2];
45 b = vp->translate[2] + vp->scale[2];
47 a = vp->translate[2] - vp->scale[2];
48 b = vp->translate[2] + vp->scale[2];
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_viewport.h39 util_viewport_zmin_zmax(const struct pipe_viewport_state *vp, bool halfz, argument
44 a = vp->translate[2];
45 b = vp->translate[2] + vp->scale[2];
47 a = vp->translate[2] - vp->scale[2];
48 b = vp->translate[2] + vp->scale[2];
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv30/
H A Dnv30_vertprog.c37 nv30_vertprog_destroy(struct nv30_vertprog *vp) argument
39 util_dynarray_fini(&vp->branch_relocs);
40 nouveau_heap_free(&vp->exec);
41 FREE(vp->insns);
42 vp->insns = NULL;
43 vp->nr_insns = 0;
45 util_dynarray_fini(&vp->const_relocs);
46 nouveau_heap_free(&vp->data);
47 FREE(vp->consts);
48 vp
59 struct nv30_vertprog *vp = nv30->vertprog.program; local in function:nv30_vertprog_validate
225 struct nv30_vertprog *vp = CALLOC_STRUCT(nv30_vertprog); local in function:nv30_vp_state_create
237 struct nv30_vertprog *vp = hwcso; local in function:nv30_vp_state_delete
[all...]
H A Dnvfx_vertprog.c43 struct nv30_vertprog *vp; member in struct:nvfx_vpc
93 struct nv30_vertprog *vp = vpc->vp; local in function:constant
98 for (idx = 0; idx < vp->nr_consts; idx++) {
99 if (vp->consts[idx].index == pipe)
104 idx = vp->nr_consts++;
105 vp->consts = realloc(vp->consts, sizeof(*vpd) * vp->nr_consts);
106 vpd = &vp
123 struct nv30_vertprog *vp = vpc->vp; local in function:emit_src
207 struct nv30_vertprog *vp = vpc->vp; local in function:emit_dst
296 struct nv30_vertprog *vp = vpc->vp; local in function:nvfx_vp_emit
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv30/
H A Dnv30_vertprog.c37 nv30_vertprog_destroy(struct nv30_vertprog *vp) argument
39 util_dynarray_fini(&vp->branch_relocs);
40 nouveau_heap_free(&vp->exec);
41 FREE(vp->insns);
42 vp->insns = NULL;
43 vp->nr_insns = 0;
45 util_dynarray_fini(&vp->const_relocs);
46 nouveau_heap_free(&vp->data);
47 FREE(vp->consts);
48 vp
59 struct nv30_vertprog *vp = nv30->vertprog.program; local in function:nv30_vertprog_validate
225 struct nv30_vertprog *vp = CALLOC_STRUCT(nv30_vertprog); local in function:nv30_vp_state_create
237 struct nv30_vertprog *vp = hwcso; local in function:nv30_vp_state_delete
[all...]
H A Dnvfx_vertprog.c44 struct nv30_vertprog *vp; member in struct:nvfx_vpc
94 struct nv30_vertprog *vp = vpc->vp; local in function:constant
99 for (idx = 0; idx < vp->nr_consts; idx++) {
100 if (vp->consts[idx].index == pipe)
105 idx = vp->nr_consts++;
106 vp->consts = realloc(vp->consts, sizeof(*vpd) * vp->nr_consts);
107 vpd = &vp
124 struct nv30_vertprog *vp = vpc->vp; local in function:emit_src
208 struct nv30_vertprog *vp = vpc->vp; local in function:emit_dst
297 struct nv30_vertprog *vp = vpc->vp; local in function:nvfx_vp_emit
[all...]
/xsrc/external/mit/mesa-demos/dist/src/vp/
H A Drun.sh5 ./vp-tris $i
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/shared/
H A Dvidmem.c80 VidMapPtr vp; local in function:getVidMapRec
93 vp = pScrn->privates[vidMapIndex].ptr = xnfcalloc(sizeof(VidMapRec), 1);
94 vp->mtrrEnabled = TRUE; /* default to enabled */
95 vp->mtrrFrom = X_DEFAULT;
96 vp->mtrrOptChecked = FALSE;
97 vp->pScrn = pScrn;
98 return vp;
102 newMapping(VidMapPtr vp) argument
104 vp->mappings = xnfrealloc(vp
111 findMapping(VidMapPtr vp,pointer vbase,unsigned long size) argument
124 removeMapping(VidMapPtr vp,MappingPtr mp) argument
148 checkMtrrOption(VidMapPtr vp) argument
167 VidMapPtr vp; local in function:xf86MakeNewMapping
191 VidMapPtr vp; local in function:xf86MapVidMem
236 VidMapPtr vp; local in function:xf86UnMapVidMem
263 VidMapPtr vp = getVidMapRec(ScreenNum); local in function:xf86CheckMTRR
[all...]
/xsrc/external/mit/libX11/dist/src/
H A DVisUtil.c65 register Visual *vp; local in function:XGetVisualInfo
114 for (vp=dp->visuals; vp<(dp->visuals + dp->nvisuals); vp++) {
116 (vp->visualid != visual_info_template->visualid)) continue;
118 (vp->class != visual_info_template->class)) continue;
120 (vp->red_mask != visual_info_template->red_mask)) continue;
122 (vp->green_mask != visual_info_template->green_mask)) continue;
124 (vp->blue_mask != visual_info_template->blue_mask)) continue;
126 (vp
199 Visual *vp; local in function:XMatchVisualInfo
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/r200/
H A Dr200_vertprog.c104 static GLboolean r200VertexProgUpdateParams(struct gl_context *ctx, struct r200_vertex_program *vp) argument
109 struct gl_program *mesa_vp = &vp->mesa_program;
129 //fprintf(stderr, "%s", vp->Parameters->Parameters[pi].Name);
237 static void vp_dump_inputs(struct r200_vertex_program *vp, char *caller)
241 if(vp == NULL){
242 fprintf(stderr, "vp null in call to %s from %s\n", __func__, caller);
248 fprintf(stderr, "%d ", vp->inputs[i]);
254 static unsigned long t_src_index(struct r200_vertex_program *vp, struct prog_src_register *src) argument
261 /* if(vp->inputs[src->Index] != -1)
262 return vp
282 t_src(struct r200_vertex_program * vp,struct prog_src_register * src) argument
294 t_src_scalar(struct r200_vertex_program * vp,struct prog_src_register * src) argument
397 r200_translate_vertex_program(struct gl_context * ctx,struct r200_vertex_program * vp) argument
1108 struct r200_vertex_program *vp = (struct r200_vertex_program *)ctx->VertexProgram.Current; local in function:r200SetupVertexProg
1191 struct r200_vertex_program *vp = rzalloc(NULL, local in function:r200NewProgram
1215 struct r200_vertex_program *vp = (void *)prog; local in function:r200ProgramStringNotify
1240 struct r200_vertex_program *vp = (void *)prog; local in function:r200IsProgramNative
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/r200/
H A Dr200_vertprog.c104 static GLboolean r200VertexProgUpdateParams(struct gl_context *ctx, struct r200_vertex_program *vp) argument
109 struct gl_program *mesa_vp = &vp->mesa_program;
129 //fprintf(stderr, "%s", vp->Parameters->Parameters[pi].Name);
237 static void vp_dump_inputs(struct r200_vertex_program *vp, char *caller)
241 if(vp == NULL){
242 fprintf(stderr, "vp null in call to %s from %s\n", __func__, caller);
248 fprintf(stderr, "%d ", vp->inputs[i]);
254 static unsigned long t_src_index(struct r200_vertex_program *vp, struct prog_src_register *src) argument
261 /* if(vp->inputs[src->Index] != -1)
262 return vp
282 t_src(struct r200_vertex_program * vp,struct prog_src_register * src) argument
294 t_src_scalar(struct r200_vertex_program * vp,struct prog_src_register * src) argument
397 r200_translate_vertex_program(struct gl_context * ctx,struct r200_vertex_program * vp) argument
1108 struct r200_vertex_program *vp = (struct r200_vertex_program *)ctx->VertexProgram.Current; local in function:r200SetupVertexProg
1191 struct r200_vertex_program *vp = rzalloc(NULL, local in function:r200NewProgram
1215 struct r200_vertex_program *vp = (void *)prog; local in function:r200ProgramStringNotify
1240 struct r200_vertex_program *vp = (void *)prog; local in function:r200IsProgramNative
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_emit.h57 const struct ir3_shader_variant *vp, *fp; member in struct:fd3_emit
63 if (!emit->vp) {
64 struct ir3_shader *shader = emit->prog->vp;
65 emit->vp = ir3_shader_variant(shader, emit->key,
68 return emit->vp;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_emit.h58 const struct ir3_shader_variant *vp, *fp; member in struct:fd4_emit
72 if (!emit->vp) {
73 struct ir3_shader *shader = emit->prog->vp;
74 emit->vp = ir3_shader_variant(shader, emit->key,
77 return emit->vp;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dbrw_vs_surface_state.c53 struct brw_program *vp = local in function:brw_upload_vs_pull_constants
61 brw_upload_pull_constants(brw, BRW_NEW_VS_CONSTBUF, &vp->program,
100 const struct gl_program *vp = brw->programs[MESA_SHADER_VERTEX]; local in function:brw_upload_vs_image_surfaces
102 if (vp) {
104 brw_upload_image_surfaces(brw, vp, &brw->vs.base,
H A Dbrw_vs.c116 struct brw_program *vp,
131 if (vp->program.is_arb_asm)
136 nir_shader *nir = nir_shader_clone(mem_ctx, vp->program.nir);
138 brw_assign_common_binding_table_offsets(devinfo, &vp->program,
141 if (!vp->program.is_arb_asm) {
142 brw_nir_setup_glsl_uniforms(mem_ctx, nir, &vp->program,
148 brw_nir_setup_arb_uniforms(mem_ctx, nir, &vp->program,
160 _mesa_fprint_program_opt(stderr, &vp->program, PROG_PRINT_DEBUG, true);
170 if (vp->program.is_arb_asm)
171 brw_dump_arb_asm("vertex", &vp
115 brw_codegen_vs_prog(struct brw_context * brw,struct brw_program * vp,struct brw_vs_prog_key * key) argument
247 struct brw_program *vp = (struct brw_program *) prog; local in function:brw_vs_populate_key
297 struct brw_program *vp = local in function:brw_upload_vs_prog
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
H A Dbrw_vs_surface_state.c53 struct brw_program *vp = local in function:brw_upload_vs_pull_constants
61 brw_upload_pull_constants(brw, BRW_NEW_VS_CONSTBUF, &vp->program,
100 const struct gl_program *vp = brw->programs[MESA_SHADER_VERTEX]; local in function:brw_upload_vs_image_surfaces
102 if (vp) {
104 brw_upload_image_surfaces(brw, vp, &brw->vs.base,
H A Dbrw_vs.c112 struct brw_program *vp,
127 if (vp->program.info.is_arb_asm)
132 nir_shader *nir = nir_shader_clone(mem_ctx, vp->program.nir);
134 brw_assign_common_binding_table_offsets(devinfo, &vp->program,
137 if (!vp->program.info.is_arb_asm) {
138 brw_nir_setup_glsl_uniforms(mem_ctx, nir, &vp->program,
146 brw_nir_setup_arb_uniforms(mem_ctx, nir, &vp->program,
166 _mesa_fprint_program_opt(stderr, &vp->program, PROG_PRINT_DEBUG, true);
176 if (vp->program.info.is_arb_asm)
177 brw_dump_arb_asm("vertex", &vp
111 brw_codegen_vs_prog(struct brw_context * brw,struct brw_program * vp,struct brw_vs_prog_key * key) argument
260 struct brw_program *vp = (struct brw_program *) prog; local in function:brw_vs_populate_key
309 struct brw_program *vp = local in function:brw_upload_vs_prog
[all...]
/xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/
H A Dpanvk_vX_meta.c39 struct panfrost_ptr vp = pan_pool_alloc_desc(pool, VIEWPORT); local in function:panvk_per_arch
41 pan_pack(vp.cpu, VIEWPORT, cfg) {
48 return vp.gpu;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_program.c46 ctx->prog.vp = hwcso;
133 ctx->solid_prog.vp = assemble_tgsi(pctx, solid_vp, false);
134 ctx->blit_prog[0].vp = assemble_tgsi(pctx, blit_vp, false);
141 ctx->blit_prog[i].vp = ctx->blit_prog[0].vp;
145 ctx->blit_z.vp = ctx->blit_prog[0].vp;
147 ctx->blit_zs.vp = ctx->blit_prog[0].vp;
156 pctx->delete_vs_state(pctx, ctx->solid_prog.vp);
[all...]
/xsrc/external/mit/mesa-demos/dist/src/
H A DMakefile.am44 vp \
/xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl/
H A Dt_vertex_generic.c53 const GLfloat * const vp = a->vp; local in function:insert_4f_viewport_4
55 out[0] = vp[0] * in[0] + vp[12];
56 out[1] = vp[5] * in[1] + vp[13];
57 out[2] = vp[10] * in[2] + vp[14];
65 const GLfloat * const vp = a->vp; local in function:insert_4f_viewport_3
77 const GLfloat * const vp = a->vp; local in function:insert_4f_viewport_2
89 const GLfloat * const vp = a->vp; local in function:insert_4f_viewport_1
101 const GLfloat * const vp = a->vp; local in function:insert_3f_viewport_3
112 const GLfloat * const vp = a->vp; local in function:insert_3f_viewport_2
123 const GLfloat * const vp = a->vp; local in function:insert_3f_viewport_1
134 const GLfloat * const vp = a->vp; local in function:insert_2f_viewport_2
144 const GLfloat * const vp = a->vp; local in function:insert_2f_viewport_1
584 const GLfloat * const vp = a->vp; local in function:extract_4f_viewport
600 const GLfloat * const vp = a->vp; local in function:extract_3f_viewport
613 const GLfloat * const vp = a->vp; local in function:extract_2f_viewport
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/tnl/
H A Dt_vertex_generic.c53 const GLfloat * const vp = a->vp; local in function:insert_4f_viewport_4
55 out[0] = vp[0] * in[0] + vp[12];
56 out[1] = vp[5] * in[1] + vp[13];
57 out[2] = vp[10] * in[2] + vp[14];
65 const GLfloat * const vp = a->vp; local in function:insert_4f_viewport_3
77 const GLfloat * const vp = a->vp; local in function:insert_4f_viewport_2
89 const GLfloat * const vp = a->vp; local in function:insert_4f_viewport_1
101 const GLfloat * const vp = a->vp; local in function:insert_3f_viewport_3
112 const GLfloat * const vp = a->vp; local in function:insert_3f_viewport_2
123 const GLfloat * const vp = a->vp; local in function:insert_3f_viewport_1
134 const GLfloat * const vp = a->vp; local in function:insert_2f_viewport_2
144 const GLfloat * const vp = a->vp; local in function:insert_2f_viewport_1
584 const GLfloat * const vp = a->vp; local in function:extract_4f_viewport
600 const GLfloat * const vp = a->vp; local in function:extract_3f_viewport
613 const GLfloat * const vp = a->vp; local in function:extract_2f_viewport
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/nouveau/
H A Dnouveau_util.h146 struct gl_viewport_attrib *vp = &ctx->ViewportArray[0]; local in function:get_viewport_scale
149 a[MAT_SX] = (float)vp->Width / 2;
152 a[MAT_SY] = (float)vp->Height / 2;
155 a[MAT_SY] = - (float)vp->Height / 2;
157 a[MAT_SZ] = fb->_DepthMaxF * (vp->Far - vp->Near) / 2;
163 struct gl_viewport_attrib *vp = &ctx->ViewportArray[0]; local in function:get_viewport_translate
166 a[0] = (float)vp->Width / 2 + vp->X;
169 a[1] = (float)vp
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau/
H A Dnouveau_util.h146 struct gl_viewport_attrib *vp = &ctx->ViewportArray[0]; local in function:get_viewport_scale
149 a[MAT_SX] = (float)vp->Width / 2;
152 a[MAT_SY] = (float)vp->Height / 2;
155 a[MAT_SY] = - (float)vp->Height / 2;
157 a[MAT_SZ] = fb->_DepthMaxF * (vp->Far - vp->Near) / 2;
163 struct gl_viewport_attrib *vp = &ctx->ViewportArray[0]; local in function:get_viewport_translate
166 a[0] = (float)vp->Width / 2 + vp->X;
169 a[1] = (float)vp
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv50/
H A Dnv50_shader_state.c153 struct nv50_program *vp = nv50->vertprog; local in function:nv50_vertprog_validate
155 if (!nv50_program_validate(nv50, vp))
157 nv50_program_update_context_state(nv50, vp, 0);
160 PUSH_DATA (push, vp->vp.attrs[0]);
161 PUSH_DATA (push, vp->vp.attrs[1]);
163 PUSH_DATA (push, vp->max_out);
165 PUSH_DATA (push, vp->max_gpr);
167 PUSH_DATA (push, vp
423 struct nv50_program *vp = nv50->gmtyprog ? nv50->gmtyprog : nv50->vertprog; local in function:nv50_fp_linkage_validate
598 nv50_vp_gp_mapping(uint8_t * map,int m,struct nv50_program * vp,struct nv50_program * gp) argument
633 struct nv50_program *vp = nv50->vertprog; local in function:nv50_gp_linkage_validate
[all...]

Completed in 30 milliseconds

1234567891011