Searched refs:y_rate (Results 1 – 4 of 4) sorted by relevance
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_meta_copy_vrs_htile.c | 105 nir_ssa_def *y_rate = nir_iand_imm(&b, nir_channel(&b, &tex->dest.ssa, 0), 3); in build_copy_vrs_htile_shader() local 106 y_rate = nir_umin(&b, y_rate, nir_imm_int(&b, 1)); in build_copy_vrs_htile_shader() 109 nir_ssa_def *vrs_rates = nir_ior(&b, nir_ishl_imm(&b, y_rate, 10), nir_ishl_imm(&b, x_rate, 6)); in build_copy_vrs_htile_shader()
|
D | radv_shader.c | 405 nir_ssa_def *y_rate = nir_iand_imm(&b, val, 3); in radv_lower_primitive_shading_rate() local 406 y_rate = nir_b2i32(&b, nir_ine_imm(&b, y_rate, 0)); in radv_lower_primitive_shading_rate() 436 … out = nir_ior(&b, nir_ishl_imm(&b, x_rate, x_rate_shift), nir_ishl_imm(&b, y_rate, y_rate_shift)); in radv_lower_primitive_shading_rate()
|
/third_party/mesa3d/src/amd/llvm/ |
D | ac_nir_to_llvm.c | 3552 LLVMValueRef x_rate, y_rate, cond; in emit_load_frag_shading_rate() local 3558 y_rate = ac_unpack_param(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args->ancillary), 4, 2); in emit_load_frag_shading_rate() 3566 cond = LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, y_rate, ctx->ac.i32_1, ""); in emit_load_frag_shading_rate() 3567 y_rate = LLVMBuildSelect(ctx->ac.builder, cond, in emit_load_frag_shading_rate() 3570 return LLVMBuildOr(ctx->ac.builder, x_rate, y_rate, ""); in emit_load_frag_shading_rate()
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection.cpp | 5339 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 5348 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() 5349 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() 5352 bld.vop2(aco_opcode::v_or_b32, Definition(dst), Operand(x_rate), Operand(y_rate)); in emit_load_frag_shading_rate()
|