• Home
  • Raw
  • Download

Lines Matching refs:Const

61    ASSERT(ctx->Const.VertexProgram.MaxUniformComponents / 4  in _mesa_init_program()
63 ASSERT(ctx->Const.FragmentProgram.MaxUniformComponents / 4 in _mesa_init_program()
66 ASSERT(ctx->Const.VertexProgram.MaxTemps <= (1 << INST_INDEX_BITS)); in _mesa_init_program()
67 ASSERT(ctx->Const.VertexProgram.MaxLocalParams <= (1 << INST_INDEX_BITS)); in _mesa_init_program()
68 ASSERT(ctx->Const.FragmentProgram.MaxTemps <= (1 << INST_INDEX_BITS)); in _mesa_init_program()
69 ASSERT(ctx->Const.FragmentProgram.MaxLocalParams <= (1 << INST_INDEX_BITS)); in _mesa_init_program()
71 ASSERT(ctx->Const.VertexProgram.MaxUniformComponents <= 4 * MAX_UNIFORMS); in _mesa_init_program()
72 ASSERT(ctx->Const.FragmentProgram.MaxUniformComponents <= 4 * MAX_UNIFORMS); in _mesa_init_program()
74 ASSERT(ctx->Const.VertexProgram.MaxAddressOffset <= (1 << INST_INDEX_BITS)); in _mesa_init_program()
75 ASSERT(ctx->Const.FragmentProgram.MaxAddressOffset <= (1 << INST_INDEX_BITS)); in _mesa_init_program()
928 c = &ctx->Const.VertexProgram; in _mesa_valid_register_index()
931 c = &ctx->Const.FragmentProgram; in _mesa_valid_register_index()
934 c = &ctx->Const.GeometryProgram; in _mesa_valid_register_index()
976 return index < FRAG_ATTRIB_VAR0 + ctx->Const.MaxVarying; in _mesa_valid_register_index()
978 return index < GEOM_ATTRIB_VAR0 + ctx->Const.MaxVarying; in _mesa_valid_register_index()
989 return index < VERT_RESULT_VAR0 + ctx->Const.MaxVarying; in _mesa_valid_register_index()
991 return index < FRAG_RESULT_DATA0 + ctx->Const.MaxDrawBuffers; in _mesa_valid_register_index()
993 return index < GEOM_RESULT_VAR0 + ctx->Const.MaxVarying; in _mesa_valid_register_index()