Searched refs:fprog (Results 1 - 20 of 20) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dir_set_program_inouts.cpp91 gl_fragment_program *fprog = (gl_fragment_program *) prog; local
92 fprog->InterpQualifier[var->location + var->index + offset + i] =
95 fprog->IsCentroid |= bitfield;
178 gl_fragment_program *fprog = (gl_fragment_program *) prog; local
179 fprog->UsesDFdy = true;
190 gl_fragment_program *fprog = (gl_fragment_program *) prog; local
191 fprog->UsesKill = true;
206 gl_fragment_program *fprog = (gl_fragment_program *) prog; local
207 memset(fprog->InterpQualifier, 0, sizeof(fprog
[all...]
/external/mesa3d/src/glsl/
H A Dir_set_program_inouts.cpp91 gl_fragment_program *fprog = (gl_fragment_program *) prog; local
92 fprog->InterpQualifier[var->location + var->index + offset + i] =
95 fprog->IsCentroid |= bitfield;
178 gl_fragment_program *fprog = (gl_fragment_program *) prog; local
179 fprog->UsesDFdy = true;
190 gl_fragment_program *fprog = (gl_fragment_program *) prog; local
191 fprog->UsesKill = true;
206 gl_fragment_program *fprog = (gl_fragment_program *) prog; local
207 memset(fprog->InterpQualifier, 0, sizeof(fprog
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/program/
H A Dprogramopt.h36 struct gl_fragment_program *fprog, GLenum fog_mode,
H A Dprogramopt.c238 * \param fprog Fragment program that fog instructions will be appended to.
243 * This function sets \c FRAG_BIT_FOGC in \c fprog->Base.InputsRead.
250 struct gl_fragment_program *fprog, GLenum fog_mode,
258 const GLuint origLen = fprog->Base.NumInstructions;
270 if (!(fprog->Base.OutputsWritten & (1 << FRAG_RESULT_COLOR))) {
284 _mesa_copy_instructions(newInst, fprog->Base.Instructions, origLen);
288 = _mesa_add_state_reference(fprog->Base.Parameters, fogPStateOpt);
291 = _mesa_add_state_reference(fprog->Base.Parameters, fogColorState);
294 colorTemp = fprog->Base.NumTemporaries++;
296 fogFactorTemp = fprog
249 _mesa_append_fog_code(struct gl_context *ctx, struct gl_fragment_program *fprog, GLenum fog_mode, GLboolean saturate) argument
[all...]
/external/mesa3d/src/mesa/program/
H A Dprogramopt.h36 struct gl_fragment_program *fprog, GLenum fog_mode,
H A Dprogramopt.c238 * \param fprog Fragment program that fog instructions will be appended to.
243 * This function sets \c FRAG_BIT_FOGC in \c fprog->Base.InputsRead.
250 struct gl_fragment_program *fprog, GLenum fog_mode,
258 const GLuint origLen = fprog->Base.NumInstructions;
270 if (!(fprog->Base.OutputsWritten & (1 << FRAG_RESULT_COLOR))) {
284 _mesa_copy_instructions(newInst, fprog->Base.Instructions, origLen);
288 = _mesa_add_state_reference(fprog->Base.Parameters, fogPStateOpt);
291 = _mesa_add_state_reference(fprog->Base.Parameters, fogColorState);
294 colorTemp = fprog->Base.NumTemporaries++;
296 fogFactorTemp = fprog
249 _mesa_append_fog_code(struct gl_context *ctx, struct gl_fragment_program *fprog, GLenum fog_mode, GLboolean saturate) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dnvprogram.c649 struct gl_fragment_program *fprog = gl_fragment_program(prog); local
650 if (!fprog || prog == &_mesa_DummyProgram) {
651 fprog = gl_fragment_program(ctx->Driver.NewProgram(ctx, target, id));
652 if (!fprog) {
656 _mesa_HashInsert(ctx->Shared->Programs, id, fprog);
658 _mesa_parse_nv_fragment_program(ctx, target, program, len, fprog);
662 struct gl_fragment_program *fprog = gl_fragment_program(prog); local
663 if (!fprog || prog == &_mesa_DummyProgram) {
664 fprog = gl_fragment_program(ctx->Driver.NewProgram(ctx, target, id));
665 if (!fprog) {
[all...]
H A Dtexstate.c496 struct gl_program *fprog = NULL; local
512 fprog = ctx->Shader.CurrentFragmentProgram->_LinkedShaders[MESA_SHADER_FRAGMENT]->Program;
515 fprog = &ctx->FragmentProgram.Current->Base;
550 if (fprog) {
551 enabledFragTargets |= fprog->TexturesUsed[unit];
591 if (fprog) {
631 if (fprog) {
634 = (fprog->InputsRead >> FRAG_ATTRIB_TEX0) & coordMask;
/external/mesa3d/src/mesa/main/
H A Dnvprogram.c649 struct gl_fragment_program *fprog = gl_fragment_program(prog); local
650 if (!fprog || prog == &_mesa_DummyProgram) {
651 fprog = gl_fragment_program(ctx->Driver.NewProgram(ctx, target, id));
652 if (!fprog) {
656 _mesa_HashInsert(ctx->Shared->Programs, id, fprog);
658 _mesa_parse_nv_fragment_program(ctx, target, program, len, fprog);
662 struct gl_fragment_program *fprog = gl_fragment_program(prog); local
663 if (!fprog || prog == &_mesa_DummyProgram) {
664 fprog = gl_fragment_program(ctx->Driver.NewProgram(ctx, target, id));
665 if (!fprog) {
[all...]
H A Dtexstate.c496 struct gl_program *fprog = NULL; local
512 fprog = ctx->Shader.CurrentFragmentProgram->_LinkedShaders[MESA_SHADER_FRAGMENT]->Program;
515 fprog = &ctx->FragmentProgram.Current->Base;
550 if (fprog) {
551 enabledFragTargets |= fprog->TexturesUsed[unit];
591 if (fprog) {
631 if (fprog) {
634 = (fprog->InputsRead >> FRAG_ATTRIB_TEX0) & coordMask;
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_atom_texture.c393 struct gl_fragment_program *fprog = ctx->FragmentProgram._Current; local
400 if (fprog->Base.SamplersUsed & (1 << su)) {
401 const GLuint texUnit = fprog->Base.SamplerUnits[su];
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_texture.c393 struct gl_fragment_program *fprog = ctx->FragmentProgram._Current; local
400 if (fprog->Base.SamplersUsed & (1 << su)) {
401 const GLuint texUnit = fprog->Base.SamplerUnits[su];
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_program.c133 struct gl_fragment_program *fprog = (struct gl_fragment_program *) prog; local
134 struct brw_fragment_program *newFP = brw_fragment_program(fprog);
H A Dbrw_wm.c135 const struct gl_fragment_program *fprog)
146 fprog->InterpQualifier[attr];
147 bool is_centroid = fprog->IsCentroid & BITFIELD64_BIT(attr);
151 if (!(fprog->Base.InputsRead & BITFIELD64_BIT(attr)))
133 brw_compute_barycentric_interp_modes(struct brw_context *brw, bool shade_model_flat, const struct gl_fragment_program *fprog) argument
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_program.c133 struct gl_fragment_program *fprog = (struct gl_fragment_program *) prog; local
134 struct brw_fragment_program *newFP = brw_fragment_program(fprog);
H A Dbrw_wm.c135 const struct gl_fragment_program *fprog)
146 fprog->InterpQualifier[attr];
147 bool is_centroid = fprog->IsCentroid & BITFIELD64_BIT(attr);
151 if (!(fprog->Base.InputsRead & BITFIELD64_BIT(attr)))
133 brw_compute_barycentric_interp_modes(struct brw_context *brw, bool shade_model_flat, const struct gl_fragment_program *fprog) argument
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_context.c225 const struct gl_fragment_program *fprog local
227 if (use_fprog && (fprog->Base.OutputsWritten & (1 << FRAG_RESULT_DEPTH))) {
231 else if (use_fprog && fprog->UsesKill) {
/external/mesa3d/src/mesa/swrast/
H A Ds_context.c225 const struct gl_fragment_program *fprog local
227 if (use_fprog && (fprog->Base.OutputsWritten & (1 << FRAG_RESULT_DEPTH))) {
231 else if (use_fprog && fprog->UsesKill) {
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
H A Dintel_tris.c957 const struct gl_fragment_program *fprog = ctx->FragmentProgram._Current; local
958 bool have_wpos = (fprog && (fprog->Base.InputsRead & FRAG_BIT_WPOS));
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_tris.c957 const struct gl_fragment_program *fprog = ctx->FragmentProgram._Current; local
958 bool have_wpos = (fprog && (fprog->Base.InputsRead & FRAG_BIT_WPOS));

Completed in 1018 milliseconds