Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_copy_vrs_htile.c109 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() local
132 nir_ssa_def *output_value = nir_ior(&b, nir_load_var(&b, htile_value), vrs_rates); in build_copy_vrs_htile_shader()
Dradv_shader.c493 nir_ssa_def *vrs_rates = nir_load_force_vrs_rates_amd(&b); in radv_force_primitive_shading_rate() local
497 vrs_rates, nir_imm_int(&b, 0)); in radv_force_primitive_shading_rate()
Dradv_cmd_buffer.c4023 uint32_t vrs_rates = 0; in radv_flush_force_vrs_state() local
4039 vrs_rates = gfx_level >= GFX11 ? V_0283D0_VRS_SHADING_RATE_2X2 : (1u << 2) | (1u << 4); in radv_flush_force_vrs_state()
4042 vrs_rates = gfx_level >= GFX11 ? V_0283D0_VRS_SHADING_RATE_2X1 : (1u << 2) | (0u << 4); in radv_flush_force_vrs_state()
4045 vrs_rates = gfx_level >= GFX11 ? V_0283D0_VRS_SHADING_RATE_1X2 : (0u << 2) | (1u << 4); in radv_flush_force_vrs_state()
4051 if (cmd_buffer->state.last_vrs_rates != vrs_rates || in radv_flush_force_vrs_state()
4053 radeon_set_sh_reg(cmd_buffer->cs, base_reg + loc->sgpr_idx * 4, vrs_rates); in radv_flush_force_vrs_state()
4056 cmd_buffer->state.last_vrs_rates = vrs_rates; in radv_flush_force_vrs_state()
Dradv_device.c3648 const char *vrs_rates = getenv("RADV_FORCE_VRS"); in radv_CreateDevice() local
3650 device->force_vrs = radv_parse_vrs_rates(vrs_rates); in radv_CreateDevice()