Lines Matching defs:desc
1562 bi_index desc = b->shader->inputs->is_blend ?
1568 bi_ld_tile_to(b, dest, bi_pixel_indices(b, rt), bi_coverage(b), desc,
3386 struct bifrost_texture_operation desc = {
3396 switch (desc.op) {
3398 desc.lod_or_fetch = BIFROST_LOD_MODE_COMPUTE;
3401 desc.lod_or_fetch = (enum bifrost_lod_mode)
3432 if (components == 3 && !desc.array) {
3439 if (desc.array) {
3448 if (desc.op == BIFROST_TEX_OP_TEX &&
3451 desc.lod_or_fetch = BIFROST_LOD_MODE_ZERO;
3452 } else if (desc.op == BIFROST_TEX_OP_TEX) {
3458 desc.lod_or_fetch = BIFROST_LOD_MODE_EXPLICIT;
3460 assert(desc.op == BIFROST_TEX_OP_FETCH);
3472 assert(desc.op == BIFROST_TEX_OP_TEX);
3477 desc.lod_or_fetch = BIFROST_LOD_MODE_BIAS;
3482 if (desc.offset_or_bias_disable)
3488 desc.offset_or_bias_disable = true;
3515 if (desc.op == BIFROST_TEX_OP_FETCH && bi_is_null(dregs[BIFROST_TEX_DREG_LOD])) {
3526 desc.immediate_indices = direct && (instr->sampler_index < 16);
3528 if (desc.immediate_indices) {
3529 desc.sampler_index_or_mode = instr->sampler_index;
3530 desc.index = instr->texture_index;
3536 desc.index = instr->texture_index;
3539 desc.index = instr->sampler_index;
3545 desc.index = instr->texture_index;
3549 desc.index = instr->sampler_index;
3555 desc.sampler_index_or_mode = mode;
3575 memcpy(&desc_u, &desc, sizeof(desc_u));