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 <>
Tested-by: Qiang Yu's avatarQiang Yu <>
Signed-off-by: Vasily Khoruzhick's avatarVasily Khoruzhick <>
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_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