SIGN IN SIGN UP

vulkan: Optimize binary ops (#10270)

Reuse the index calculations across all of src0/src1/dst. Add a shader
variant for when src0/src1 are the same dimensions and additional modulus
for src1 aren't needed. Div/mod are slow, so add "fast" div/mod that
have a fast path when the calculation isn't needed or can be done more
cheaply.
J
Jeff Bolz committed
af148c9386da825a60c7038549c121c35ca56b50
Parent: 66798e4
Committed by GitHub <noreply@github.com> on 11/14/2024, 5:22:55 AM