checksum: 6cb8190a2ee4c335291914fbc70a8bb8
gputest/furmark-v2.trace:
gl-radeonsi-stoney:
- checksum: 4ceea12000bb5995b915228d2d4b49c7
+ checksum: cc6344ca8f5348c5e39dafb1b38edd7c
gputest/triangle-v2.trace:
gl-radeonsi-stoney:
checksum: 2d0527e7288a0fc31099404546dadbfb
checksum: 0e7441a7f2c86c75eeac72269786e7a1
gputest/gimark-v2.trace:
gl-radeonsi-stoney:
- checksum: 3e021c1c5f2900e53c3375e0366eeda9
+ checksum: 32d373e5ae6cd241c5a7b286c296113f
gputest/pixmark-julia-fp32-v2.trace:
gl-radeonsi-stoney:
checksum: b5e0ae5ad680d884432f89a923f3e70d
checksum: 2832d2190df232bcbde71a4b720303e1
gputest/tessmark-v2.trace:
gl-radeonsi-stoney:
- checksum: b4bc7998ff804bf25aac9f9609b8acbf
+ checksum: 071c8863793e7adcd95acb054592f819
humus/AmbientAperture-v2.trace:
gl-radeonsi-stoney:
checksum: 679dc88e5f0d3b3608e0490b4b39fbea
result = emit_intrin_1f_param_scalar(&ctx->ac, "llvm.amdgcn.fract",
ac_to_float_type(&ctx->ac, def_type), src[0]);
break;
- case nir_op_fsin:
- result =
- emit_intrin_1f_param(&ctx->ac, "llvm.sin", ac_to_float_type(&ctx->ac, def_type), src[0]);
- break;
- case nir_op_fcos:
- result =
- emit_intrin_1f_param(&ctx->ac, "llvm.cos", ac_to_float_type(&ctx->ac, def_type), src[0]);
- break;
case nir_op_fsin_amd:
case nir_op_fcos_amd:
/* before GFX9, v_sin_f32 and v_cos_f32 had a valid input domain of [-256, +256] */
NIR_PASS_V(nir, si_lower_intrinsics);
+ NIR_PASS_V(nir, ac_nir_lower_sin_cos);
+
NIR_PASS_V(nir, nir_lower_subgroups, &si_nir_subgroups_options);
NIR_PASS_V(nir, nir_lower_discard_or_demote,