Home
last modified time | relevance | path

Searched refs:y_rate (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_copy_vrs_htile.c106 nir_ssa_def *y_rate = nir_iand(&b, &tex->dest.ssa, nir_imm_int(&b, 3)); in build_copy_vrs_htile_shader() local
107 y_rate = nir_umin(&b, y_rate, nir_imm_int(&b, 1)); in build_copy_vrs_htile_shader()
110 nir_ssa_def *vrs_rates = nir_ior(&b, nir_ishl(&b, y_rate, nir_imm_int(&b, 10)), in build_copy_vrs_htile_shader()
Dradv_shader.c394 nir_ssa_def *y_rate = nir_iand(&b, val, nir_imm_int(&b, 3)); in radv_lower_primitive_shading_rate() local
395 y_rate = nir_b2i32(&b, nir_ine(&b, y_rate, nir_imm_int(&b, 0))); in radv_lower_primitive_shading_rate()
402 nir_ishl(&b, y_rate, nir_imm_int(&b, 4))); in radv_lower_primitive_shading_rate()
/third_party/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c3506 LLVMValueRef x_rate, y_rate, cond; in emit_load_frag_shading_rate() local
3512 y_rate = ac_unpack_param(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args->ancillary), 4, 2); in emit_load_frag_shading_rate()
3520 cond = LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, y_rate, ctx->ac.i32_1, ""); in emit_load_frag_shading_rate()
3521 y_rate = LLVMBuildSelect(ctx->ac.builder, cond, in emit_load_frag_shading_rate()
3524 return LLVMBuildOr(ctx->ac.builder, x_rate, y_rate, ""); in emit_load_frag_shading_rate()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp4860 Temp y_rate = bld.vop3(aco_opcode::v_bfe_u32, bld.def(v1), get_arg(ctx, ctx->args->ac.ancillary), in emit_load_frag_shading_rate() local
4869 cond = bld.vopc(aco_opcode::v_cmp_eq_i32, bld.def(bld.lm), Operand::c32(1u), Operand(y_rate)); in emit_load_frag_shading_rate()
4870 y_rate = bld.vop2(aco_opcode::v_cndmask_b32, bld.def(v1), bld.copy(bld.def(v1), Operand::zero()), in emit_load_frag_shading_rate()
4873 bld.vop2(aco_opcode::v_or_b32, Definition(dst), Operand(x_rate), Operand(y_rate)); in emit_load_frag_shading_rate()