Commit 6b46399e authored by Vasily Khoruzhick's avatar Vasily Khoruzhick Committed by Erico Nunes

lima: enable sin and cos lowering for GP

GP doesn't support sin/cos natively, so we have to lower them.
Reviewed-by: Qiang Yu's avatarQiang Yu <yuq825@gmail.com>
Tested-by: Qiang Yu's avatarQiang Yu <yuq825@gmail.com>
Signed-off-by: Vasily Khoruzhick's avatarVasily Khoruzhick <anarsoul@gmail.com>
parent e67e4e90
......@@ -91,6 +91,7 @@ lima_program_optimize_vs_nir(struct nir_shader *s)
NIR_PASS_V(s, lima_nir_lower_uniform_to_scalar);
NIR_PASS_V(s, nir_lower_io_to_scalar,
nir_var_shader_in|nir_var_shader_out);
NIR_PASS_V(s, nir_lower_sincos);
do {
progress = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment