/external/mesa3d/src/glsl/ |
D | ir_set_program_inouts.cpp | 91 gl_fragment_program *fprog = (gl_fragment_program *) prog; in mark() local 92 fprog->InterpQualifier[var->location + var->index + offset + i] = in mark() 95 fprog->IsCentroid |= bitfield; in mark() 178 gl_fragment_program *fprog = (gl_fragment_program *) prog; in visit_enter() local 179 fprog->UsesDFdy = true; in visit_enter() 190 gl_fragment_program *fprog = (gl_fragment_program *) prog; in visit_enter() local 191 fprog->UsesKill = true; in visit_enter() 206 gl_fragment_program *fprog = (gl_fragment_program *) prog; in do_set_program_inouts() local 207 memset(fprog->InterpQualifier, 0, sizeof(fprog->InterpQualifier)); in do_set_program_inouts() 208 fprog->IsCentroid = 0; in do_set_program_inouts() [all …]
|
/external/mesa3d/src/mesa/program/ |
D | programopt.c | 250 struct gl_fragment_program *fprog, GLenum fog_mode, in _mesa_append_fog_code() argument 258 const GLuint origLen = fprog->Base.NumInstructions; in _mesa_append_fog_code() 270 if (!(fprog->Base.OutputsWritten & (1 << FRAG_RESULT_COLOR))) { in _mesa_append_fog_code() 284 _mesa_copy_instructions(newInst, fprog->Base.Instructions, origLen); in _mesa_append_fog_code() 288 = _mesa_add_state_reference(fprog->Base.Parameters, fogPStateOpt); in _mesa_append_fog_code() 291 = _mesa_add_state_reference(fprog->Base.Parameters, fogColorState); in _mesa_append_fog_code() 294 colorTemp = fprog->Base.NumTemporaries++; in _mesa_append_fog_code() 296 fogFactorTemp = fprog->Base.NumTemporaries++; in _mesa_append_fog_code() 300 for (i = 0; i < fprog->Base.NumInstructions; i++) { in _mesa_append_fog_code() 409 _mesa_free_instructions(fprog->Base.Instructions, origLen); in _mesa_append_fog_code() [all …]
|
D | programopt.h | 36 struct gl_fragment_program *fprog, GLenum fog_mode,
|
/external/mesa3d/src/mesa/main/ |
D | nvprogram.c | 649 struct gl_fragment_program *fprog = gl_fragment_program(prog); in _mesa_LoadProgramNV() local 650 if (!fprog || prog == &_mesa_DummyProgram) { in _mesa_LoadProgramNV() 651 fprog = gl_fragment_program(ctx->Driver.NewProgram(ctx, target, id)); in _mesa_LoadProgramNV() 652 if (!fprog) { in _mesa_LoadProgramNV() 656 _mesa_HashInsert(ctx->Shared->Programs, id, fprog); in _mesa_LoadProgramNV() 658 _mesa_parse_nv_fragment_program(ctx, target, program, len, fprog); in _mesa_LoadProgramNV() 662 struct gl_fragment_program *fprog = gl_fragment_program(prog); in _mesa_LoadProgramNV() local 663 if (!fprog || prog == &_mesa_DummyProgram) { in _mesa_LoadProgramNV() 664 fprog = gl_fragment_program(ctx->Driver.NewProgram(ctx, target, id)); in _mesa_LoadProgramNV() 665 if (!fprog) { in _mesa_LoadProgramNV() [all …]
|
D | texstate.c | 496 struct gl_program *fprog = NULL; in update_texture_state() local 512 fprog = ctx->Shader.CurrentFragmentProgram->_LinkedShaders[MESA_SHADER_FRAGMENT]->Program; in update_texture_state() 515 fprog = &ctx->FragmentProgram.Current->Base; in update_texture_state() 550 if (fprog) { in update_texture_state() 551 enabledFragTargets |= fprog->TexturesUsed[unit]; in update_texture_state() 591 if (fprog) { in update_texture_state() 631 if (fprog) { in update_texture_state() 634 = (fprog->InputsRead >> FRAG_ATTRIB_TEX0) & coordMask; in update_texture_state()
|
/external/strace/ |
D | seccomp.c | 198 struct seccomp_fprog fprog; in print_seccomp_filter() local 200 if (fetch_seccomp_fprog(tcp, addr, &fprog)) in print_seccomp_filter() 201 decode_fprog(tcp, fprog.len, fprog.filter); in print_seccomp_filter()
|
/external/minijail/ |
D | bpf.c | 180 void dump_bpf_prog(struct sock_fprog *fprog) in dump_bpf_prog() argument 182 struct sock_filter *filter = fprog->filter; in dump_bpf_prog() 183 unsigned short len = fprog->len; in dump_bpf_prog()
|
D | bpf.h | 189 void dump_bpf_prog(struct sock_fprog *fprog);
|
D | libminijail.c | 625 struct sock_fprog *fprog = malloc(sizeof(struct sock_fprog)); in minijail_parse_seccomp_filters() local 626 if (compile_filter(file, fprog, j->flags.log_seccomp_filter)) { in minijail_parse_seccomp_filters() 631 j->filter_len = fprog->len; in minijail_parse_seccomp_filters() 632 j->filter_prog = fprog; in minijail_parse_seccomp_filters()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_texture.c | 393 struct gl_fragment_program *fprog = ctx->FragmentProgram._Current; in finalize_textures() local 400 if (fprog->Base.SamplersUsed & (1 << su)) { in finalize_textures() 401 const GLuint texUnit = fprog->Base.SamplerUnits[su]; in finalize_textures()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_wm.c | 135 const struct gl_fragment_program *fprog) in brw_compute_barycentric_interp_modes() argument 146 fprog->InterpQualifier[attr]; in brw_compute_barycentric_interp_modes() 147 bool is_centroid = fprog->IsCentroid & BITFIELD64_BIT(attr); in brw_compute_barycentric_interp_modes() 151 if (!(fprog->Base.InputsRead & BITFIELD64_BIT(attr))) in brw_compute_barycentric_interp_modes()
|
D | brw_program.c | 133 struct gl_fragment_program *fprog = (struct gl_fragment_program *) prog; in brwProgramStringNotify() local 134 struct brw_fragment_program *newFP = brw_fragment_program(fprog); in brwProgramStringNotify()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_context.c | 225 const struct gl_fragment_program *fprog in _swrast_update_deferred_texture() local 227 if (use_fprog && (fprog->Base.OutputsWritten & (1 << FRAG_RESULT_DEPTH))) { in _swrast_update_deferred_texture() 231 else if (use_fprog && fprog->UsesKill) { in _swrast_update_deferred_texture()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_tris.c | 957 const struct gl_fragment_program *fprog = ctx->FragmentProgram._Current; in intelChooseRenderState() local 958 bool have_wpos = (fprog && (fprog->Base.InputsRead & FRAG_BIT_WPOS)); in intelChooseRenderState()
|