Lines Matching defs:stencil
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);
4330 args->out[1] = LLVMGetUndef(ctx->f32); /* G, stencil test val[0:7], stencil op val[8:15] */
4338 if (stencil) {
4340 stencil = ac_to_integer(ctx, stencil);
4341 stencil = LLVMBuildShl(ctx->builder, stencil, LLVMConstInt(ctx->i32, 16, 0), "");
4342 args->out[0] = ac_to_float(ctx, stencil);
4355 if (stencil) {
4356 args->out[1] = stencil;