Home
last modified time | relevance | path

Searched refs:InputsRead (Results 1 – 25 of 48) sorted by relevance

12

/external/mesa3d/src/mesa/program/
Darbprogparse.c110 program->Base.InputsRead = prog.InputsRead; in _mesa_parse_arb_fragment_program()
199 program->Base.InputsRead = prog.InputsRead; in _mesa_parse_arb_vertex_program()
Dprogramopt.c111 vprog->Base.InputsRead |= VERT_BIT_POS; in _mesa_insert_mvp_dp4_code()
213 vprog->Base.InputsRead |= VERT_BIT_POS; in _mesa_insert_mvp_mad_code()
414 fprog->Base.InputsRead |= FRAG_BIT_FOGC; in _mesa_append_fog_code()
621 if (prog->Base.InputsRead & FRAG_BIT_COL0) in _mesa_nop_fragment_program()
634 prog->Base.InputsRead = BITFIELD64_BIT(inputAttr); in _mesa_nop_fragment_program()
665 if (prog->Base.InputsRead & VERT_BIT_COLOR0) in _mesa_nop_vertex_program()
678 prog->Base.InputsRead = BITFIELD64_BIT(inputAttr); in _mesa_nop_vertex_program()
Dprogram.c507 clone->InputsRead = prog->InputsRead; in _mesa_clone_program()
763 GLbitfield64 progB_inputsRead = progB->InputsRead; in _mesa_combine_programs()
829 newProg->InputsRead = progA->InputsRead | inputsB; in _mesa_combine_programs()
/external/mesa3d/src/mesa/main/
Dstate.h64 (ctx->VertexProgram._Current->Base.InputsRead & VERT_BIT_COLOR1)) in _mesa_need_secondary_color()
69 (ctx->FragmentProgram._Current->Base.InputsRead & FRAG_BIT_COL1)) in _mesa_need_secondary_color()
/external/mesa3d/src/mesa/tnl/
Dt_context.c145 if (!fp || (fp->Base.InputsRead & FRAG_BIT_COL0)) { in _tnl_InvalidateState()
154 (fp && fp->Base.InputsRead & FRAG_BIT_TEX(i))) { in _tnl_InvalidateState()
160 || (fp != NULL && (fp->Base.InputsRead & FRAG_BIT_FOGC) != 0)) { in _tnl_InvalidateState()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler.c114 c->Program.InputsRead = 0; in rc_calculate_inputs_outputs()
124 c->Program.InputsRead |= 1 << inst->U.I.SrcReg[i].Index; in rc_calculate_inputs_outputs()
142 c->Program.InputsRead &= ~(1 << input); in rc_move_input()
158 c->Program.InputsRead |= 1 << new_input.Index; in rc_move_input()
244 c->Program.InputsRead &= ~(1 << wpos); in rc_transform_fragment_wpos()
245 c->Program.InputsRead |= 1 << new_input; in rc_transform_fragment_wpos()
Dradeon_program.h161 uint32_t InputsRead; member
Dradeon_code.h288 uint32_t InputsRead; member
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_vertprog.c422 if ((mesa_vp->Base.InputsRead & in r200_translate_vertex_program()
428 mesa_vp->Base.InputsRead); in r200_translate_vertex_program()
505 if (mesa_vp->Base.InputsRead & VERT_BIT_POS) { in r200_translate_vertex_program()
511 if (mesa_vp->Base.InputsRead & VERT_BIT_WEIGHT) { in r200_translate_vertex_program()
516 if (mesa_vp->Base.InputsRead & VERT_BIT_NORMAL) { in r200_translate_vertex_program()
521 if (mesa_vp->Base.InputsRead & VERT_BIT_COLOR0) { in r200_translate_vertex_program()
527 if (mesa_vp->Base.InputsRead & VERT_BIT_COLOR1) { in r200_translate_vertex_program()
533 if (mesa_vp->Base.InputsRead & VERT_BIT_FOG) { in r200_translate_vertex_program()
540 if (mesa_vp->Base.InputsRead & VERT_BIT_TEX(i)) { in r200_translate_vertex_program()
549 if (mesa_vp->Base.InputsRead & VERT_BIT_TEX(i)) { in r200_translate_vertex_program()
[all …]
/external/mesa3d/src/glsl/
Dir_set_program_inouts.cpp89 prog->InputsRead |= bitfield; in mark()
202 prog->InputsRead = 0; in do_set_program_inouts()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen6_wm_state.c178 if (fp->program.Base.InputsRead & FRAG_BIT_WPOS) in upload_wm_state()
196 dw6 |= _mesa_bitcount_64(brw->fragment_program->Base.InputsRead) << in upload_wm_state()
Dgen7_wm_state.c61 if (fp->program.Base.InputsRead & FRAG_BIT_WPOS) in upload_wm_state()
196 if (brw->fragment_program->Base.InputsRead != 0) in upload_ps_state()
Dbrw_wm.c151 if (!(fprog->Base.InputsRead & BITFIELD64_BIT(attr))) in brw_compute_barycentric_interp_modes()
196 bool uses_depth = (c->fp->program.Base.InputsRead & in brw_wm_payload_setup()
597 if (fp->program.Base.InputsRead & FRAG_BIT_WPOS) { in brw_wm_populate_key()
601 if ((fp->program.Base.InputsRead & FRAG_BIT_WPOS) || program_uses_dfdy) { in brw_wm_populate_key()
Dgen7_sf_state.c38 uint32_t num_outputs = _mesa_bitcount_64(brw->fragment_program->Base.InputsRead); in upload_sbe_state()
78 if (!(brw->fragment_program->Base.InputsRead & BITFIELD64_BIT(attr))) in upload_sbe_state()
Dgen6_sf_state.c122 uint32_t num_outputs = _mesa_bitcount_64(brw->fragment_program->Base.InputsRead); in upload_sf_state()
279 if (!(brw->fragment_program->Base.InputsRead & BITFIELD64_BIT(attr))) in upload_sf_state()
Dbrw_wm_iz.c129 bool uses_depth = (c->fp->program.Base.InputsRead & in brw_wm_lookup_iz()
Dbrw_vs.c214 c.prog_data.inputs_read = vp->program.Base.InputsRead; in do_vs_prog()
425 if (vp->program.Base.InputsRead & BITFIELD64_BIT(i) && in brw_upload_vs_prog()
Dbrw_sf.c184 if (brw->fragment_program->Base.InputsRead & BITFIELD64_BIT(FRAG_ATTRIB_PNTC)) in brw_upload_sf_prog()
Dbrw_vs_constval.c218 if (vp->program.Base.InputsRead & BITFIELD64_BIT(i)) in calc_wm_input_sizes()
Dbrw_fs.cpp950 if (fp->Base.InputsRead & BITFIELD64_BIT(i)) { in calculate_urb_setup()
982 if (fp->Base.InputsRead & BITFIELD64_BIT(FRAG_ATTRIB_PNTC)) in calculate_urb_setup()
2165 if (!(fp->Base.InputsRead & BITFIELD64_BIT(i))) in brw_fs_precompile()
2192 if (fp->Base.InputsRead & FRAG_BIT_WPOS) { in brw_fs_precompile()
2196 if ((fp->Base.InputsRead & FRAG_BIT_WPOS) || program_uses_dfdy) { in brw_fs_precompile()
Dbrw_wm_state.c152 wm->wm5.program_uses_depth = (fp->Base.InputsRead & in brw_upload_wm_unit()
/external/mesa3d/src/mesa/vbo/
Dvbo_save_draw.c183 if ((ctx->VertexProgram._Current->Base.InputsRead & VERT_BIT_POS) == 0 && in vbo_bind_vertex_list()
184 (ctx->VertexProgram._Current->Base.InputsRead & VERT_BIT_GENERIC0)) { in vbo_bind_vertex_list()
Dvbo_exec_draw.c206 if ((ctx->VertexProgram._Current->Base.InputsRead & VERT_BIT_POS) == 0 && in vbo_exec_bind_arrays()
207 (ctx->VertexProgram._Current->Base.InputsRead & VERT_BIT_GENERIC0)) { in vbo_exec_bind_arrays()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_rasterizer.c184 if (fragProg->Base.InputsRead & FRAG_BIT_PNTC) { in update_raster_state()
Dst_program.c198 if ((stvp->Base.Base.InputsRead & BITFIELD64_BIT(attr)) != 0) { in st_prepare_vertex_program()
536 inputsRead = stfp->Base.Base.InputsRead; in st_translate_fragment_program()
852 inputsRead = stgp->Base.Base.InputsRead; in st_translate_geometry_program()

12