Home
last modified time | relevance | path

Searched refs:MaxLocalParams (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Darbprogram.c296 if (unlikely(index + count > prog->arb.MaxLocalParams)) { in get_local_param_pointer()
298 if (!prog->arb.MaxLocalParams) { in get_local_param_pointer()
302 max = ctx->Const.Program[MESA_SHADER_VERTEX].MaxLocalParams; in get_local_param_pointer()
304 max = ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxLocalParams; in get_local_param_pointer()
317 prog->arb.MaxLocalParams = max; in get_local_param_pointer()
321 if (index + count > prog->arb.MaxLocalParams) { in get_local_param_pointer()
952 *params = limits->MaxLocalParams; in get_program_iv()
Dcontext.c312 prog->MaxLocalParams = MAX_PROGRAM_LOCAL_PARAMS; in init_program_limits()
631 assert(ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxLocalParams <= MAX_PROGRAM_LOCAL_PARAMS); in check_context_limits()
632 assert(ctx->Const.Program[MESA_SHADER_VERTEX].MaxLocalParams <= MAX_PROGRAM_LOCAL_PARAMS); in check_context_limits()
Dshader_types.h661 unsigned MaxLocalParams; member
Dconsts_exts.h399 GLuint MaxLocalParams; member
/third_party/mesa3d/src/mesa/program/
Dprogram.c73 assert(ctx->Const.Program[MESA_SHADER_VERTEX].MaxLocalParams <= (1 << INST_INDEX_BITS)); in _mesa_init_program()
75 assert(ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxLocalParams <= (1 << INST_INDEX_BITS)); in _mesa_init_program()
Dprogram_parse.y1718 if ((unsigned) $1 >= state->limits->MaxLocalParams) {
/third_party/mesa3d/src/mesa/state_tracker/
Dst_extensions.c302 pc->MaxLocalParams = MIN2(pc->MaxParameters, MAX_PROGRAM_LOCAL_PARAMS); in st_init_limits()