radv: fix swizzles after nir_opt_algebraic_late
Fixes: 2e895f8b04
('radv: vectorize nir_op_fabs')
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17279>
This commit is contained in:
parent
2ac3e921e3
commit
7750281b43
|
@ -4917,6 +4917,7 @@ radv_create_shaders(struct radv_pipeline *pipeline, struct radv_pipeline_layout
|
|||
radv_use_llvm_for_stage(device, i));
|
||||
radv_optimize_nir_algebraic(
|
||||
stages[i].nir, io_to_mem || lowered_ngg || i == MESA_SHADER_COMPUTE || i == MESA_SHADER_TASK);
|
||||
NIR_PASS(_, stages[i].nir, nir_lower_alu_width, opt_vectorize_callback, device);
|
||||
|
||||
if (stages[i].nir->info.bit_sizes_int & (8 | 16)) {
|
||||
if (device->physical_device->rad_info.gfx_level >= GFX8) {
|
||||
|
|
Loading…
Reference in New Issue