Lines Matching refs:depth
858 * where d is the depth of the texture array and layer
2843 if (ctx->flow->depth > 0)
2844 return &ctx->flow->stack[ctx->flow->depth - 1];
2850 for (unsigned i = ctx->flow->depth; i > 0; --i) {
2861 if (ctx->flow->depth >= ctx->flow->depth_max) {
2862 unsigned new_max = MAX2(ctx->flow->depth << 1, AC_LLVM_INITIAL_CF_DEPTH);
2868 flow = &ctx->flow->stack[ctx->flow->depth];
2869 ctx->flow->depth++;
2887 assert(ctx->flow->depth >= 1);
2889 if (ctx->flow->depth >= 2) {
2890 struct ac_llvm_flow *flow = &ctx->flow->stack[ctx->flow->depth - 2];
2950 if (ctx->flow->depth == 0 && ctx->conditional_demote_seen) {
2973 ctx->flow->depth--;
2987 ctx->flow->depth--;
4308 void ac_export_mrt_z(struct ac_llvm_context *ctx, LLVMValueRef depth, LLVMValueRef stencil,
4313 unsigned format = ac_get_spi_shader_z_format(depth != NULL, stencil != NULL, samplemask != NULL,
4316 assert(depth || stencil || samplemask);
4329 args->out[0] = LLVMGetUndef(ctx->f32); /* R, depth */
4335 assert(!depth);
4351 if (depth) {
4352 args->out[0] = depth;