Searched refs:MaxLocalParams (Results 1 – 7 of 7) sorted by relevance
296 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()
312 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()
661 unsigned MaxLocalParams; member
399 GLuint MaxLocalParams; member
73 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()
1718 if ((unsigned) $1 >= state->limits->MaxLocalParams) {
302 pc->MaxLocalParams = MIN2(pc->MaxParameters, MAX_PROGRAM_LOCAL_PARAMS); in st_init_limits()