Searched refs:stfp (Results 1 - 14 of 14) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_cb_program.c124 struct st_fragment_program *stfp = local in function:st_delete_program
127 st_release_fp_variants(st, stfp);
129 if (stfp->glsl_to_tgsi)
130 free_glsl_to_tgsi_visitor(stfp->glsl_to_tgsi);
167 struct st_fragment_program *stfp = (struct st_fragment_program *) prog; local in function:st_program_string_notify
169 st_release_fp_variants(st, stfp);
170 if (!st_translate_fragment_program(st, stfp))
173 if (st->fp == stfp)
174 st->dirty |= stfp->affected_states;
235 struct st_fragment_program *stfp local in function:st_program_string_notify
265 struct st_fragment_program *stfp = (struct st_fragment_program *)prog; local in function:st_new_ati_fs
[all...]
H A Dst_atom_shader.c99 struct st_fragment_program *stfp; local in function:st_update_fp
102 stfp = st_fragment_program(st->ctx->FragmentProgram._Current);
103 assert(stfp->Base.Target == GL_FRAGMENT_PROGRAM_ARB);
108 !stfp->ati_fs && /* ATI_fragment_shader always has multiple variants */
109 !stfp->Base.ExternalSamplersUsed && /* external samplers need variants */
110 stfp->variants &&
111 !stfp->variants->key.drawpixels &&
112 !stfp->variants->key.bitmap) {
113 shader = stfp->variants->driver_shader;
134 if (stfp
[all...]
H A Dst_program.c297 st_release_fp_variants(struct st_context *st, struct st_fragment_program *stfp) argument
301 for (fpv = stfp->variants; fpv; ) {
307 stfp->variants = NULL;
309 delete_ir(&stfp->tgsi);
747 struct st_fragment_program *stfp)
750 if (stfp->shader_program) {
751 st_store_ir_in_disk_cache(st, &stfp->Base, true);
776 if (!stfp->glsl_to_tgsi && !stfp->shader_program) {
777 _mesa_remove_output_reads(&stfp
746 st_translate_fragment_program(struct st_context * st,struct st_fragment_program * stfp) argument
1127 st_create_fp_variant(struct st_context * st,struct st_fragment_program * stfp,const struct st_fp_variant_key * key) argument
1358 st_get_fp_variant(struct st_context * st,struct st_fragment_program * stfp,const struct st_fp_variant_key * key) argument
1892 struct st_fragment_program *stfp = local in function:destroy_program_variants
[all...]
H A Dst_shader_cache.c120 struct st_fragment_program *stfp = (struct st_fragment_program *) prog; local in function:st_serialise_ir_program
125 write_tgsi_to_cache(&blob, stfp->tgsi.tokens, prog,
126 stfp->num_tgsi_tokens);
307 struct st_fragment_program *stfp = (struct st_fragment_program *) prog; local in function:st_deserialise_ir_program
309 st_release_fp_variants(st, stfp);
312 stfp->tgsi.type = PIPE_SHADER_IR_NIR;
313 stfp->shader_program = shProg;
314 stfp->tgsi.ir.nir = nir_deserialize(NULL, options, &blob_reader);
315 prog->nir = stfp->tgsi.ir.nir;
317 read_tgsi_from_cache(&blob_reader, &stfp
[all...]
H A Dst_program.h393 struct st_fragment_program *stfp,
412 struct st_fragment_program *stfp );
432 struct st_fragment_program *stfp);
H A Dst_glsl_to_nir.cpp557 struct st_fragment_program *stfp; local in function:set_st_program
576 stfp = (struct st_fragment_program *)prog;
577 stfp->shader_program = shader_program;
578 stfp->tgsi.type = PIPE_SHADER_IR_NIR;
579 stfp->tgsi.ir.nir = nir;
H A Dst_atifs_to_tgsi.c544 struct st_fragment_program *stfp = (struct st_fragment_program *) prog; local in function:st_init_atifs_prog
545 struct ati_fragment_shader *atifs = stfp->ati_fs;
H A Dst_glsl_to_tgsi.cpp7258 struct st_fragment_program *stfp; local in function:get_mesa_program_tgsi
7268 stfp = (struct st_fragment_program *)prog;
7269 stfp->glsl_to_tgsi = v;
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_program.c1011 struct st_program *stfp)
1014 if (!stfp->glsl_to_tgsi) {
1015 _mesa_remove_output_reads(&stfp->Base, PROGRAM_OUTPUT);
1017 _mesa_program_fragment_position_to_sysval(&stfp->Base);
1024 stfp->affected_states = ST_NEW_FS_STATE |
1028 if (stfp->ati_fs) {
1030 stfp->affected_states |= ST_NEW_FS_SAMPLER_VIEWS |
1034 if (stfp->Base.SamplersUsed)
1035 stfp->affected_states |= ST_NEW_FS_SAMPLER_VIEWS |
1040 if (!stfp
1010 st_translate_fragment_program(struct st_context * st,struct st_program * stfp) argument
1334 st_create_fp_variant(struct st_context * st,struct st_program * stfp,const struct st_fp_variant_key * key) argument
1658 st_get_fp_variant(struct st_context * st,struct st_program * stfp,const struct st_fp_variant_key * key) argument
[all...]
H A Dst_atom_shader.c122 struct st_program *stfp; local in function:st_update_fp
125 stfp = st_program(st->ctx->FragmentProgram._Current);
126 assert(stfp->Base.Target == GL_FRAGMENT_PROGRAM_ARB);
131 !stfp->ati_fs && /* ATI_fragment_shader always has multiple variants */
132 !stfp->Base.ExternalSamplersUsed /* external samplers need variants */) {
133 shader = stfp->variants->driver_shader;
176 if (stfp->ati_fs) {
184 key.external = st_get_external_sampler_key(st, &stfp->Base);
188 shader = st_get_fp_variant(st, stfp, &key)->base.driver_shader;
192 st_reference_prog(st, &st->fp, stfp);
[all...]
H A Dst_cb_program.c145 struct st_program *stfp = (struct st_program *)prog; local in function:st_new_ati_fs
146 stfp->ati_fs = curProg;
H A Dst_program.h336 struct st_program *stfp,
368 struct st_program *stfp);
H A Dst_atifs_to_nir.c539 struct st_program *stfp = (struct st_program *) prog; local in function:st_init_atifs_prog
540 struct ati_fragment_shader *atifs = stfp->ati_fs;
H A Dst_context.c283 struct st_program *stfp = st_program(ctx->FragmentProgram._Current); local in function:st_invalidate_state
285 if (stfp->Base.ExternalSamplersUsed || stfp->ati_fs)

Completed in 22 milliseconds