Lines Matching refs:stack
372 util_debug_message(&rctx->b.debug, SHADER_INFO, "%s shader: %d dw, %d gprs, %d alu_groups, %d loops, %d cf, %d stack",
10450 struct r600_stack_info *stack = &ctx->bc->stack;
10454 unsigned entry_size = stack->entry_size;
10456 elements = (stack->loop + stack->push_wqm ) * entry_size;
10457 elements += stack->push;
10463 * the stack must be reserved to hold the current active/continue
10465 if (reason == FC_PUSH_VPM || stack->push > 0) {
10471 /* r9xx: any stack operation on empty stack consumes 2 additional
10483 * stack usage.
10485 * 2. There are LOOP/WQM frames on the stack when any flavor of non-WQM
10491 if (reason == FC_PUSH_VPM || stack->push > 0) {
10508 if (entries > stack->max_entries)
10509 stack->max_entries = entries;
10517 --ctx->bc->stack.push;
10518 assert(ctx->bc->stack.push >= 0);
10521 --ctx->bc->stack.push_wqm;
10522 assert(ctx->bc->stack.push_wqm >= 0);
10525 --ctx->bc->stack.loop;
10526 assert(ctx->bc->stack.loop >= 0);
10538 ++ctx->bc->stack.push;
10541 ++ctx->bc->stack.push_wqm;
10544 ++ctx->bc->stack.loop;
10637 if (ctx->bc->gfx_level == CAYMAN && ctx->bc->stack.loop > 1)
10641 unsigned dmod1 = (elems - 1) % ctx->bc->stack.entry_size;
10642 unsigned dmod2 = (elems) % ctx->bc->stack.entry_size;
10649 * LOOP_STARTxxx for nested loops may put the branch stack into a state
10725 /* check stack depth */