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 <yuq825@gmail.com> Tested-by: Qiang Yu <yuq825@gmail.com> Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
This commit is contained in:

committed by
Erico Nunes

parent
e67e4e90b2
commit
6b46399e2f
@@ -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;
|
||||
|
Reference in New Issue
Block a user