Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: Optimize rectangular_drop_shadow.shader #17

Open
skeletonbow opened this issue May 31, 2022 · 0 comments
Open

RFE: Optimize rectangular_drop_shadow.shader #17

skeletonbow opened this issue May 31, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@skeletonbow
Copy link
Owner

  • Use float or uint instead of int.
  • Use vectors instead of floats.
  • Use swizzle to reduce code and improve readability.
  • Use mad() fused multiply-add intrinsic instead of discreet math operations.
@skeletonbow skeletonbow added the enhancement New feature or request label May 31, 2022
@skeletonbow skeletonbow changed the title Optimize: rectangular_drop_shadow.shader RFE: Optimize rectangular_drop_shadow.shader May 31, 2022
@skeletonbow skeletonbow added this to the 2.0 Alpha Test Release 1 milestone May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant